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
0 votes
1 answer
22 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 ...
1 vote
0 answers
23 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
96 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
169 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
57 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 \...
  • 7,044
0 votes
0 answers
48 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 / soonhok@cs.cmu.edu %% Created: 2012-11-...
0 votes
1 answer
38 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
51 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|...
  • 8,433
0 votes
2 answers
65 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 \...
  • 1,690
0 votes
0 answers
37 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{}} ...
  • 406
1 vote
1 answer
27 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} \...
1 vote
2 answers
56 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 ...
1 vote
1 answer
35 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 ...
  • 13
1 vote
1 answer
46 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 ...
  • 187
0 votes
0 answers
28 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 ...
  • 101
0 votes
1 answer
29 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 ...
0 votes
1 answer
80 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 ...
1 vote
0 answers
85 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-...
0 votes
1 answer
28 views

Page x of y footer with multiple user-specified display enhancements

Using the following packages and code I am able to produce a footer with the text "Page x of y" in the font size that I want. \usepackage{fancyhdr} \usepackage{lastpage} \pagestyle{fancy} \...
0 votes
1 answer
58 views

Italics in book title (Solved) [closed]

I'm trying to change the bibliography style of my document using natbib and bibtex, but none of the styles display italics in book titles. For example, dinat uses italics for them according to the ...
1 vote
3 answers
91 views

Is there any other typeface with distinct math italic letters besides CM and its descendants?

The only case I can think of off the top of my head would be using Euler as the math face, but I’m wondering if perhaps some other typefaces have visually distinct glyphs in the Mathematical ...
  • 13.3k
9 votes
1 answer
735 views

Garamond Italic font: First capital letter looks strange

I am using the Garamond font, included by the fontspec package: \usepackage{fontspec} \setmainfont{Garamond} In my opinion, the first capital letter in italics looks strange. It does not fit to the ...
  • 277
2 votes
1 answer
56 views

Why are my captions sometimes italicized and sometimes not when using the same structure of code?

I want to make all my captions the same i.e normal font and unitalicized just like the first diagram. I don't know why they are different whilst using pretty much the same code. \begin{center} \...
1 vote
0 answers
74 views

Italics / regular formatting with bibliography

In my bibliography, article titles are printed in regular font, while book titles are in italics. The same is true for journal names. Isn't usually the title of the post displayed in italics? The only ...
  • 33
3 votes
1 answer
98 views

The font package tgheros affects lmodern

Consider the following MWE: \documentclass[10pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{tgheros} %\usepackage{helvet} % see explanation \begin{document} Let's ...
7 votes
2 answers
431 views

How to use the \emph or \textit in LuaLaTeX?

%!TeX lualatex \documentclass[a4paper,14pt]{extbook} % to be able to print 14pt fonts \pagenumbering{gobble} \usepackage{fontspec} \newfontfamily{\Termes}{TeXGyreTermes-Regular} \newfontfamily{\...
3 votes
3 answers
661 views

How do I write words inside a square root without the words getting italicized?

I wrote $\sqrt{n^{\frac{number of factors of n}{2}}}$ but the "number of factors of n" is getting italicized. Can someone help with this please? Thank you
2 votes
2 answers
514 views

Bold font not working with Helvetica [closed]

I'm trying to write my paper in the Helvetica font. For that I installed the package fontspec and \setmainfont{Helvetica}. But when using \textbf{} nothing happens. The same goes for \textit{}. What ...
1 vote
1 answer
91 views

Changing Italics in references to plain text in natbib

I'm currently updating my manuscript following the instructions of the journal. A point I'm currently stuck at is to update the book titles as non-italics. I searched for any potential solution on the ...
  • 133
0 votes
1 answer
192 views

How to use itshape for different fonts

The result of \itshape or \textit{} is the italics of the main font in our document. If I have other fonts set for different environments, I could access their italics by the use of \fooitalics via a ...
  • 25
2 votes
3 answers
101 views

How to Produce Italicized Small Caps Using fontspec and the Code Compiled with Lualatex

I would like to obtain italicized small caps immediately following the lettrine. And so, I call in the lmodern and slantsc packages for this purpose into the following MWE: \documentclass{book} \...
  • 7,044
1 vote
2 answers
74 views

Autocolor for italic and bold fonts in pandoc-template

I have started using pandoc to auto-generate PDFs from my .md-notes. This is working out so far, I succeeded to customize the font, background etc. For readability, I want all the italic parts as well ...
  • 29
0 votes
1 answer
54 views

Redefine caption in order to accept terms in italic

There is a way to make the caption of figures accept terms in italic? I've tried commands such as \emph{} \textit{} But none of them worked. Here is what I am trying to do, as well the result I get. \...
1 vote
1 answer
81 views

Non italicized text in tufte-handout

I want to have a part of tufte-handout title non-italicized. Is there a way I can force just a part of the title to be written in roman not italics? \documentclass[a4paper,nofonts,nols,justified]{...
  • 940
1 vote
1 answer
79 views

Listings show Quotation marks in italic - how to print them in Regular?

I use the listings package for showing source code. I just realized, that double and single quotation marks are printed in italic - they should be printed in regular instead ... Where is the issue? Is ...
  • 159
1 vote
1 answer
38 views

How to change the contents of a theorem-like environment from italic to upright lettering?

\documentclass[12pt]{article} \usepackage{amsmath,amsfonts,mathtools,authblk,amssymb,amsthm} \newtheorem{theorem}{Theorem}[section] \newtheorem{corollary}[theorem]{Corollary} \newtheorem{lemma}[...
  • 933
5 votes
1 answer
152 views

Text formatting not working in Bangla text

Issue 1: With the reference of this answer, I am using babel for writing Bangla text in Lualatx. But it show no দাঁড়ি চিহ্ন (।) which is a equivalent of full stop (.) in English. Here is a snippet of ...
  • 2,193
3 votes
2 answers
409 views

A Visual Comparison of Emphasized Text and Italicized Text---What is the Difference? [duplicate]

Please consider the output of the following code in book class: \documentclass{book} \begin{document} \thispagestyle{empty} \Huge \noindent \emph{Emphasized Text} \\[10pt] \textit{Italicized Text} \\[...
  • 7,044
0 votes
1 answer
211 views

How to italicize superscripts and subscripts in math mode?

I'm pretty new in LaTeX, but I was surprised when in math mode subscripts and superscripts weren't italic. How can I solve this issue? Here's my code: $(Z(\bm{\mathrm{s}}\textsubscript{1}), ..., Z(\bm{...
1 vote
1 answer
108 views

greek lowercase letter not italic in math mode

I don't know why but my greek letter eta refuses to become italic. Any ideas? Here is a minimal example: \documentclass[12pt]{report} \usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,...
  • 23
0 votes
1 answer
842 views

How to italicize within \{itemize}

I am trying to italicize within itemize. \begin{itemize} \item \textit{test} \end{itemize} The italicization isn't working within the context of the overleaf template that I am working off of (link)...
0 votes
1 answer
43 views

Italic question's statement and the reason of an error

Here is my document from the beginning: \documentclass[11pt, openany]{exam} \usepackage[utf8]{inputenc} \usepackage[a4paper, margin=1in]{geometry} \usepackage[T1]{fontenc} \usepackage{lmodern} \...
  • 365
3 votes
2 answers
4k views

How can I write iid in an equation in normal letters?

I want to write this equation: lnpt+1 =ρp lnpt +εp,t+1, ρp ∈(−1,1), εp,t+1 iid N(0,σ2p). How can I write the iid in normal letters, that they are not cursive (not italic)? The code I used so far is: \...
4 votes
2 answers
160 views

How to Italicize (One Time) a Lettrine *(Question Updated)*

This question has been revised. Please see below. I would like to be able to occasionally italicize a lettrine. I am aware of the good answer given in How to italicise lettrine font, but unfortunately ...
  • 7,044
1 vote
1 answer
145 views

double quotation marks creates issues in listings [closed]

I'm writing a R code in LaTeX using the listing package. Everything works fine in the first two lines, with the code written in plain text and the comments in italic. However, after this string quote=&...
0 votes
0 answers
57 views

Unwanted Email Italics

I'm trying to add an email address beneath the author of an article, but can't get latex to format it correctly. Latex italicizes the email address despite me not telling it to. Maybe this isn't the ...
0 votes
0 answers
29 views

Missing spaces when using overleaf

I'm using overleaf to write my thesis, after using the \textit{} command, the following text is still in italic and the spaces between words are missing. Is this a common problem and what can I do ...
0 votes
1 answer
64 views

How to make `\emph`ed letters bold italic when they are in `\textbf`?

I have some emphasised letters in \textbf{}, i.e. \textbf{\emph{abc}}, to bold-italicise the letters. However, the text merely comes to be italic, not bold italic. How can I redefine \emph to get bold ...
1 vote
2 answers
79 views

How to write bold italic letter in late presentation slide format?

\foilhead{Continuous Galerkin finite element method} \definecolor{hgray}{gray}{0....
1 vote
1 answer
103 views

How to set in-text citations in italic?

I'm using the authoryear-comp citestyle of biblatex and I'd like the author and year to appear in italics in in-text citations. After some research, I've found the following command, but it only ...
  • 97

1
2 3 4 5
10