Questions tagged [italic]
{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.
524
questions
0
votes
0
answers
40
views
Why are my text in italic?
I'm not entirely sure why my text are in italic in Question 3. Would appreciate any advice on this.
\documentclass[12pt]{article}
% Libraries.
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{...
3
votes
2
answers
199
views
Italicizing a Lettrine on an Ad Hoc Basis
Consider the code:
\documentclass[12pt]{book}
\usepackage{lettrine,xcolor}
\renewcommand{\LettrineFontHook}{\color{red}{}} % for the initial argument.
\renewcommand{\LettrineTextFont}{\scshape} % for ...
3
votes
1
answer
94
views
Whole PDF in Italics and Boldface when I use Fakebold and Fakeslant
I am using an imported font (Ballard Basic) and LuaLateX to generate the PDF file. However, all the text in the PDF is in italic and boldface (this is not what I want). Help! Here is the code I am ...
3
votes
2
answers
64
views
Non-italic punctuation in theorems
With \usepackage{amsmath}, we get a theorem like:
Theorem. Let $a$ and $b$ denote the legs of a triangle and let $c$ be the hypotenuse; then $a^2+b^2=c^2$ (where d^2 denotes multiplication of $d$ by ...
0
votes
1
answer
33
views
How to have non-italic text from \cite[]{} within theorem using amsthm and article class?
I have a tex file:
\documentclass[11pt]{amsart}
\usepackage{amssymb,amsthm,enumitem,mathtools,fullpage,microtype}
\usepackage[hypertexnames=false]{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=...
4
votes
1
answer
223
views
How to have italicized double-storey "a"?
The letter a is usually double-storey in Roman and single-storey in italics (and in math code), but I hope to have both $a$ and a italicized double-storey version in math code.
I don't think there ...
0
votes
0
answers
30
views
How can i fix this problem in the picture below . Whats is wrong? [duplicate]
I have encountered a problem while writing in Overleaf. Could you please let me know what might be wrong. Thank you in advanced
4
votes
2
answers
112
views
How can I do the equivalent of \DeclareFontShapeChangeRule which tests 4 targets rather than 3?
If you don't care why I'm asking, skip the first section ....
Problem:
No small-caps italic shape was defined in LaTeX 2e.
\textsc{\textit{small-caps italic}} did not produce small-caps italic even ...
1
vote
1
answer
62
views
How do I italicize the variable "s" in the following equation?
The referee of my manuscript has asked for the letter 's' in the following euqation to be italicized.
From search, I found that in order to italicize math in an equation, I must use \mathit.
The ...
4
votes
1
answer
189
views
Cyrillic Italicization error for Times New Roman font from times package
I have problem with italicization using \let\eachwordone=\it for Times New Roman font from \usepackage{times}. Here is my tex document:
\documentclass[10pt]{article}
\ExpandArgs{c}\newcommand{new@...
2
votes
2
answers
121
views
Italic small caps with fontspec?
I've seen various questions about how to get italic small-caps, which suggest e.g. using lmodern and slantsc together.
However, I'm currently using beamer, and want to keep the sans-serif typeface (...
0
votes
0
answers
33
views
Italics for subscripts (indexes) or use roman (upright)?
How do you place the indices of e.g. resistors in an electrical network?
For $R_1$, $R_2$ (resistor values): here the 1 and 2 are up (roman).
So should you place $R_A$ or place R_\text{A}. In most ...
0
votes
0
answers
44
views
How to use non-italic units in Nomenclature?
I tried using the siunitx package and converting the units to non-italic for the units that appear in the Nomenclature section as below:
\nomenclature[a-av]{$a^v$}{Active specific surface area\nomunit{...
0
votes
0
answers
43
views
how Do I Enhace (bold, Underline or Italise) texts in twenty seconds cv
I am trying to use the twenty-second CV class to create my CV, and I would like to enhance (bolden, underline or italicise) some texts, like underlining the places I have worked and bolding the key ...
1
vote
1
answer
45
views
\nocorr inside argument of a command followed by \textup
In the following \lex command I somehow need \textup to protect the argument from italicizing in some contexts.
Could someone explain why \textup in the \lexb variant forces italic correction in spite ...
4
votes
2
answers
558
views
Why does \mathrm give an error?
I am trying to use \mathrm to remove the italics from an equation as follows:
\documentclass[a4paper]{article}
\usepackage{gb4e}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\mathrm{tr}(...
0
votes
0
answers
36
views
Roman alpha iso Italicized alpha in formulas
I'd like to use a Roman alpha iso an italicized version in my formula. How can i do this, since \text doesn't work..
\begin{align*}
V_\text{af} &= V_\text{B} + \alpha (V_\text{max} – V_\text{...
0
votes
0
answers
61
views
Illegal space in \url{} using xurl
I have a problem with the \url{} using \usepackage{xurl}. I'm using LuaLaTeX.
In the case I set the font to italic there are illegal spaces after "f" and "V" sometimes. When it's ...
1
vote
1
answer
45
views
Too little space between brackets and italic text in math mode
When I wrap italic text in math mode with brackets the spacing looks off to me. Consider the output of the following code:
\documentclass{article}
\begin{document}
$f(\textit{EX})$, $f(EX)$
\end{...
1
vote
1
answer
43
views
Italicize text (genus/species) within endnote title causes compilation to fail
I would like to italicize Homo sapiens in a cited reference in my endnotes. Unitalicized works fine. Add \textit{} and compilation fails.
Minimal not-working test.bib:
@online{...
0
votes
0
answers
81
views
Physical symbols (italic)
Symbols for quantities are written in italics.
I know that I can use \qty{}{} for numbers and units.
Is there a similar command for symbols?
Or would this be okay?
\documentclass{article}
\usepackage{...
6
votes
0
answers
98
views
Why is the kerning of italic "Ex-Vivo" messed up?
When typesetting "Ex-Vivo" in italic, there is large apparent spacing between the dash and the V. Does this mean that my LaTeX setup is misconfigured, or am I expected to set the kerning ...
0
votes
1
answer
70
views
draftwatermark picks up italics from the top of the next page and produces Postscript, and no large smallcaps italics fonts are available in fix-cm
Feeding latex with
\RequirePackage{fix-cm}
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{amsthm}
\usepackage[text={\textsc{Confidential \ Draft}}, angle=53.2, fontsize={92.4pt}]{...
1
vote
0
answers
64
views
LuaLaTeX does not print italic greek letters (\setmainfont{EB Garamond}) [closed]
Since a few days LuaLaTex does not print any italic greek letters into the PDF when using the font EB Garamond as the main font.
\documentclass[a5paper]{wut}
\usepackage[ngerman]{babel}
\usepackage{...
2
votes
1
answer
133
views
"\kern0pt" could correct the "\/" before comma or period in TeX?
For easier use of {\it text}, we can define a control sequence such as \def\ital#1{{\it #1\/}}, which is suggested at the bottom of page 20 of the TeXbook. Since it will add extra space, which is not ...
2
votes
1
answer
48
views
Vertical mode inside a Tikz node, with \textit or \emph
I want to write a two- or multiple-line text in italic inside a tikz node. But I always get an error. Please help me with this.
MWE:
\documentclass{article}
\usepackage{tikz}
\usepackage{fontawesome5}
...
3
votes
3
answers
347
views
Define a control sequence \ic such that ‘\ic c’ puts the italic correction of character c into TeX’s register \dimen0
On page 14 of the book The TeXbook, the exercise 4.3 is
Define a control sequence \ic such that ‘\ic c’ puts the italic correction of character c into TeX's register \dimen0.
The answer is \def\ic#1{\...
3
votes
2
answers
543
views
Get upright italic fonts in TeX
I can get italic fonts in TeX by \it command, but I see there is upright italic font on page 13 of the book The TeXbook. How did the author achieve this style?
See the words
while the letters in ...
2
votes
1
answer
655
views
\textbf \texttt \textit is not working anymore
I am trying latex for the first time to write an essay for school, in the beginning the \textbf \texttt and \textit worked normaly. But i started to use more and more different packages and copied ...
2
votes
0
answers
105
views
Italic Cyrillic character display as tofu characters and other weirdnesses in LuaTeX using font EB Garamond
For some reason with the EB Garamond font, italic Cyrillic characters do not appear at all with LuaTeX, even though I have the italic font installed (and it supports Cyrillic) and it works in XeTeX.
...
0
votes
2
answers
82
views
align env - some symbols are non-italic?
I am confused about the behavior of my ams align evironment.
Minimalistic example:
\documentclass[english]{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
\rm{d}x_{\tau} &= R(u) v \...
2
votes
1
answer
323
views
\NP macro as in P=NP formula, to work for both text and math modes
I want \NP command to produce the string "NP" in both text and math (e.g. P=NP formula) modes. I also want it to be styled (even if it is in math mode) the same as the surrounding text (...
0
votes
1
answer
132
views
Highlight sentences in yellow for specific commands such as italic
Aim
To change the background color of a sentence in which italicized words occur that use the \textit{} command.
Minimal Working Example (MWE)
\documentclass[12pt]{report}
\usepackage{ragged2e}
\...
4
votes
2
answers
171
views
Why does \usepackage[lighttt]{lmodern} change the italic font to a slanted font?
I love using the lighttt variant of lmodern to get bold-faced keywords when using the typewriter font. The problem is that it appears to overwrite the default italic style with a "slanted" ...
3
votes
1
answer
213
views
Italic text is smaller than regular text when using clearpage and the scrlayer-scrpage package
I am using Luatex and KOMA-script. I have the issue that the italic font is consistently set to size 10pt it seems, and I don't understand it. In my M(not)WE below, the issue is present, but it isn't ...
4
votes
3
answers
449
views
Typewriter non-bold font with italic support and Greek letters
I'm explaining some code that uses Greek characters, bold, italic, and accents.
The default font does not differentiate between bold and non-bold.
\documentclass{minimal}
\usepackage[LGR,T1]{fontenc}
\...
0
votes
0
answers
149
views
Binomial nomenclature: italic or slanted?
I have read about the difference between italic and slanted fonts in TeX: how do the commands differ, as well as the effect when applied on the fonts; but it seems that there has not been much ...
0
votes
1
answer
245
views
Why doesn't \textit work over multiple lines in tabbing?
If I have text in italics over two lines in the environment tabbing, only the first line is italic and the second line is upright. Also, the compilation has errors. Why is that? How can I make \textit ...
3
votes
3
answers
409
views
Is there something similar to \itshape but for \emph text?
Edit: this question is misinformed and the chosen answer answers a different question altogether.
\emph produces slightly better italicized text for certain symbols, e.g., punctuation. Right now, I ...
4
votes
1
answer
483
views
What's better than \emph for making my Latin terms italic?
My styleguide suggests writing Latin phrases, including e.g. "in-vivo", in cursive. \emph{in-vivo} does not feel appropriate for this since it carries a semantic meaning of emphasis. What's ...
3
votes
1
answer
84
views
How to set citations with \textcite in italic
I use biblatex and the style authoryear. I use the command \textcite to make in-text citations.
Currently \textcite outputs something like:
But I'd like to have it in italic (including parentheses), ...
6
votes
2
answers
422
views
Math "f" in mtpro2
I'm aware that this might not be a very transcendental question, but I've noticed something very particular with the math fonts in mtpro2. It turns out that the letter "f" is slightly ...
0
votes
1
answer
28
views
Introductory and except theroms and lemmas... part others getting Italized
I have tried to see what is that code which is italicized the introductory part of second chapter and whatever I am writing except lemma, propositions etc as shown in pictures. But in chapter 0 ...
0
votes
1
answer
146
views
Making normal brackets inside the theorem environment
Suppose I have a simple code like the following one:
\begin{theorem}
This is (theorem 1).
\end{theorem}
When you compile this code, you find that the two brackets are italized. Is there a way to ...
4
votes
3
answers
170
views
italic identifiers with Greek letters and Arabic digits with unicode-math
We try to produce an identifier 𝜎1 in math mode, i.e., both symbols should be italics or slanted and the distance between the two symbols should be a usual inter-letter distance in a word. In [pdf]...
3
votes
3
answers
620
views
How to add italic words inside highlight?
I want to highlight text, but some text inside it need to be italic. The problem is, \hl{... \textit{...}...} cause all space inside \texit{...} removed. Using \ can solve the problem, but that is ...
1
vote
1
answer
87
views
Efficient Way to Allow TOC Section Entries to be of Different Fonts
Consider the code
\documentclass[12pt]{book}
\usepackage{lipsum,tocloft}
\begin{document}
\renewcommand{\cftchapfont}{\bfseries}
\renewcommand{\cftsecfont}{\itshape}
\tableofcontents
\newpage
\...
0
votes
0
answers
104
views
Why is italicise not working in the overleaf code-\emph not working here
I have written the following markup:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Title: SOP LaTeX Template
%% Author: Soonho Kong / [email protected]
%% Created: 2012-11-...
1
vote
2
answers
126
views
How do I center and format a Vietnamese poem?
So I need help with formatting a poem with Hanzi characters. The fact is that I need the poem to be italicized except the chinese character within. Also it has to be center aligned. Here's my attempt ...
0
votes
1
answer
76
views
LaTex: Making all tables italic globally
Wondering how to make all tables italic globally?
\documentclass{article}
\usepackage{multirow}
\begin{document}
\itshape
\begin{tabular}{ |p{3cm}||p{3cm}|p{3cm}|p{3cm}| }
\hline
\multicolumn{4}{|c|...