{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

184
votes
10answers
312k 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 ...
33
votes
7answers
25k 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?
224
votes
3answers
395k 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 ...
49
votes
2answers
4k 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 ...
53
votes
4answers
34k 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. ...
87
votes
4answers
121k 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 ...
54
votes
4answers
33k 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 ...
31
votes
5answers
20k 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 ...
19
votes
5answers
2k 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 ...
18
votes
3answers
4k 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: ...
42
votes
2answers
42k 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: ...
33
votes
4answers
29k 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} ...
30
votes
4answers
26k 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 ...
18
votes
5answers
21k 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.
11
votes
1answer
1k 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, ...
3
votes
3answers
1k views

Make author names bold in bibliography only

I am using an adaption of the verbose-ibid citestyle (as suggested here) and a custom bbx file based on authoryear. One of the things it changes is that it makes the author names appear bold. The only ...
10
votes
1answer
3k 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 ...
16
votes
3answers
4k 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 ...
18
votes
4answers
1k 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 ...
16
votes
2answers
16k 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 ...
3
votes
1answer
490 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 ...
11
votes
5answers
19k views

When using \textsc, LaTeX issues warning: Font shape `OT1/cmr/bx/sc' undefined

I started to write my CV in LaTeX. My document begins as \documentclass[a4paper]{amsart} \usepackage[latin1]{inputenc} \usepackage[finnish]{babel} \begin{document} \begin{center} {\large ...
5
votes
3answers
2k 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 ...
13
votes
2answers
737 views

Automatically bold first sentence of a floats caption

How to bold automatically the first sentence of the float caption and second sentence is normal? \begin{figure}[t] \centering \caption{First sentence. Second sentence.} \end{figure} Output should ...
11
votes
1answer
4k 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.
10
votes
4answers
64k 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 % ...
8
votes
1answer
850 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} ...
7
votes
1answer
3k views

Using \scshape and \bfseries together

A very obvious one I suspect, but when I try to do the following the small caps are over-ruled by the boldface, so I get lowercase rhubarb rhubarb. Is there an easy way to get \scshape\bfseries? ...
3
votes
1answer
2k views

Text appearing bold on some pages with images [duplicate]

Possible Duplicate: Why are some pages in my PDF coming out bold? For some reason, all the text on certain pages is appearing bold when there is a picture on the same page. I saw the other ...
12
votes
1answer
10k 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?
9
votes
3answers
23k views

LaTeX enumerate - bold item with non-bold text

I'm trying to customize the environment enumerate where the \item is bold but the text is not bold. What I've tried is (at the suggestion of one of the google-results): \let\origitem\item ...
7
votes
4answers
4k views

A bold plus symbol in math mode

I'd like to use a different + symbol in addition to + in math mode, preferably one which is just bolder than the standard one. I'm currently using \pmb{+} from the amsbsy package, but it's a bit too ...
4
votes
3answers
2k 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
328 views

How to have bold font in mdframed environment?

I did not find bold word in the manual. My tex is: \documentclass{article} \usepackage[framemethod=tikz]{mdframed} \newtheorem{question}{Question} \mdfdefinestyle{que}{ linecolor=cyan, ...
1
vote
1answer
4k 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 ...
9
votes
2answers
2k 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 ...
7
votes
1answer
2k views

Bold type and font specification with fontspec

When I manually specify the Linux Libertine O font types fontspec should load, the bold type is significantly bolder than when I load the exact same font family as a system font. MWE: ...
18
votes
2answers
7k views

Specify different fonts for bold and italic with fontspec

The main font I use for my LuaLaTeX document lacks bold and italic variants. I'd like to specify a different font for those variants using the fontspec package. Initially what I had in my preamble ...
23
votes
3answers
1k views

Automatic bold for every first character of a line

It's possible to do this Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis ...
21
votes
4answers
6k views

Automatically typeset math in section headings in bold-face

This question is motivated by a question asked me by a friend who is working on his thesis in mathematics. His section headings occasionally contain math, which: he would like to be in boldface to ...
16
votes
5answers
26k 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 ...
25
votes
4answers
1k 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 ...
11
votes
1answer
5k views

Bold , italic (and sans-serif) math symbols

I would like to implement the suggestions in the TUGboat 30:3, 2009 about the upright/italic and bold/normal in scalars, vectors and tensors. All this is about math. I use this font: ...
9
votes
2answers
15k 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 ...
8
votes
1answer
2k 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 ...
8
votes
2answers
3k views

Is there any way other than \pmb to produce bold greek letters when mathptmx is used?

I know that mathptmx does not contain bold symbols for greek letters in math mode, and the result of \pmb is too ugly. Is there a way to specify LaTeX to use CM fonts for bold greek letters when ...
9
votes
2answers
298 views

\displaystyle and \mathbf with cmbright font

I would like to use bold symbols in superscript equations. To do so, I use \displaystyle as in \documentclass{standalone} \usepackage{amsmath} \begin{document} $e^{\mathbf{A}t}=e^{\displaystyle ...
8
votes
1answer
2k views

How to make all math equations bold by default?

I am using the bm package which provides the \bm command to boldify equations. However, all my equations need to be bold, and I find using the \bm command tedious. Is there a way to make the ...
7
votes
3answers
4k views

How can I get bold Greek letters with mathptmx?

I'm currently using these packages in my document: \usepackage{mathptmx} \usepackage[margin=1.2in]{geometry} \usepackage{fancyhdr} \usepackage{amsmath, amsthm, amssymb, amsbsy} \usepackage{graphicx} ...
7
votes
1answer
5k views

Define command for bold list-item

I have a set of commands for producing various kinds of specific list-items, such as \newcommand{\staritem}{\item[$\star$]} % not really, but you get the gist All the ones I currently have can be ...