{italic} is specifically about making document elements italic (or removing this font attribute). For questions about {italic-correction}, use the tag of the same name. For general questions about formatting document elements, use {formatting} instead.

learn more… | top users | synonyms

53
votes
2answers
14k views

\emph or \textit

In the comments section of Does it matter if I use \textit or \it, I asked for a clarification of these points. The clarification has mostly been made, but it was requested that I turn this into a ...
51
votes
3answers
54k views

“Correct” way to bold/italicize text?

Is either of these considered better/more readable/more "proper"/more conventional than the other for making text bold? If so, what is the reason? I like my text \textbf{bold} versus: I like my ...
36
votes
5answers
1k views

Upright parentheses in italic text

This question led to a new package: embrac Bringhurst, in Elements of Typographic Style, recommends to use upright parentheses in italic text (i.e., write 'a (simple) example' as opposed to 'a ...
27
votes
3answers
2k views

Bad spacing of math letters within italic text

I use the standard AMS theorem style, which means that my theorems are set in italic. In combination with math variables, this sometimes gives horrible spacing: The input If $U$ or $V$ \dots yields ...
26
votes
1answer
2k views

What is the difference between italics and slanted text?

As I understand, LaTeX supports both via \textit and \textsl respectively, but what is the difference between the two?
24
votes
4answers
2k views

Should subscripts in math mode be upright?

In one-letter subscripts, like $x_i$, the subscript is usually typeset italic. Is this the typographically right thing to do? Consider this case: The Boltzmann constant is often written as $k_B$, ...
24
votes
3answers
789 views

Can I get full justification for italic text?

In the TeXbook, Knuth notes that italics can lead to problems with justification: EXERCISE 14.16 When an entire paragraph is typeset in italic or slanted type, it sometimes appears to be offset ...
24
votes
2answers
532 views

Italics emphasis and punctuation [duplicate]

Possible Duplicate: Should I include punctuation marks in \emph, or should I place those marks after the command? When emphasizing the last part of a sentence by making it italic, is it ...
18
votes
3answers
3k views

Is there a difference between \textit and \itshape?

I have only ever used \textit (and \emph for emphasized text), but have noticed that in some TeX examples, \itshape is used instead of \textit. Is there a difference between \textit and \itshape? If ...
15
votes
3answers
275 views

German-style quotation marks too close to italics letters and mathpazo font package

When I type an text in italic with the Palladio font the German quotation marks are (far) too close to the letters. The problem does not occur with English quotation marks. Is there any solution or ...
14
votes
2answers
3k views

standard order for bold+italic?

It's a small, small matter, but when something has to be made both bold and italic, is there any reason to prefer \textbf{\textit{text}} over \textit{\textbf{text}} ?
14
votes
2answers
209 views

Creating my first command

I want to create a command that will format code in a certain way. In this case I want code to be italic and red. So instead of doing \textcolor{red}{\textit code} I want to make a function, if you ...
12
votes
2answers
3k views

Bold italic vectors

I am trying to display vectors as bold and italic. The command \mathbf sets the letters non-italic. I also googled a bit and stumbled upon \mathbf{\em y} or \mathbfit{y}, which all didn't work. I ...
12
votes
1answer
182 views

How to get upright parentheses in the whole document?

My question is, basically, the same as the one in Upright parentheses in italic text: how do I force all parentheses in my document to be upright, without replacing them with some commands "by hand"? ...
11
votes
2answers
947 views

Is it possible to italicize journal names and book titles through the .bst file?

I am working on an article for a Springer journal, and the specifications for manuscripts clearly ask to italicize all journal names and book titles. Doing it manually feels stupid, so I wonder if ...
10
votes
3answers
5k views

Non italic text in theorems, definitions, examples

What package should I use, or what setting can I make to the font in theorems so that the text wouldn't be italic. I use amsmath, and from default, everything I write in theorem environments becomes ...
10
votes
5answers
5k views

Using bold/italic text inside listings?

How can I use bold text inside a code listing? I wanted to make some parts of the code bold.
10
votes
1answer
125 views

Partial italic text in PDF bookmarks

In my LaTeX file I've got some chapter titles with partial italicised text. With the hyperref package, I get the required bookmarks, etc. but the style for these partial italicised text disappears. ...
10
votes
2answers
196 views

Bar-less “f” and finetuning existing characters

Specific question I would like to produce an italic f without the crossbar. Can I do this relatively straightforwardly? This letter, esh (ʃ), is Unicode U+01A9, U+0283. The esh of tipa.sty only ...
9
votes
3answers
9k views

Is there a way to set math mode font non-italic?

I read many things about people wanting math mode in sans-serif font and doing crazy things with packages and options to get that, but I did not find anything that would simply make my math mode font ...
9
votes
1answer
998 views

Italic in theorem environment

Consider the following theorem: \begin{theorem} If $x=0$, then $xy$ is equal to 0. \end{theorem} The first "0" will be typeset in upright typeface and the second one in italic. Including amsthm ...
9
votes
1answer
140 views

How to deal with it/sl/bold in lmtt?

I just stumbled upon the fact that the font lmtt (latin modern typewriter) seems to exist in italic slanted bold bold slanted but not bold italic At least the file t1lmtt.fd contains the ...
8
votes
2answers
1k views

Specify different fonts for bold and italic with fontspec

The main font I use for my LuaLaTeX document lacks bold and italic variants. I'd like to specify a different font for those variants using the fontspec package. Initially what I had in my preamble ...
8
votes
2answers
751 views

Define particle names to use upright greek letters in math mode

Currently I have my electron neutrino & beta particle marco defined as \newcommand{\eneutrino}{\ensuremath{\nu_e}} \newcommand{\belectron}{\ensuremath{\beta^{-}}} ...
8
votes
1answer
269 views

Language sensitive italicized quotation with csquotes

In what follows: \documentclass[fontsize=11pt]{book} \usepackage{microtype} \usepackage{times} \usepackage{csquotes} \usepackage[frenchb]{babel} \frenchbsetup{IndentFirst=false} \begin{document} text ...
8
votes
2answers
3k views

Bold, italic math (\bm) and sansmath

I'm typesetting both text and math in Latin Modern, except for the figures, where I would like to use a sans serif font for both text and math. I need to follow the ISO recommendations for math ...
8
votes
2answers
147 views

How can I fix a problem where italics prevent line breaking when using microtype?

I wish to use protrusion and expansion from microtype as I like the look you get with them. I use amsthm and typeset theorems in italic as usual (with \theoremstyle{plain}). With microtype enabled, ...
8
votes
1answer
430 views

Italic index entries have no link in PDF

I have a problem when adding index entries. When I use just the vanilla \index{...}, the generated PDF contains links on the page numbers in the index. But when using \index{...|textit} to mark index ...
7
votes
2answers
2k views

Should Greek letters inserted in text (using math mode, mostly) always be italic?

The least painful way I know of inserting a Greek letter in a text is to use the math mode and the corresponding command. This will produce an alpha letter : $\alpha$ But this always produces an ...
7
votes
3answers
298 views

dot's shape of the italic abbreviation words

I want to write thief (pl. thieves) Which is correct, the \textbf{thief} (\textit{pl.} thieves) or the \textbf{thief} (\textit{pl}. thieves) ?
7
votes
2answers
577 views

verbatim text inside italic block

I am trying the following: \begin{frame}[fragile]{OCP en Exceptions} ``If you throw a checked exception from a method in your code and the \verb!catch! is three levels above, \textit{you must declare ...
7
votes
2answers
351 views

Greek letters in italic in math equation

I use \Pi and \Sigma in my math equations however, they are not printed in italic like other text. I guess this is because they are symbols and not really text. Putting \textit into the equation has ...
7
votes
1answer
429 views

fontinst and italic small caps

I have a font that is distributed with italic small caps. I'd like to use these with fontinst. Does the current release of fontinst support italic small caps, and if so, what Karl Berry name should I ...
6
votes
3answers
261 views

Incorrect font for ligated glyphs, bold-italics combination, Libertine font

Would appreciate your help with the following code: \begin{definition} The \textbf{confidence interval (CI)} for ... \end{definition} The problem is that the letters "fi" within the word ...
6
votes
2answers
362 views

How do I italicise individual words within \scshape

I am currently using mathpazo for the font for my thesis. I want to use smallcaps for my section headings (as you can see in the MWE I have set \allsectionsfont to \scshape. The problem is that I have ...
6
votes
2answers
1k views

How to get non-italic acute accent in math mode?

$\acute{e}$ makes an italic e with accent in math mode, how can I get the acute accent with a regular letter? I should mention that this is for annotating a plot with matplotlib, so common tricks in ...
6
votes
1answer
548 views

Italicizing an Author in Biblatex

I would like to italicize the presenting author's name for conference papers in my bibliography. I am using biblatex and I don't know how to do it. (I also don't know how to do it with bibtex.) I ...
6
votes
1answer
121 views

Is testing f@shape considered best practice method for reliably detecting italic and slant modes?

Subject says it all. Is testing f@shape the cleanest, clearest, simplest, most reliable way to check for italic and slant modes? e.g.: \ifthenelse{\equal{\f@shape}{sl}}{italic}{not italic} ...
6
votes
1answer
395 views

LuaLaTeX protrusion problem with Negative value

Please see the following screen shots. As you can see there are two "overfull" hbox there. However, LaTeX does not produced any overfull box warning at all. I tried to produce a minimal working ...
6
votes
1answer
471 views

Bold , italic (and sans-serif) math symbols

I would like to implement the suggestions in the TUGboat 30:3, 2009 about the upright/italic and bold/normal in scalars, vectors and tensors. All this is about math. I use this font: ...
6
votes
1answer
1k views

using \textit in \section{} with beamer class

For a presentation using the beamer class (MiKTeX 2.8 with TeXnicCenter on Windows Vista) I need to have the italicized title of a book in a section heading. When I use \textit{...} or \emph{...} ...
6
votes
0answers
197 views

How to display italics with lmodern package [closed]

When I use the lmodern package, I cannot get italics to display. Here is an example: \listfiles % added to get in the log the package versions \documentclass{article} \usepackage{lmodern} ...
5
votes
2answers
226 views

Why doesn't my italics work?

Why doesn't my XeLaTeX document turn this word into italics? I simply can't figure it out. \documentclass[12pt,letterpaper]{article} \usepackage{ifpdf} \usepackage{mla} \usepackage[T2A]{fontenc} ...
5
votes
2answers
220 views

Can I set it so that math mode has uppercase letters not italicized?

Is there a way to set it so that math mode automatically stops italicizing upper-case letters? That is, so that $U$ produces the effect of what is now $\mathrm{U}$? I am using computer modern. I am ...
5
votes
1answer
1k views

Italic shape needed in small caps fonts

I am using MiKTeX 2.5 version. Is there any possibility to change the small caps fonts in italic shape? I had tried as like below \textit{\textsf{Small Caps}}% This will gives the Regular Small ...
5
votes
4answers
524 views

Verse environment won't set in italics

Could someone please help me fix the following problem? I want to typeset an indented paragraph in italics. Using the verse package, the paragraph typesets without a problem, but when I try to add ...
5
votes
2answers
398 views

Palatino italics relatively small in body text?

I'm using Palatino (\usepackage[sc]{mathpazo}) as the main font for my thesis, and it occurred to me that italic (and possibly also bold) body texts are somewhat smaller than the ...
5
votes
2answers
542 views

Bold italic math with unicode-math

How can I get the output I get without unicode-math using unicode-math, preferably (not necessarily) using the same code (\boldmath)? I would like the solution to work with at least the XITS and Latin ...
4
votes
2answers
516 views

Why using \mathrm still gives italic text?

I'm writing an equation using the displaymath environment, and I'd like to have the units in non-italic. So I use \mathrm{}, and I write this: \begin{displaymath} P_{AVG}=19.5 + \frac{2180}{5 \cdot ...
4
votes
2answers
296 views

Italic in ConTeXt

What is the equivalent of the LaTeX-code \textit{} in ConTeX? It sets the text in the brackets italic. There is \it but I am searching for something like \startit...\stopit.

1 2