Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

\textit doesn't work in a LaTeX template for a thesis in English. Now I am writing my thesis in Russian using the same template. MWE:

\documentclass{article}      
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}
\usepackage{mathptmx}
\begin{document}
оценка эвапотранспирации тростника обыкновенного
\textit{(Phragmites Australis)}
\end{document}

output

share|improve this question

1 Answer 1

up vote 4 down vote accepted

While I have no idea where your problem comes from and I’ve never needed to typeset Russian, replacing mathptmx with newtxmath seems to fix it. The tag wiki gave me the idea, and while I usually don’t typeset math (and if I did, I wouldn’t use Times), newtxmath seems to be intended as a successor for mathptmx.

\documentclass{article}      
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}
\usepackage{newtxmath}
\begin{document}
оценка эвапотранспирации тростника обыкновенного
\textit{(Phragmites Australis)}
\end{document}

output

P.S.: This also works with the configuration of your initial MWE.

P.P.S.: Someone more knowledgable in these kinds of font issues might be able to give you a solution without switching packages.

share|improve this answer
    
No, it doesn't work for me :( Can it be bacause of my documentclass is not article, it is thesis? –  Sasha Jan 27 '13 at 7:40
    
@Sasha If I replace article with thesis (all lowercase) in my code, it still works. Is the thesis class you’re using a custom class? Or do you get any error messages if you compile my code? MWE stands for Minimal Working Example and basically means the least amount of code necessary to reproduce a problem. For some more information, see I've just been asked to write a minimal example, what is that?. –  doncherry Jan 27 '13 at 7:46
    
Sorry I forgot to tell. Yes, when I compile your code I have error message: newtxmath.sty not found. I guess the thesis class is a custom class. I can give a link to the template I am using. –  Sasha Jan 27 '13 at 7:52
    
@Sasha Actually these two factors are not related, so it doesn’t have to be custom. Do you know how to install a package in your LaTeX distribution? If yes, install newtxmath. If not, do you use MiKTeX or TeX Live (on which operating system) or something else? –  doncherry Jan 27 '13 at 7:54
1  
@Sasha Ah, that package might not even be available for TeX Live 2009, I’m not sure. If possible, I’d recommend uninstalling TL 2009 and installing TL 2012. If you do the full install, newtxmath should work right away. –  doncherry Jan 27 '13 at 8:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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