[Tex/LaTex] Different versions of \theta

greekletters

When I try to write \theta, the displayed symbol is different from the usual symbol (as shown in figure). It is not closed, rather looks more like \vartheta. How can I get the closed theta symbol?

enter image description here

The document setup is as follows:

\documentclass{elsarticle}
\usepackage[top=1.5in, bottom=1.5in, left=1in, right=1in]{geometry}
\usepackage{float}
\usepackage{enumitem}
\usepackage{amsmath}

\newlist{abbrv}{itemize}{1}
\setlist[abbrv,1]{label=,labelwidth=1in,align=parleft,itemsep=0.1\baselineskip,leftmargin=!}

\usepackage{mdframed}
\usepackage{tabularx}
\usepackage{multicol}
\usepackage{framed}
\usepackage[colorlinks=true]{hyperref}
\usepackage{subcaption}

\journal{Journal of \LaTeX\ Templates}

\usepackage{bm}
%package for checked box and crossed box
\usepackage{wasysym}
\usepackage[LGRgreek]{mathastext}

Best Answer

The answer by Sebastiano uses the teletype font (lmtt) for the theta. There are some alternatives with other font styles.

Use the basic option for mathastext, which causes the package to only influence digits and Latin letters, resulting in the default math theta (but it limits the functionality of mathastext):

\documentclass{elsarticle}
\usepackage{gensymb}
\usepackage[basic]{mathastext}
\begin{document}
$0\degree \leq\theta\leq 180\degree$
\end{document}

math italic theta

Using the symbolgreek option, which uses the Symbol font for Greek:

\documentclass{elsarticle}
\usepackage{gensymb}
\usepackage[symbolgreek]{mathastext}
\begin{document}
$0\degree \leq\theta\leq 180\degree$
\end{document}

symbol theta

Redefining only \theta according to the default LaTeX definition, resulting in the default (math italic) theta (but it does not limit the functionality of mathastext):

\documentclass{elsarticle}
\usepackage{gensymb}
\usepackage[LGRgreek]{mathastext}
\mathchardef\theta="112
\begin{document}
$0\degree \leq\theta\leq 180\degree$
\end{document}

math italic theta

Related Question