Text Formatting ⇒ Why all text is in italic
Why all text is in italic
can anyone help me with the following (I'm relatively new to LateX) :
I'm writing my thesis as a 'book' document class but all my text is displayed in Italic. I have no clue why this is happening... I used the same preamble as another document I made in LateX, where I didn't have that problem.
Kind regards,
Eva
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Help: all my text is in italic...
http://www.latex-community.org/forum/vi ... =37&t=7878
Try methodically commenting out packages and recompiling to find what causes the problem.
Re: Help: all my text is in italic...
I also tried systematically leaving things out and recompiling, as you suggested. But nothing really seems to help.
Eva
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Why all text is in italic
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Why all text is in italic
This was a good question as I experienced something very similar. I guess it is a common problem when you are just starting to use Latex.
In my case, I had a mistake when I wrongly italized a one sigle word within the text in the first inputed file 'Abstract', which made that any further text in following inputed files(Chapter1, Chapter2 and Chapter3) were entirely italized.
I firstly used the wrong version:
Code: Select all
\it {HOLA} Code: Select all
{\it HOLA} Code: Select all
\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage{hyperref}
\begin{document}
\input{title}
\input{abstract}
\input{Chapter1}
\input{Chapter2}
\input{Chapter3}
\bibliography{citation.bib}
\bibliographystyle{acm}
\end{document}
- Ijon Tichy
- Posts: 640
- Joined: Mon Dec 24, 2018 10:12 am
Why all text is in italic
\it is deprecated (and not provided by the LaTeX kernel but only some classes). You should use \textit, that does not have such problems, because it really has an argument. It you need a switch instead, you should use \itshape. See the
fntguide for more information about NFSS and the recommended font selection commands.BTW: From LaTeX 2018/04/01
\usepackage[utf8]{inputenc} is also not needed anymore.