[Tex/LaTex] Using Greek symbols in section title


How can I use Greek symbols as a part of section? For example, how may I create a section 'k-epsilon Turbulence Model'?

Best Answer

Actually, there is nothing special when you want to put a Greek letter in a section name. Simply write in the way you would have written at other places, using math mode.

(See the end of the answer regarding a notable exception when you use the hyperref package.)



\section{$k$-$\epsilon$ Turbulence Model}


enter image description here

Elaborating the above point a little, just remember that you can write in math mode anywhere you like just the way you write in normal text.

If you want to add some Greek letters in figure captions, there is nothing special, write it in the above way. In a footnote? No special way. In your paper title? Again, no special way.

In the above solution, I assumed that the - between k and epsilon is a hyphen. If it means a minus sign, please write it as $k-\epsilon$. As a matter of fact, you are in the best position to tell which you actually meant.

In addition to the general comments, if you are using the package hyperref, you will face the warning,

Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):

in the above case. Under this scenario, you will need to change the usage to,

\section{\texorpdfstring{$k$-$\epsilon$}{k-e} Turbulence Model}.

Do not forget that \texorpdfstring requires two arguments. The second argument will be used for the pdf section name, while the first argument will be displayed with (La)TeX. Please see this for details.