How would you increase the size of the following glyph?
\documentclass{article}
\usepackage{ifthen}
\font\myfont = "Wingdings"
\begin{document}%
\raggedright
\myfont\XeTeXglyph190
\end{document}
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityHow would you increase the size of the following glyph?
\documentclass{article}
\usepackage{ifthen}
\font\myfont = "Wingdings"
\begin{document}%
\raggedright
\myfont\XeTeXglyph190
\end{document}
As David Carlisle says in the comments, don't use TeX font loading commands in LaTeX. Load the font properly using LaTeX commands and everything works as you expect. It's helpful to define a \text...{...}
command for fonts declared with \newfontfamily
. I've shown how to do that too.
\documentclass{article}
\usepackage{fontspec}
\newfontfamily\myfont{Wingdings}
\DeclareTextFontCommand{\textwing}{\myfont}
\begin{document}%
\raggedright
{\footnotesize\textwing{\XeTeXglyph190}}
{\textwing{\XeTeXglyph190}}
{\large\textwing{\XeTeXglyph190}}
{\Large\textwing{\XeTeXglyph190}}
{\huge\textwing{\XeTeXglyph190}}
{\Huge\textwing{\XeTeXglyph190}}
\end{document}
\newfontface
, unless Wingdings has alternate shapes. One can also say \newfontface{\myfont}{Wingdings}[Scale=2]
if the glyphs are to be magnified at every point of usage.
– egreg
Aug 12 '17 at 9:07
\font\myfont = "Wingdings" at 20pt
. – Akira Kakuto Aug 11 '17 at 23:18\font
primitive then latex size commands such as\large
or\fontsize{..}{..}
would work. – David Carlisle Aug 12 '17 at 0:14