Created
June 13, 2012 10:22
-
-
Save concHNO3/2923266 to your computer and use it in GitHub Desktop.
Set Helvetica Font in Text and Math in LaTeX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% Set Helvetica Font in Text and Math in LaTeX % | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\renewcommand{\familydefault}{\sfdefault} | |
\usepackage[scaled=1]{helvet} | |
\usepackage[helvet]{sfmath} | |
\everymath={\sf} |
Such a dearie. Thanks.
So helpful! Thank you!!! I was trying to figure out how to install latex fonts to use with font-spec before I found your post.
¡Muchas gracias! ¡¡Me ha servido muchísimo!!
+1. Worked for me in Matplotlib+LaTeX. Thanks for sharing!!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This gist helped me a lot. I didn't know what I was doing wrong til' I found your code. Thanks!