I used the following code to finally get Verdana font in pdf-Latex. But it has Serifs. How do I make it 'Sans Serifs' ?
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
...
begin{document}
\fontfamily{verdana}\selectfont
I used the following code to finally get Verdana font in pdf-Latex. But it has Serifs. How do I make it 'Sans Serifs' ?
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
...
begin{document}
\fontfamily{verdana}\selectfont
The verdana support for pdflatex (in the winfonts package) is broken (see e.g. https://tex.stackexchange.com/a/339269/2388). So if you want to use verdana, use xelatex or lualatex.
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Verdana}
\begin{document}
Verdana
\end{document}
This is an alternative way to use Verdana (or in fact an equally looking replacement) without serifs in latex.
\usepackage{DejaVuSans}
\renewcommand*\familydefault{\sfdefault}
verdanafont like this. The log says:LaTeX Font Warning: Font shapeT1/verdana/m/n' undefined (Font) usingT1/cmr/m/n' instead on input line 5.. – Alan Munn Apr 10 '20 at 14:41fontspecand use the system version of the font. See Verdana and Cambria Font – Alan Munn Apr 10 '20 at 14:43