{bold} is specifically about making document elements bold (or removing this font attribute). For general questions about formatting document elements, use {formatting} instead.

learn more… | top users | synonyms

27
votes
7answers
12k views

Why are some pages in my PDF coming out bold? [duplicate]

When I run my LaTeX document through pdflatex, some of the pages (the ones where figures appear) have all the text bolded. Why, and what can I do to make it stop?
77
votes
6answers
89k views

How can I get bold math symbols?

To make Latin-letter variables bold I can use e.g. \mathbf{a}, but while putting Greek letters or symbols such as \nabla inside \mathbf doesn't cause any errors or warnings, it also doesn't do ...
41
votes
4answers
16k views

Blackboard bold characters

The blackboard bold font in the AMSFonts package only has capital letters. I sometimes wish to use a blackboard bold "1", for which I can use \usepackage{bbold}. But this changes the entire ...
20
votes
4answers
9k views

Using \ttfamily with \bfseries (or how to enable bold in fixed-width font)

I'm using listings package, and I've added basicstyle=\ttfamily\footnotesize. However, when I do that, the keywords from the embedded source-code are not bold anymore. I figured that \ttfamily ...
114
votes
3answers
224k views

“Correct” way to bold/italicize text?

Is either of these considered better/more readable/more "proper"/more conventional than the other for making text bold? If so, what is the reason? I like my text \textbf{bold} versus: I like my ...
36
votes
4answers
13k views

Make first row of table all bold

I'm trying to do something that I thought would be relatively simple but seems to be quite hard. I have a table with a number of columns, and I'd like to make all of the titles appear in bold text. ...
16
votes
5answers
1k views

Is it possible to have certain words in the document always in bold?

I am writing an AWK programming book and when I explain things, I refer to special AWK variables all the time, such as ORS. Is it possible to set LaTeX up in such a way that these words are always in ...
58
votes
4answers
61k views

Small Caps and Bold Face

I can't seem to have both the small caps and boldface styles on a line: \huge\sc\bf Hello This will generate bold text, and if the \sc is placed after, it will generate small caps text but not ...
14
votes
3answers
2k views

How to put \verb command inside of \textbf{} block?

It looks like you can't use \verb|...| inside of \textbf{...}. I tried the following: \textbf{Be very careful when using \verb|-i| as it's destructive and it's not reversible!} And got this error: ...
29
votes
1answer
2k views

Make specific author bold using biblatex

I am writing my CV in LaTeX. I am using biblatex and want my name (and only my name) to be bold for every reference. Is there a magic way to do this? A similar question Make one author's name ...
18
votes
3answers
6k views

Bold italic vectors

I am trying to display vectors as bold and italic. The command \mathbf sets the letters non-italic. I also googled a bit and stumbled upon \mathbf{\em y} or \mathbfit{y}, which all didn't work. I ...
17
votes
4answers
521 views

How to define a command that bolds the first letter of each word in the input argument?

I want to define a command that takes a sentence, a word or several words as input and bolds the first letter of each word. I need this mostly for abbreviations and so far I have done it manually in ...
20
votes
3answers
13k views

Bold math: Automatic choice between \mathbf and \boldsymbol for Latin and Greek symbols?

This is a follow-up to this question. Suppose you want to denote vectors by upright bold letters; then \mathbf{u} works fine, except that if it's a Greek letter you have to use \boldsymbol{\omega} ...
12
votes
3answers
2k views

How can I redefine bold to mean “semi-bold”?

I'm using a type family that supports a semi-bold (sb) face, and I'd like to use that whenever \textbf is called for. How can I redefine \textbf to do this? Can I do it on a per family basis, or only ...
13
votes
5answers
9k views

Using bold/italic text inside listings?

How can I use bold text inside a code listing? I wanted to make some parts of the code bold.
10
votes
1answer
2k views

Url with fragments in bold

I need to write document containing a lot of URLs but some fragments of these URLs have to be in bold. How can I accomplished this? For urls I use \nolinkurl but I can't use \bf in it.
9
votes
1answer
464 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
4k views

Boldface and subscripts in verbatim mode?

How do I create boldface and subscripts in verbatim mode? I've seen mention of a fancyvrb package that might be able to help. Can anyone provide working LaTeX code, either with or without fancyvrb?
8
votes
1answer
816 views

siunitx: Bold single numeric cells

I'm struggling to make a single numeric cell in an siunitx table bold. (A similar question for making a whole column bold is available here.) I want to define a simple macro which I can set for the ...
3
votes
2answers
776 views

Bibliography with biblatex: how to achieve bold labels using the authoryear-style?

I am currently writing my thesis with LaTeX using biblatex for citations and bibliography. I try to match a formal request regarding the first part of the bibliographic entries which have to look like ...
3
votes
3answers
470 views

Bold one cell in table using CSV reader

Is it possible to bold a single desired cell (or number of cells) using csvreader (besides the head)? Here is an example of making the table. \documentclass{article} \usepackage{csvsimple} % Make ...
2
votes
1answer
337 views

How to change the appeareance of bibliography item labels in amsrefs?

Assume that I'd like to set the item labels in the "references" list in amsrefs in, say, boldface (or in lining numbers - I have oldstyle numbers set throughout the document). I can do it in ...
25
votes
2answers
17k views

\bm package versus \boldsymbol

I'm typing a bold vector small x with a tilde sign above it. Now when I want to write its derivative, I'm putting a dot on top of everything. This is giving me problems and I found one solution: ...
10
votes
5answers
9k views

\textbf{text} without increasing the length of the text

When using \textbf{text}, the length of text will be increased. Is there a way to make the text bold face without increasing its length? edit: Thanks to @Herbert and @Martin, here is a perfect ...
8
votes
2answers
5k views

Level of “boldness” changeable?

In my document which I compile with pdflatex (Ubuntu 11.04 TeX Live package). I use the Sans Serif font. Some keywords should be printed bold. I use the {\bf text} construct for this. However, the ...
7
votes
1answer
1k views

Adding bold labels to two different addresses in moderncv

I found this link here which was what I was looking for. It allows one to add two addresses to a CV written in moderncv. But I wanted to know how to modify the code so that labels like "Present ...
7
votes
4answers
28k views

Bold text and newlines inside equations.

What I'm doing: \usepackage{amsmath} \usepackage{amsthm} \usepackage{eucal} \usepackage{amssymb} \usepackage{mathrsfs} % don't know what some of those do, but i think all the math related ones are % ...
6
votes
2answers
914 views

Bold italic math with unicode-math

How can I get the output I get without unicode-math using unicode-math, preferably (not necessarily) using the same code (\boldmath)? I would like the solution to work with at least the XITS and Latin ...
4
votes
1answer
338 views

libertineotf and xelatex - bold smallcaps broken?

It seems like bold smallcaps don't work with libertineotf any longer? I am currently adjusting an old template which I was using with pdflatex, and I need those bold small caps: ...
4
votes
1answer
775 views

Can XeLaTeX generate bold and italic font styles for typefaces that lack them?

I use XeLaTeX in order to have easy access to fonts installed on my operating system, and Chinese in particular. Some of the Latin typefaces most pleasing to my eye do not have bold or italic font ...
3
votes
1answer
1k views

TeXlipse hotkeys for bold, italic, underlined

Are there any hotkeys to make a text bold or italic in TeXlipse plug-in? It is tiresome to type \textbf{} and \textit{} each time I need to emphasize some word. Most of other TeX-editors support ...
2
votes
1answer
168 views

Bold font and uarial

I found an old closed post related but without a satisfactory answer. I have to prepare a document with some specific guidelines. 1) Font should be Arial 2) Titles should be 14pt and Bold 3) Rest of ...
0
votes
1answer
2k views

Set the “font-weight: lighter/ bolder”

I need to know how to set the "font-weight: lighter/ bolder" font-weight: lighter/ bolder \documentclass{article} \usepackage{fontspec} \begin{document} \font\ta="Times New Roman":color=ff0000 ...
21
votes
5answers
4k views

Faster way of writing \mathbf

Is there a quicker way of doing boldface in math mode instead of typing out \mathbf{} each time? (It gets cumbersome when you denote simple vectors with boldface...)
24
votes
4answers
876 views

Kerning between bold and non-bold text

I'd like to write a word in bold followed by a comma and a non-bold word, like this: \textbf{why}, blah If I just write why, TeX inserts a kern to shift the comma a little closer to the "y". But ...
6
votes
1answer
208 views

\bfseries and alignment in table

I'm trying to highlight some decimal-point aligned entries in two large tables which are arranged in two columns. I'm using \bfseries to do this and unfortunately this seems to be affecting the ...
4
votes
2answers
388 views

MinionPro semibold/medium

After a day of struggle I managed to install the full family of MinionPro font on LaTeX. After an hour of googling I cannot figure out how to use the medium (semibold) font. Ideally I would have ...
9
votes
2answers
7k views

Bold, italic math (\bm) and sansmath

I'm typesetting both text and math in Latin Modern, except for the figures, where I would like to use a sans serif font for both text and math. I need to follow the ISO recommendations for math ...
11
votes
1answer
566 views

stmaryrd and boldsymbol: avoid warnings

Here are two examples: 1 \documentclass[a4paper,10pt]{article} \usepackage{amsmath} \begin{document} $\boldsymbol x$ \end{document} 2 \documentclass[a4paper,10pt]{article} ...
8
votes
2answers
364 views

Cannot get small caps acronyms to work using glossaries package

I've managed to get glossaries to set the acronyms in the body in small caps in the way I want, but in the list of acronyms they insist on coming out in lower-case. Can anyone (a) tell me what I've ...
8
votes
2answers
10k views

Bold sans-serif font in LaTeX

How can one format a chapter or section heading in bold using a sans-serif font? I tried \textsf{\textbf{bold sans-serif text}}, but it does not seem to work. Any idea?
8
votes
3answers
2k views

horizontal alignment of dot over hat over bold greek letter!

For some strange reason, this: \hat{\dot{\bm{\phi}}} prints the dot and the hat slightly off the left of the phi letter. Any ideas if this can be fixed? thanks. Using bm package for bold symbols.
6
votes
1answer
1k views

Bold small caps with mathpazo

I was using tgpagella but it doesn't have automatic old style numbers without resorting to fontspec. I was directed to use mathpazo like so: \usepackage[sc,osf]{mathpazo} How do I format mathpazo ...
5
votes
2answers
720 views

Formatting Equation Numbers

I need the numbers of equations and brackets around to be in bold. Doing like this \usepackage{etoolbox} \pretocmd{\theequation}{\bf}{}{} only the number is produced in bold, how to bold brackets? ...
4
votes
1answer
243 views

Pgfplotstable one row in bold

Considering this MWE, I am looking to obtain bold style on a row. The highlight's style works on columns but not on row. \documentclass{standalone} \usepackage{pgfplotstable} \begin{document} ...
3
votes
1answer
52 views

a bolder \overline [duplicate]

This is similar but hopefully not repetitive with other questions answered here... I want to use a straight line decoration above a formula to denote the mean value over observations. My main problems ...
3
votes
1answer
2k views

\bfseries bolds more than intended

Been using the \bfseries lately, instead of \textbf and those, because I learned that they were deprecated in newer versions. Anyway, the \bfseries bolds the rest of my document, even though I'm ...
3
votes
3answers
427 views

bold small caps with mathpazo

The URW Palldio font (mathpazo package) does not provide bold small caps. To get round this issue, I'd want to make a macro to use small caps usually and normal caps in bold text. I tried this code: ...
10
votes
1answer
340 views

Interaction of \boldmath and \not

It seems that using \boldmath (or \bm) along with the \not does not quite work so well. Here is an example using \not\subseteq and \not\le where the line representing negation does not stretch ...
10
votes
1answer
479 views

Elegant way to make entire citation bold

Is it possible to make an entire reference appear bold in the references section when using BibTeX? I'm using the IEEE templates and .bst. I found this related question, but is there a more elegant ...