Fonts & Character SetsChange Math Font

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

Change Math Font

Post by Singularity »

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.

Code: Select all

\documentclass[14pt,fleqn,reqno]{extarticle}
%fleqn: left align equations		
%reqno: equation numbers on right


\usepackage{amsfonts,amsmath,amssymb,amsthm,mathtools,commath}
\usepackage[margin=1in%,top=0.5in
]{geometry}
%\usepackage[document]{ragged2e}   % To get ragged right side, causes display problems in Adobe DC. Causes latex warning about arrayparboxrestore.
\usepackage{color,bm,nicefrac,cancel}
\usepackage{grffile}     % Sometimes allows for multi-period file names.

%\usepackage{enumerate}     % Easy modifications of enumerate, etc.
\usepackage[inline]{enumitem}			 % More powerful modifications of enumerate, etc.
\setlist{topsep=0pt,itemsep=0pt,
  parsep=1\parsep}
%\setlist[enumerate]{label=\textbf{\alph*}.}
\usepackage{outlines}				% More flexible hierarchical outlines
\usepackage{url}				% for nicer formatted URLs

\usepackage{nicefrac}		% \nicefrac
\usepackage{cancel}	    % for canceling terms in equations.
\usepackage{setspace}   % Stretch spaces between lines in an equation with \setstretch{}

\usepackage{framed}
\usepackage{array}					% Provides for a more flexible array and tabular environment
\usepackage{booktabs}				% For fancy stuff in arrays and tables. Like the following column definitions
\newcolumntype{L}{>{\begin{math}}l<{\end{math}}}
\newcolumntype{C}{>{\begin{math}}c<{\end{math}}}
\newcolumntype{R}{>{\begin{math}}r<{\end{math}}}
\usepackage{multicol,multirow}

\allowdisplaybreaks[1]    % (amsmath) Allows LaTeX to insert page breaks in multiline equations.
\everymath{\displaystyle}    % Has been anti-recommended
\setlength{\parindent}{0pt}
\setlength{\parskip}{\baselineskip}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{}
\cfoot{\tiny\copyright\ jeff}
\cfoot{\tiny\copyright\ jeff}
\rfoot{\scriptsize \thepage\ of \pageref{LastPage}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}



\begin{document}

This is a math ``you'' $u$. \\
This is a math ``vee'' $v$.

This is a bold math ``you'' $\bm u$. \\
This is a bold math ``vee'' $\bm v$.

\end{document}
Attachments
TopMatter.tex
(4 KiB) Downloaded 382 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Change Math Font

Post by Stefan Kottwitz »

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
LaTeX.org admin
Post Reply