LaTeX forum ⇒ Fonts & Character SetsChange Math Font

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Singularity
Posts: 155
Joined: Sat Jan 22, 2011 9:55 pm

Change Math Font

Postby Singularity » Thu Jun 20, 2019 6:31 pm

I need to change the math font in my documents. The letters 'u' and 'v' look very similar (rounded bottom) in the font I'm using, which is whatever the default in my setup is. I need a font with pointy "vees". When the documents display in a classroom, the 'u' and 'v' look too similar.

I have a long (and convoluted) top matter file which I cobbled together from the web (incl. this site -- thanks), but I haven't actually learned Latex. So I need a fairly easy and direct method to do so. There were some complicated discussions I found, but could not make any work.

I am using (for now) TeXnicCenter and using the LaTeX ==> PDF output profile. If I change that setting to anything else, all my documents blow up.

Any advice (possibly including "maybe it's time you learned it already you lazy bastard")?

Here's a kind-of-minimum-WE (for whatever it's worth). I would not post a request like this except I can't figure it out and my students have made several comments about the font.

  1. \documentclass[14pt,fleqn,reqno]{extarticle}
  2. %fleqn: left align equations
  3. %reqno: equation numbers on right
  4.  
  5.  
  6. \usepackage{amsfonts,amsmath,amssymb,amsthm,mathtools,commath}
  7. \usepackage[margin=1in%,top=0.5in
  8. ]{geometry}
  9. %\usepackage[document]{ragged2e} % To get ragged right side, causes display problems in Adobe DC. Causes latex warning about arrayparboxrestore.
  10. \usepackage{color,bm,nicefrac,cancel}
  11. \usepackage{grffile} % Sometimes allows for multi-period file names.
  12.  
  13. %\usepackage{enumerate} % Easy modifications of enumerate, etc.
  14. \usepackage[inline]{enumitem} % More powerful modifications of enumerate, etc.
  15. \setlist{topsep=0pt,itemsep=0pt,
  16. parsep=1\parsep}
  17. %\setlist[enumerate]{label=\textbf{\alph*}.}
  18. \usepackage{outlines} % More flexible hierarchical outlines
  19. \usepackage{url} % for nicer formatted URLs
  20.  
  21. \usepackage{nicefrac} % \nicefrac
  22. \usepackage{cancel} % for canceling terms in equations.
  23. \usepackage{setspace} % Stretch spaces between lines in an equation with \setstretch{}
  24.  
  25. \usepackage{framed}
  26. \usepackage{array} % Provides for a more flexible array and tabular environment
  27. \usepackage{booktabs} % For fancy stuff in arrays and tables. Like the following column definitions
  28. \newcolumntype{L}{>{\begin{math}}l<{\end{math}}}
  29. \newcolumntype{C}{>{\begin{math}}c<{\end{math}}}
  30. \newcolumntype{R}{>{\begin{math}}r<{\end{math}}}
  31. \usepackage{multicol,multirow}
  32.  
  33. \allowdisplaybreaks[1] % (amsmath) Allows LaTeX to insert page breaks in multiline equations.
  34. \everymath{\displaystyle} % Has been anti-recommended
  35. \setlength{\parindent}{0pt}
  36. \setlength{\parskip}{\baselineskip}
  37.  
  38. \usepackage{fancyhdr}
  39. \pagestyle{fancy}
  40. \lhead{}
  41. \chead{}
  42. \rhead{}
  43. \cfoot{\tiny\copyright\ jeff}
  44. \cfoot{\tiny\copyright\ jeff}
  45. \rfoot{\scriptsize \thepage\ of \pageref{LastPage}}
  46. \renewcommand{\headrulewidth}{0pt}
  47. \renewcommand{\footrulewidth}{0pt}
  48.  
  49.  
  50.  
  51. \begin{document}
  52.  
  53. This is a math ``you'' $u$. \\
  54. This is a math ``vee'' $v$.
  55.  
  56. This is a bold math ``you'' $\bm u$. \\
  57. This is a bold math ``vee'' $\bm v$.
  58.  
  59. \end{document}
Attachments
TopMatter.tex
(4 KiB) Downloaded 31 times

User avatar
Stefan Kottwitz
Site Admin
Posts: 9440
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Thu Jun 20, 2019 7:38 pm

Hi!

Some examples. Very different v and u:

\usepackage{mathpazo}

Pretty much different:

\usepackage{newtxtext}
\usepackage{newtxmath}


Also a bit different:

\usepackage{kpfonts}

Try one of those, but not mix several at the same time.

Stefan
Site admin


Return to “Fonts & Character Sets”

Who is online

Users browsing this forum: No registered users and 0 guests