{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

2
votes
1answer
385 views

Latex Listing Format Error

I'm having some difficulty with getting the listings package to properly format code snippets. In particular, it does not consistently bold keywords and italicize comments. The code I am currently ...
7
votes
2answers
5k 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 ...
29
votes
5answers
50k 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 ...
7
votes
3answers
377 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) ?
23
votes
3answers
19k 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 ...
9
votes
2answers
11k 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 ...
7
votes
2answers
1k 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 ...
1
vote
1answer
3k views

How to temporarily remove the formatting in a definition environment?

I have a definition, written as follows: \begin{definition} This is a definition, in which I would like to have a few normal words. \end{definition} Ordinarily, the entire definition is rendered in ...
33
votes
4answers
5k 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$, ...
11
votes
2answers
3k 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 ...
12
votes
2answers
5k 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 ...
9
votes
1answer
3k 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{...} ...
5
votes
4answers
1k 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 ...
21
votes
1answer
883 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 ...
16
votes
5answers
15k 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
728 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 ...
2
votes
2answers
525 views

\emph yields bold-italic using the package “libertine”

How can I make \emph use italics again after loading the package libertine? I suspect that this may be a bug in the font itself. I tried reinstalling the font and upgrading it onto the most recent ...
2
votes
1answer
664 views

How to put the text and symbols “Italic” quickly?

The following is my original texts. \textbf{The Interior Dirichlet Problem:} Given $f\in C(S)$, find $u\in C(\overline{\Omega})$ such that $u$ is harmonic on $\Omega$ and $u=f$ on $S$. Instead of ...
5
votes
2answers
611 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 ...
3
votes
3answers
540 views

Italic letters are too loose in math mode

I want to type something like this page http://caml.inria.fr/pub/docs/manual-ocaml/expr.html. So I need to use \begin{align*} and \end{align*} which displays its contents math mode. Therefore italic ...
4
votes
1answer
769 views

blackboard italic font

I would like to make \mathbb{E} italic, i have tried \mathit{\mathbb{E}} and \mathbb{\mathit{E}}, both of them look like \mathbb{E}, I can not see the italic effect. Could anyone help? By the way, I ...
3
votes
1answer
392 views

Overlaying caron and a vowel in boldface and italic styles

I found that a lovely typeface I wanted to use did not contain the graphs ǎ ě ǐ ǒ ǔ ǚ, which I need for Pinyin romanization in text mode. Discussion below takes ǎ as the example. Using the graph ǎ ...
4
votes
1answer
852 views

Can XeLaTeX generate bold and italic font styles for typefaces that lack them?

I use XeLaTeX in order to have easy access to fonts installed on my operating system, and Chinese in particular. Some of the Latin typefaces most pleasing to my eye do not have bold or italic font ...
2
votes
1answer
1k views

\eqref in italic math environnment

When using the amsthm package with the \eqref command, things may not be correct. When the main font of a theorem is italic, the \eqref is non-italic while \ref is italic. Please, see the provided ...
23
votes
4answers
13k 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 ...
40
votes
5answers
3k 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 ...
4
votes
1answer
2k views

TeXlipse hotkeys for bold, italic, underlined

Are there any hotkeys to make a text bold or italic in TeXlipse plug-in? It is tiresome to type \textbf{} and \textit{} each time I need to emphasize some word. Most of other TeX-editors support ...
6
votes
2answers
5k views

How do I change the math italic font in XeTeX/fontspec?

I have a document where the main font is Gotham Book. So in my preamble I have: \usepackage{fontspec} \setmainfont{Gotham Book} As the fontspec manual describes, this sets the math roman font to ...
24
votes
3answers
1k 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 ...
6
votes
3answers
19k views

Bold and italic in subsection

In the following documentclass \documentclass[prb,twocolumn,showpacs]{revtex4} how to have italic and bold in a subsection title? The italic command removes the boldness when inside a subsection, ...
7
votes
2answers
9k 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 ...
11
votes
2answers
2k 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 ...
27
votes
3answers
8k 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 ...
7
votes
1answer
512 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 ...
33
votes
3answers
3k 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 ...
89
votes
2answers
47k 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 ...