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.

Filter by
Sorted by
Tagged with
2 votes
2 answers
82 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 (...
Draconis's user avatar
  • 922
0 votes
0 answers
16 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 ...
MrI2C's user avatar
  • 115
0 votes
0 answers
28 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{...
BuV8's user avatar
  • 1
0 votes
0 answers
34 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 ...
Daniel James's user avatar
1 vote
1 answer
43 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 ...
Vincent Krebs's user avatar
4 votes
2 answers
484 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}(...
dherrera's user avatar
  • 151
0 votes
0 answers
28 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{...
MrI2C's user avatar
  • 115
0 votes
0 answers
53 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 ...
stbu's user avatar
  • 33
1 vote
1 answer
42 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{...
wijnand's user avatar
  • 13
1 vote
1 answer
38 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{...
Paul's user avatar
  • 23
0 votes
0 answers
69 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{...
Sylvia's user avatar
  • 485
6 votes
0 answers
88 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 ...
Anna's user avatar
  • 821
0 votes
1 answer
47 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}]{...
user avatar
1 vote
0 answers
58 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{...
hjele's user avatar
  • 155
2 votes
1 answer
118 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 ...
Y. zeng's user avatar
  • 1,885
2 votes
1 answer
45 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} ...
stargazer45's user avatar
3 votes
3 answers
344 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{\...
Y. zeng's user avatar
  • 1,885
3 votes
2 answers
511 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 ...
Y. zeng's user avatar
  • 1,885
2 votes
1 answer
395 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 ...
Gijs van Asten's user avatar
2 votes
0 answers
83 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. ...
AmberWing's user avatar
0 votes
2 answers
80 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 \...
reloh100's user avatar
2 votes
1 answer
274 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 (...
porton's user avatar
  • 1,228
0 votes
1 answer
69 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} \...
kexxcream's user avatar
  • 2,815
4 votes
2 answers
148 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" ...
TheProgrammer's user avatar
3 votes
1 answer
157 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 ...
J_mu's user avatar
  • 31
4 votes
3 answers
410 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} \...
Atcold's user avatar
  • 1,727
0 votes
0 answers
123 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 ...
Futarimiti's user avatar
0 votes
1 answer
163 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 ...
matj1's user avatar
  • 109
3 votes
3 answers
351 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 ...
TheProgrammer's user avatar
4 votes
1 answer
434 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 ...
Anna's user avatar
  • 821
3 votes
1 answer
44 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), ...
Flobur's user avatar
  • 33
6 votes
2 answers
305 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 ...
Esteban Saldarriaga's user avatar
0 votes
1 answer
27 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 ...
Lalbahadur Sahu's user avatar
0 votes
1 answer
99 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 ...
Hussein Eid's user avatar
4 votes
3 answers
147 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]...
user avatar
3 votes
3 answers
542 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 ...
Muhammad Yasirroni's user avatar
1 vote
1 answer
79 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 \...
DDS's user avatar
  • 8,816
0 votes
0 answers
100 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-...
Tanushree Bhattacharya's user avatar
1 vote
1 answer
86 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 ...
Adrik Ivanov's user avatar
0 votes
1 answer
68 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|...
MYaseen208's user avatar
  • 8,587
1 vote
2 answers
336 views

\bfseries equivalent for italics?

Is there an equivalent to the command \bfseries that makes the text italic? In the context I plan to use it \textit{ } does not work and yelds an error: Runaway argument? { ! Paragraph ended before \...
Vebjorn's user avatar
  • 1,798
0 votes
0 answers
44 views

Italicized effects remainder of document \it{} compared to {\it{}}

Here are the two different code snippets. The code with {\it{}} seems to correctly italicize only the braced text. When I use \it{} it italicizes the remainder of the document. Why is that? {\it{}} ...
Ziggy's user avatar
  • 416
2 votes
1 answer
49 views

How to keep some text non-italic in the theorem environment?

I have this preamble \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[left=1in, right=1in, top=1.3in, bottom=0.8in]{geometry} \usepackage{amsmath} \usepackage{amsfonts} \...
Hussein Eid's user avatar
1 vote
2 answers
312 views

Italics in Tables

I am new to Latex and have a problem understanding what is happening in my tables. I have used the code below to produce tables. I am using the \dcolumn to align values on the decimal sign, but this ...
Simon Rydstedt's user avatar
1 vote
1 answer
138 views

How to use contour in math mode for italic symbols?

I'm trying to make bold symbols bolder in math mode (\boldsymbol isn't bold enough for my liking), and so far the best solution I've found is using contour. However, when contour is used within math ...
Alex's user avatar
  • 13
2 votes
1 answer
97 views

How to italicize a font that doesn't have a italicize option?

I want to italicize the font Play in my document, but the truetype of that font does not have an italic option as seen on https://fonts.google.com/specimen/Play?query=play. Is there a way for me to ...
curry's user avatar
  • 293
0 votes
0 answers
56 views

Non-italic text command

I would like a command, \foo, that always gives the word "foo" as a non-italic text in math mode. If I write \newcommand{\foo}{\text{foo}} then in an italic environment (like theorem ...
simmons's user avatar
  • 101
0 votes
1 answer
82 views

Non italic figure reference number

I am writing my thesis and I want to have italic figure label, but I want reference number of figure to be non italic(just normal text) in my later text. In preamble I have this part of code to get ...
nemanja's user avatar
0 votes
1 answer
245 views

Inkscape normal text in math mode always italic in pdf_tex export

I have the following equation in Inkscape: $u_{s, \text{komp}}^{q}$ Unfortunately the text ("komp") is italic in the pdf after running the pdf_tex in the Texmaker. Is there a way to modify ...
Domi1908's user avatar
1 vote
0 answers
282 views

texlive font problem

I recently upgraded to Ubuntu 22.04 and TeX Live 2022. After that, bold and italic \bf \em don't work. Moreover, chapter and section titles are set in default font without bold. I purged and re-...
user2987022's user avatar

1
2 3 4 5
11