{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

227
votes
3answers
402k 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 ...
33
votes
4answers
30k 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 ...
38
votes
3answers
4k 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 ...
30
votes
3answers
11k 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 ...
109
votes
2answers
67k 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 ...
36
votes
5answers
87k 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 ...
21
votes
1answer
992 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 ...
31
votes
4answers
28k 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 ...
39
votes
5answers
7k 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$, ...
18
votes
5answers
21k 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.
45
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 ...
11
votes
2answers
661 views

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

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, ...
14
votes
1answer
618 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
2k 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 ...
11
votes
3answers
2k 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^{-}}} ...
3
votes
1answer
3k views

Italic citation reference for author name using natbib

I'm trying to get italics for the author name within the citation using natbib with agsm style. My MWE: \RequirePackage{filecontents} \begin{filecontents}{\jobname.bib} @BOOK{Smith2011, author = ...
13
votes
4answers
4k 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 ...
10
votes
2answers
15k 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 ...
5
votes
1answer
293 views

XeTeX/mathspec punctuation issue

In a previous question, a solution was given for changing the font of punctuation marks in a math environment when using mathspec. Unfortunately, this solution gives the punctuation marks in italics ...
16
votes
2answers
4k 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{...} ...
18
votes
2answers
8k 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 ...
12
votes
1answer
5k 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: ...
26
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 ...
9
votes
2answers
16k 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

Inconsolata italics?

Please see http://stackoverflow.com/questions/23975828/how-to-specify-non-standard-font-in-fancyvrb-verbatim/ for the start of this discussion. I am using fancyvrb to create a fancy Verbatim ...
13
votes
2answers
4k 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 ...
8
votes
1answer
1k 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 ...
5
votes
1answer
958 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 ...
14
votes
2answers
366 views

Is there any reason not to use \let to redefine a deprecated control sequence to the currently recommended one?

I understand that \bf and \it are both deprecated in the current version of LaTeX. To the best of my knowledge, the correct control sequences replacing them are \bfseries and \itshape. Is there any ...
10
votes
3answers
1k views

Copying italics text from Word to LaTeX

I'm copying text from Microsoft Word and pasting it into my LaTeX editor. I've been manually replacing all instances of italics with \emph{}, but is there a way to do it faster? The process would ...
6
votes
1answer
1k 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 ...
4
votes
1answer
3k 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 ...
3
votes
1answer
515 views

Trigonometric notation with Initial capital Letter and Italic

How can we make First letter Capital while using trigonometric functions. eg: \cos (60^\circ) gives simple cos (all in small). What is needed is 'Cos' (with initial capital). For italics in mactex i ...
51
votes
1answer
19k 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?
29
votes
3answers
23k 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}} ?
24
votes
2answers
1k 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 ...
11
votes
1answer
368 views

How to use fakeslant as slanted but not italic font with fontspec?

Using fontspec with Luatex it is possible to create a fake slant and use that as italic should no italics be around: \setmainfont[ AutoFakeSlant=0.15 ] {FontName} However, also if an ...
11
votes
2answers
440 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 ...
7
votes
2answers
7k 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 ...
5
votes
1answer
4k views

How to perform keyboard shortcuts like Ctrl+I for italics or Ctrl+U for underlining in LyX?

Every time I try to use the aforementioned keyboard shortcuts, LyX says "Command Disabled". How do I activate these shortcuts?
12
votes
3answers
1k views

How to write bold, italic and sans-serif at the same time?

My title is bold and sans-serif right now but two words in the title have to be italic in addition (scientific name of bacterium). Currently I'm using \selectfont to make the whole thing sans serif ...
12
votes
2answers
7k views

Bibtex - Make Title italic, Rest Upright

Is it possible to change the behaviour/settings of bibtex so that the title (of a book, article, paper, thesis, etc.) is always italic and everyhing else (e.g. author, journal, edition, etc.) is ...
10
votes
1answer
828 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
3answers
271 views

Draw italic box as a placeholder (around a single letter) in a word

I am comparing a lot of different cases that are all following a predefined naming scheme. I would now like to replace one of the character in the name with a box to indicate that this parameter is ...
6
votes
1answer
392 views

Is there a way to make all my \gls{} links italic

I'm using the glossaries package to define a glossary. However, I would like all \gls{} references to appear in italic. Is there any way to do this without adding \it everywhere?
5
votes
1answer
232 views

Define certain letter in math-mode to be always non-italic

Imagine I have a 500 page book about complex numbers. But I always wrote just j in math-mode as the imaginary unit. But I should have written \mathrm{j}. Is there a command I could write into my ...
4
votes
2answers
508 views

make math symbol italic

I must admit that I don't really know my way around LaTeX, pretty much at all. Anyway, here's my problem: I want to include the symbols \flat and \sharp in my text. Unfortunately I only receive ...
4
votes
1answer
1k views

How can I set uppercase greek letters as italic in math mode by default?

This is a follow up question to here. The recommended solution doesn't work for me. I therefore let all my mathematical packages in the MWE. The result is an upright Psi followed by an italic Psi. I ...
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 ...
8
votes
1answer
957 views

Non-italic \emph, italic biblatex titles

The internal Biblatex \mkbibemph macro defaults to being an alias for \emph (see section 4.10.4 Auxiliary Commands and Hooks in its documentation). It is used with \DeclareFieldFormat to typeset ...