Questions tagged [emphasis]

This tag is used for questions that are related to placing emphasis at certain points in a document by changing font face, shape, weight, or other properties in order to render the objects distinguishable from the surrounding context.

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

wider overall kerning for emphasis [duplicate]

Some older texts use wider kerning to emphasise text (see picture). I would like to mimic that in LaTeX. Is it possible to set up an environment (like \bf or \em) that does this?
tomdeneckere's user avatar
1 vote
1 answer
56 views

Italic correction in tcbtheorem

I have redefined the \emph command to give bold and slanted text \DeclareEmphSequence{\bfseries\boldmath\slshape, \itshape} however, this appears to affect horizontal spacing on the line which \emph ...
boi's user avatar
  • 13
0 votes
1 answer
52 views

Emphasise font automatically

I want abbreviations to be written using the \mathsf font. For this, I created a command \mystyle. I would like these abbreviations to be emphasised in emphasised environments automatically. Is there ...
Osmin's user avatar
  • 35
3 votes
3 answers
338 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
0 votes
2 answers
837 views

What does \rmfamily do, or how do I undo a declaration like \em and \bfseries?

The short example below shows that \bfseries has its effect, but that is superimposed on \em's effect. If \rmfamily just means "don't add anything", that also explains why it has ...
Enlico's user avatar
  • 2,572
1 vote
2 answers
61 views

How can I endline in tabular environment?

How do you end line in a tabular environment so that it would stay in it's lane? I've made an improvisation but I would like it to be automated. \documentclass[12pt,a4paper,titlepage]{report} \...
Adrik Ivanov's user avatar
0 votes
1 answer
74 views

hyphenation with smallcaps and other formatting in bidi RTL environment

When smallcaps, bold, or italics are used for part of a hyphenated word in a right-to-left bidi environment, weird things happen. The following is a MWE of what I'm noticing (compiled with XeLaTeX): \...
Jonathan W.'s user avatar
0 votes
3 answers
105 views

Use specific font for small caps inside emph context

I use \setmainfont{CMU Serif} to change the font. But CMU Serif doesn’t support small caps emphasis font as you can see with the following MWE: \documentclass[a5paper,10pt,twoside,french]{book} \...
fauve's user avatar
  • 2,499
0 votes
1 answer
45 views

Emphasise an equation within align environment

I would like to emphasise and so make bigger the first and the last row of this align environment. This because the two rows in the middle are of course important but not as much as the result. I am ...
Bibi's user avatar
  • 85
1 vote
1 answer
421 views

Overrunning Sentences within Emphasized Text When Using Microtype and Compiling with Lualatex [closed]

Consider the code which is to be compiled with Lualatex: \documentclass{book} \usepackage{lipsum} \usepackage[tracking=true]{microtype} \begin{document} \large \emph{\lipsum[1]} \end{document} which ...
DDS's user avatar
  • 8,796
0 votes
2 answers
92 views

Biblatex Reference list: Emphasizing name with prefix

In my reference list (manage with biblatex) I want to emphasize an author. I did find the \mkbibnamegiven and \mkbibnamefamily commands. The problem is my author has a prefix (not a name with space!) ...
Catherine's user avatar
3 votes
1 answer
1k views

How to highlight the bullet points one by one?

I would like to achieve the following effect: Show the first bullet point and highlight the keywords in it; Show both the first and the second bullet points and highlight the keywords in the second ...
Ypbor's user avatar
  • 369
3 votes
2 answers
927 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} \\[...
DDS's user avatar
  • 8,796
4 votes
1 answer
125 views

Defining a macro in which \emph behaves differently

I want to declare a macro \myemph which typesets its argument in italics. When \emph is used in \myemph, it should use boldface. But when \emph is used outside of \myemph, it should still use italics: ...
Keelan's user avatar
  • 5,425
0 votes
0 answers
25 views

Is it possible to lock justification spacing for an inline part of the text?

I'm using \emph to denominate diagrams in my text, and, since they are referenced as almost like mathematical variables, I would like to keep them visually tight. However, LaTeX seems to go in the ...
psygo's user avatar
  • 438
0 votes
1 answer
117 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 ...
Carlos Luis Rivera's user avatar
1 vote
0 answers
34 views

emphasise certain parts in lstlistings [duplicate]

I'd like to know wether there is the possibility to change the colour of a single word in a lstlisting. I know you can set certain words or characters to certain colours in the beginning with lstset{.....
T-Man's user avatar
  • 23
1 vote
2 answers
79 views

Highlight text with math signs

I need to highlight some text with the command \emph whose content is "valeurAop += analogRead(mesure_aop)" : the compilation gives me an error, I think it is due to the mathematical symbols....
Nicolas's user avatar
  • 1,023
1 vote
2 answers
128 views

Underline text with === (SETEX style)

I'm trying to recreate the typewriter look. How to make \underline{sometext} work like SETEX-style section marker? The intended use is with monospaced/typewriter fonts for lines with plenty of space ...
Marek Kowalczyk's user avatar
2 votes
1 answer
762 views

Glossaries: italic first use in text but not the parentheses for specific entries

This might be a tricky one. I am using the glossaries-extra package to define a list of acronyms. In my document I have 'general' acronyms and sometimes 'jargon' acronyms that I would like to ...
circuitbreaker's user avatar
1 vote
1 answer
71 views

Use Font and Emphasise at the same time

It seems that whenever I use setmainfont(Cochin), all the textbf{}, textit{} in the main text will just not work. Anyone know how to fix this? Thanks! I am not sure if it's because of the font. The ...
Bowen Liu's user avatar
0 votes
0 answers
60 views

How to make font within equations look normal [duplicate]

When writing maths equations and I want to write words within the dollar signs, or between when I've written \begin{equation} and \end{equation} it comes out in italics. I have tried \emph{...} but it ...
A-Level Student's user avatar
1 vote
1 answer
250 views

Emphasise text when gls{} is used

I'm currently writing my master thesis. I will handout a PDF version and a printed version aswell. For the reason that hyperlinks will not look very good in the printed version I will remove them with ...
s kop's user avatar
  • 631
0 votes
0 answers
527 views

How to make part of the caption italic?

I just want a few words in my caption to be italic, not the entire caption. I have seen other questions on here about making part of a figure/table caption italic, but all solutions I saw were just ...
quantum girl's user avatar
1 vote
0 answers
138 views

\emph isn´t working with scrartcl

I want to use \emph{}, but as I changed all \textit{} in \emph{}, my code isn´t working anymore. I am using TeX-Studio and suddenly it´s not showing me the page anymore. It says "Underfull hbox in..." ...
Sarah's user avatar
  • 11
0 votes
1 answer
341 views

LyX with XeTeX refuses to use the italics version of David CLM

I've been using a setup of LyX with XeTeX on my laptop and it's been working just fine. However, I installed it on my desktop (with the same fonts, packages, everything) and I've noticed that whenever ...
Hagai M's user avatar
6 votes
1 answer
361 views

Redefine \emph to typeset the first level in bold and the second level in bold italic

I would like to redefine \emph that odd emphasised levels are bold and even emphasised levels are bold italic (\emph{bold \emph{bold italic \emph{bold}}}). How could I redefine \emph using \em to ...
luki's user avatar
  • 1,794
0 votes
1 answer
466 views

Expose single sentence through paragraph-like formatting

I was wondering if there exists a "common-practice"-possibility to expose a single sentence to make it stand out without adding too much weight to the overall look of a page (i.e. I don't want it to ...
Wolfone's user avatar
  • 661
1 vote
1 answer
467 views

For Italicization, which command in LaTeX has turn-on behavior only?

Toggle, Turn-on, and Turn-off There are three types of behavior: TOGGLE Behavior if italics were ON, turn italics OFF if italics were OFF turn italics ON TURN ON Behavior If already on,...
IdleCustard's user avatar
5 votes
1 answer
2k views

Redefine \em to use \slshape

My google skills are failing me. How do I get \em to exhibit it's usual behavior (i.e. {\em slanted {\em upright} slanted}), while making the emphasis be that of \slshape? If document class has any ...
Kile Kasmir Asmussen's user avatar
2 votes
1 answer
314 views

How to align equation numbers inside and outside of mdframed?

I am using mdframed to box equations to include the equation number, as I quite like how it looks. However I've noticed that this results in a misalignment between equation numbers that are boxed, ...
Garf's user avatar
  • 500
1 vote
0 answers
150 views

emph: how to change the color only if two words follow each other?

I would like to know whether it is possible to give a different color for a string of multiple words. I would like to use dark blue for "proc catalog" and default blue for "catalog". Plese find the ...
user153490's user avatar
3 votes
2 answers
463 views

How to italicize enumeration in task environment

Consider the following MWE: \documentclass{article} \usepackage{tasks} \begin{document} \begin{tasks}[label-format=\itshape](4) \task Ex. 1 \task Ex. 2 \task Ex. 3 \task Ex. 4 \end{...
manooooh's user avatar
  • 3,203
2 votes
1 answer
529 views

Bōten/Wakiten (Japanese emphasis symbol) in [p]LaTeX

This may be a rather obscure matter, but I recently attempted to find an easy way of emphasizing Japanese text using bōten/wakiten (furigana dots) in a document I am writing using [p]LaTeX. So far I ...
archaephyrryx's user avatar
12 votes
3 answers
747 views

reflectbox in emphasis environment

I try to get irony punctuation mark in LaTeX with CMU font. This symbol is in Unicode: ⸮ (U+U+2E2E) So I search a way to get a correct rendering with CMU of this symbol. But the problem is the ...
fauve's user avatar
  • 2,499
3 votes
1 answer
222 views

Strange listings syntax: emph=[<number>]{<identifier list>} or emph={[<number>]<identifier list>}?

In the documentation of listings (2015/06/04, Version 1.6) on p. 18 we see the example \lstset{emph={square}, emphstyle=\color{red}, emph={[2]root,base}, emphstyle={[2]\color{blue}} Note that the ...
user avatar
3 votes
1 answer
991 views

emphasis in the theorem enviroment

I'm doing a project in soluble gorups and I begin by defining a subnormal series. In this definition the words "factors" and "length" are both emphasised. However, in the theorem enviroment, the \emph{...
The_eToThe2iPi's user avatar
0 votes
1 answer
463 views

Switch body font shape of newtheorem automatically

It is interesting that \emph will switch the shape of font automatically based on the current font is italic or not, e.g., \emph{This is \emph{non-italic} italic}. will produce something like: ...
user19832's user avatar
  • 1,585
3 votes
1 answer
472 views

hyphenation in partly emphasised words

I frequently get to typeset texts where -- due to a specific philological convention -- shorter parts of the words are emphasised. As far as I understand the mechanism the start/end of the \emph-tags ...
Florian's user avatar
  • 2,919
0 votes
0 answers
2k views

Text definitions - \textit or \emph? [duplicate]

If I want mark definition in text, should I use \textit or \emph. For example: A \textit{graph} is ... I know, it is not the same.
ZYX's user avatar
  • 123
4 votes
1 answer
2k views

Error: Reconstruction failed for \hl (highlighted) newcommand text

Sorry if this has been asked before. I could not find an answer to this problem yet. I'm finding some issues when highlighting text defined by newcommand: \documentclass{article} \usepackage{color,...
ana's user avatar
  • 143
8 votes
1 answer
6k views

Should the p in p-value (probability value) use the math environment or \emph{}?

I usually use $p$-value but I was wondering if \emph{p}-value is the recommended way to typeset terms with a one or more italicized character? (Edit: Similar cases include t-test, t-statistic and t-...
Chris's user avatar
  • 311
0 votes
0 answers
79 views

How do I mark text as never to be emphasized? [duplicate]

An \emph inside another cancels the emphasis. But what if I want to make sure something is never emphasized, even if the surrounding emphasis is removed? \textrm doesn't turn off ItalicFeatures ...
Toothrot's user avatar
  • 3,346
0 votes
1 answer
245 views

Ignore emph in Theorem environment

I'm using enumitem in a theorem environment: \begin{theorem} The following are equivalent: \begin{enumerate}[label=(\emph{\roman*})] \item \label{ref1} Something. \item \label{...
user avatar
0 votes
1 answer
157 views

Lyx - emphasize does not work due to macros - missing $ somewhere [closed]

When I emphasize a word, the document is not complied correctly. The error is ! Missing $ inserted. <inserted text> $ Trying to debug this, it seems to relate to my macro ...
bobsacameno's user avatar
4 votes
1 answer
3k views

Bold letters within minted (bash/text)

I need to emphasise one entries in this liste of number, but I can't seem to use \textbf{} or something similar in within a minted workspace. How do I emphasise certain within minted? \documentclass[...
dfh's user avatar
  • 641
0 votes
0 answers
438 views

\emph breaks soul's underline

\emph within soul's \ul leaves small gaps in the underline, their size varying depending on the font and whether there is a space after \emph. \documentclass{article} \usepackage{soul} \begin{...
Florian's user avatar
  • 2,919
6 votes
1 answer
235 views

Improving spacing to previous word when redefining \emph to use letter spacing

The most common way to emphasise in German (and probably other) blackletter typesetting was to use letter-spacing (Sperrsatz in German). I am attempting to implement a way to effectively redefine the \...
Jan's user avatar
  • 829
1 vote
0 answers
764 views

Why \emph{} is not working in beamer? [duplicate]

I am making some slides for a presentation. I am copying parts of a texfile which I made earlier. The \emph{} command is not working in beamer (even though it is working in my original texfile). For ...
learning_math's user avatar
1 vote
0 answers
69 views

Clean way of italicizing whole preface with \emph inside (which will de-italicize) [duplicate]

I would like to set a part of the LaTeX document in italics but with using \emph{...} for emphasizing inside. This is easy to do within single paragraph where \emph can be easily nested. But since \...
eudoxos's user avatar
  • 2,963