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.
1
vote
0answers
23 views
Emphasize text that is highlighted using the soul package [closed]
I can highlight a bit of text (i.e., make the background yellow) using the soul package like this:
\hl{a bit of text}
I figured I could also use italics like this:
\hl{\emph{a bit of text}}
... ...
1
vote
2answers
41 views
genuine way to give an image an emphasized and normal caption
In my work I give each image a small description (usually in emphasized style) and a long description in normal font. To achieve this I have to write
\usepackage{subcaption}
\begin{figure}
...
4
votes
1answer
45 views
getting \emph back to normal after loading ulem
I'm typesetting a manuscript that is required to turn all \emph into underlines. But then I want to use the original definition of \emph for the list of references. How do I get the \emph to behave ...
9
votes
1answer
221 views
Fake bold in LuaLaTeX
I am sometimes using a font that has no boldface, so I am wondering whether or not there is a way to use some fakebold-feature in LuaLaTeX.
The fontspec documentation explains a feature for XeLaTeX, ...
9
votes
1answer
104 views
Beamer does not restore roman style for emph inside emph
It seems that \em and \emph do not alternate between itshape and normal shape. How can this be restored?
Test case:
\documentclass{beamer}
\begin{document}
\frame{\em abc \emph{def \emph{ghi} jkl} ...
13
votes
3answers
317 views
How to emphasize some author names using BibTeX?
I would like to create bibliographies that have certain authors highlighted (e.g., bold). There are several solutions along these lines, but they usually assume that it's the same author that's being ...
3
votes
4answers
532 views
Displaying Linux commands in LaTeX [duplicate]
Possible Duplicate:
Syntax Coloring in LaTeX
Unix Command Highlighting latex
I am after some advice on how to display Linux terminal commands into LaTeX, so that they are indented and ...
8
votes
1answer
128 views
How to replace a given string in a bibliography with biblatex?
Mendeley allows you to emphasise Latin names in article or report titles using HTML notation like so:
A treatise on the ecology of <I>Rattus rattus</I>
Using biblatex, the tags are ...
2
votes
0answers
59 views
Italicize all text in the body matching a pattern [duplicate]
Possible Duplicate:
Is it possible to have certain words in the document always in bold?
I have some old papers with a lot of references in it. I am converting them into LaTeX PDFs. I am ...
11
votes
1answer
116 views
\emph vs. \mkbibemph and other things
I usually use the commands that come with biblatex (like mkbibemph, mkbibquote etc.) only in my bibliography.
What about using them in the text of my document? Should I do that? Are there any ...
2
votes
3answers
397 views
\emph in math mode
I am new to LaTeX and have a problem with the line
The difference is that the signing key \emph{x} is split into two pieces, \begin{math}
\emph{x_{L}}\end{math} and ...
5
votes
1answer
316 views
Equations in fancy boxes
I've checked the post here, where the package empheq is used for embedding equations into coloured boxes.
With that idea, I wrote in my file the following:
% in the preambule
\usepackage{empheq}
...
1
vote
1answer
71 views
Counting lines and making calculations
This code snippet provides a way to highlight lines in a listings environment. If you consider the following line, though:
\emphline{1-6} {7} {8-15} {potencia.f95}
You'll notice how the #1 and the ...
2
votes
1answer
328 views
Using \emph and a subscript
How would I go about adding a subscript to a symbol I'm defining from an equation.
For example I have an equation
E_m = \alpha_m x + y
How can I then do something like \emph \alpha\textsubscript{m}
...
3
votes
1answer
428 views
Changing the font size with \emph
In the .tex document I created, the emphasis command \emph{text} is frequently used (note that I use \documentclass{llncs} ). However, the .pdf preview shows the emphasized text as smaller that the ...
2
votes
1answer
125 views
How to make a line of text in a slightly different color (light gray in my case) in XeLaTeX
I Like to add an informal footnote to my document, containing web addresses. Some of the text is to be de-emphasized using gray text.
How do I do that for a line or a word in XeLaTeX?
2
votes
2answers
108 views
Can emphasize produce an index item?
I would like to have a command which empasizes a term (like a definition in a mathematical text) and produces an item for the index (I use makeindex). Ideally the macro should not be too invasive, ...
2
votes
1answer
249 views
Redefine \emph inside theorem using \newshadedtheorem from ntheorem
Using the ntheorem package, the definition of \newshadedtheorem overwrites the \theoremprework, which I wanted to use to redefine \emph inside a custom shaded theorem. The definition of ...
11
votes
3answers
275 views
Should I distinguish text that names a concept and text that is to be emphasized, on font?
In scientific writing, we often need to mention a term and emphasize a point. So far, I always try to distinguish these two typical cases on font, by using different series or styles, say, use slanted ...
7
votes
1answer
579 views
How to change emphasis commands in pandoc's LaTeX template?
I want to change the default strong emphasis command in the conversion from pandoc's markdown to LaTeX, say, from \textbf to \textsc. Since running pandoc in the source file prints into the .tex file ...
16
votes
3answers
590 views
Short version of emph?
Is there something like a short version of \emph? What I want is something comparable to \lstShortInline or what the shortvrb provides, just not for the \verb command but for the \emph command ...
5
votes
4answers
524 views
Verse environment won't set in italics
Could someone please help me fix the following problem? I want to typeset an indented paragraph in italics. Using the verse package, the paragraph typesets without a problem, but when I try to add ...
3
votes
2answers
2k views
When to emphasize text in formal texts? [closed]
Text can be emphasized in LaTeX using \emph or \textit. For what kinds of text or situations is it recommended to use such emphasis in formal texts? For example, in an article, paper or thesis, when ...
20
votes
4answers
9k views
What is the difference between \em and \emph?
What is the difference between \emph{...} and {\em ...}?
When to use each of them?
2
votes
2answers
382 views
\emph yields bold-italic using the package “libertine”
How can I make \emph use italics again after loading the package libertine? I suspect that this may be a bug in the font itself. I tried reinstalling the font and upgrading it onto the most recent ...
14
votes
3answers
576 views
How can I get Sperrsatz?
Sperrsatz is a special kind of emphasis often used in combination with blackletter fonts. A word in Sperrsatz has 0.125 em spaces between its characters, but some ligatures are preserved. For example: ...
2
votes
0answers
279 views
Emphasize first line of paragraph in LaTeX [duplicate]
Possible Duplicate:
Changing the style of the first typeset line of a paragraph
Trying to find out how to emphasize the line of text automatically. The issue here is that I have no idea ...
20
votes
3answers
476 views
Should I include punctuation marks in \emph, or should I place those marks after the command?
I wonder if I should place punctuation marks directly after the \emph{} command, or should I include those marks within the curly brackets? Thus:
The languages only differ in their \emph{grammar}, ...
14
votes
5answers
2k views
Does LaTeX define a semantic equivalent of \textbf ?
In HTML, there's the distinction between <em> as semantic markup and <i> as its pure-formatting equivalent. LaTeX has the same distinction: \emph is semantic markup, rendered using ...
8
votes
2answers
2k views
How to redefine the \emph command in Beamer?
I am using the Beamer class and would like to redefine \emph to use \bfseries instead of \itshape. I have tried the following command:
\renewcommand<>{\emph}[1]{{\only#2{\bfseries}#1}}
but I ...
16
votes
2answers
1k views
What is the canonical way to redefine the \emph command
Question says it all. What is the best way to redefine the \emph command to be bold font and upright?
4
votes
2answers
882 views
Beamer: Emphasize a part of a slide
I am using Beamer to create presentations. I know that it is possible to use environments like Theorem, Definition and so on:
\begin{Teorem}
Great theorem
\end{Theorem}
It appears in the box of ...
8
votes
3answers
769 views
Space between emphasized word and parenthesis
When I have the following text
(\emph{WSJ})
the J will touch the parenthesis in an ugly way (my opinion). Is LaTeX supposed to keep some space there? How can I get some more space there in a a nice ...
53
votes
2answers
14k 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 ...