{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
555 views

How to make a slanted vertical bar?

I'm stumped on this. I would like to make a slanted (and italic) vertical bar in the middle of some regular text. If I use $|$, it comes out literally vertical regardless of style, since it's a math ...
6
votes
1answer
141 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} ...
11
votes
3answers
1k 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^{-}}} ...
4
votes
2answers
561 views

KOMA-Script: “bad” italic in page header

Because of trouble with upright Greek characters, I decided to switch from latin modern to Bitstream Charter (even though I don't really like it). It seems that together with the mathdesign package, ...
114
votes
3answers
224k 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 ...
2
votes
1answer
308 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 ...
6
votes
2answers
3k 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 ...
20
votes
5answers
26k 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
340 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) ?
14
votes
3answers
11k 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
7k 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
864 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
2k 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 ...
28
votes
4answers
3k 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$, ...
9
votes
2answers
2k 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 ...
11
votes
2answers
3k 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
1answer
2k 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
881 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 ...
16
votes
1answer
660 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 ...
13
votes
5answers
9k 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.
9
votes
1answer
576 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
482 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
522 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
497 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
511 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
580 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
326 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
775 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
803 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 ...
18
votes
3answers
6k 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 ...
38
votes
5answers
2k 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 ...
3
votes
1answer
1k 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 ...
5
votes
2answers
4k 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
905 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
16k 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
6k 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
1k 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 ...
23
votes
3answers
6k 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
495 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 ...
31
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 ...
71
votes
2answers
30k 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 ...