kks32 / phd-thesis-template

A LaTeX / XeLaTeX / LuaLaTeX PhD thesis template for Cambridge University Engineering Department (CUED)
http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/
MIT License
820 stars 392 forks source link

Math mode and greek letters are not bold in text (found place in class which causes it, but removing it might have secondary effect) #236

Open TorkelE opened 2 years ago

TorkelE commented 2 years ago

Basically, I am unable to get bold text in titles or when using \textbf{} when the characters are greek letters or math mode stuff.

A mwe: I replace the "thesis.text" file with:

\documentclass[times]{Classes/PhDThesisPSnPDF}
\usepackage{textgreek}

\begin{document}

\section*{Title with $2$ and 2 and \textsigma{} and $\tau$}
Non bold \textsigma{} \textbf{and bold \textsigma{}}\\
Non bold $\tau$ \textbf{and bold \texttau{}\\}
Non bold $2$ \textbf{and bold 2\\}

\end{document}

and the output becomes: image

If I got into the "Classes/PhDThesisPSnPDF.cls" file, and find this section: image and comment out the 44th line: image Then I can restore the bold characters: image (well, not all those in the title, but I got a part there) But the font get changed a bit.

I am not very good (at all) with LaTeX structure, but maybe this can help with figuring out what is going on, and how to fix it?