1

This question already has an answer here:

How to type theta as shown below?enter image description here

Hope image is clear

marked as duplicate by Henri Menke, Stefan Pinnow, user121799, Raaja, dexteritas May 13 at 8:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Are you asking about how to type the character not in italic? See here. – jGaboardi May 13 at 0:46
2

In unicode-math, this is \muptheta. There are also \mupvartheta, \mupTheta, etc. This has the advantage of matching your math font, which upgreek will not unless you stick to Computer Modern. \symup{\theta} or \uptheta also work.

\documentclass[varwidth]{standalone}
\usepackage{unicode-math}

\begin{document}
\( \cot^2 \uptheta \)
\end{document}

enter image description here

The unicode-math package switches your documents to Unicode fonts and requires LuaLaTeX or XeLaTeX to compile. If you need a PDFLaTeX-compatible document, If you are using a font package, see if it has options to select upright or slanted Greek, or if it supports a \mathrm Greek alphabet. isomath has a command to select upright Greek math alphabets. The Euler font, and in particular the eulerpx, also provide upright Greek.

0

You can use the upgreek package. See example below.

\documentclass{article}
\usepackage{upgreek}
\begin{document}
cot\textsuperscript{2} \uptheta
\end{document}

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.