{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

2
votes
1answer
25 views

Change Formatting of \subsubsection just once?

For a part in a subsection of my book I use a \begin{mdframed}[backgroundcolor=lightgray], which is a grey box aroound a part of my text. I would like the subsubsection title in the box, and only in ...
2
votes
2answers
77 views

How to make font 'semibold'?

How do I change the boldness of my font to semibold ? Below is the initialization of the code that I copied online for my CV. I am very new to latex so I understand close to nothing as of now. I hope ...
4
votes
2answers
125 views

\bold in math environment

Having forgotten the command to make text bold in math mode I naively tried $\bold{bold var goes here} these maths symbols are not bold$ and it worked! I became immediately suspicious as I know ...
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 ...
184
votes
10answers
313k 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 ...
3
votes
5answers
63 views

Mathbf error in displaymath mode

I get a recurring error when working with \begin{equation}. If use \mathbf it returns an error saying that it will only work in math mode. Is there anyway around this? The first column runs badly, ...
14
votes
2answers
349 views

Is there any reason not to use \let to redefine a deprecated control sequence to the currently recommended one?

I understand that \bf and \it are both deprecated in the current version of LaTeX. To the best of my knowledge, the correct control sequences replacing them are \bfseries and \itshape. Is there any ...
3
votes
1answer
44 views

Sans-serif bold math with newtxmath

I'm writing an article whose math font needs to be Times New Roman. To this end, I'm using the newtxmath package. However, it doesn't seem to support sans-serif bold in math mode. Usually I can write ...
1
vote
0answers
27 views

cannot see bold and italic char in xelatex

I am writing a Persian article using Xelatex typesetting and the xepersian package. My problem is that I cannot see characters get bold or italic using textbf and textit respectively. This is my ...
12
votes
3answers
1k views

How to write bold, italic and sans-serif at the same time?

My title is bold and sans-serif right now but two words in the title have to be italic in addition (scientific name of bacterium). Currently I'm using \selectfont to make the whole thing sans serif ...
2
votes
1answer
67 views

Bold text with cvlanguage and cvcomputer in moderncv

When I typeset \documentclass[11pt,a4paper]{moderncv} \firstname{firstname} \familyname{familyname} \title{title} \address{address1}{address2} \mobile{mobile} \email{email} \begin{document} ...
9
votes
3answers
13k views

Add bold enumerate items

I would like to add bold items with enumerate in my report. How can I do that using \usepackage{enumitem}?
1
vote
1answer
55 views

Non correct output of bibliography entries after highlighting an author

Following the instructions provided by gogolin in this [topic][1] I encountered some problems in the output of my bibliography: Instead of getting Doe J., Smith A., ... it is displayed Doe, J. ...
4
votes
2answers
167 views

How to add overline on top of $\bm B$?

I represent a matrix in bold form throughout my paper, as $\bm B$. I need to add an overline to indicate a subtle transformation to this matrix. However the command $\overline{\bm{B}}$ does not seem ...
1
vote
1answer
94 views

why neither \bf nor \textbf works in this?

I have used \bf, \bfseries and \textbf for some particular texts in my answer sheet yet I am unable to detect what makes these fail to work in this document. Could you help to find it? ...
0
votes
0answers
21 views

Bold table row style applying to multicolumn

I want to define a bold table row style, also applying to multicolumn entries I created a setup following Make first row of table all bold to define a new command \rowstyle{...} which can be used ...
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 ...
7
votes
1answer
50 views

bold just one line inside of lstlisting

How can i bold just one line in this code? \begin{lstlisting} //Algoritmo 2 int f2 ( n ): local i , j , r =0; para i = 1 a n -1 para j = i +1 a n r = r + 2; ...
1
vote
3answers
53 views

Font shape not available with `newpx`

Have a document with newpx and use bold, small caps and large text (with MikTeX 2.9). \documentclass{article} \usepackage[largesc]{newpxtext} \begin{document} Normal \textbf{Bold textbf} {\bfseries ...
7
votes
0answers
46 views

siunitx: bold unit in S-column header [closed]

I'm trying to insert a bold unit with \si in a tabular header in an S-column. But siunitx simply refuses to set it in bold. It only works if I use another column type (or e.g. \multicolumn{1}{c}). ...
9
votes
3answers
4k views

How do I get \texttt with bold face in LaTeX?

This question was asked and answered 20 years ago but I wonder if there is a more modern solution today that does not involve quite so much hackery with overriding settings in font files. I want my ...
7
votes
2answers
92 views

Custom command with \ensuremath within \textbf

I have created a custom command to help me with scientific number notation: \newcommand{\E}[1]{\ensuremath{\cdot 10^{#1}}} The command works OK, but now I have a need to bold some of the numbers ...
5
votes
2answers
139 views

How to boldify math equation and plain text simultaneously

We can boldify math equations using \mathbf{} and normal text using \textbf{}. Suppose I want to boldify a line which contains both normal text and mathematical part simultaneously using a single ...
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 ...
2
votes
1answer
13 views

Make spaced caps bold in classic thesis environment

In a classic thesis environment I want to make spaced caps bold. Can somebody tell me how to do this since \textbf is not working properly? \documentclass{article} ...
1
vote
1answer
38 views

Define a rule for all bold math letters

I have been using \def\H{\bm{H}} to define bold letters in math mode. Is there a way I can define a general rule for any letters? Like I want a rule that allow \*anyletters*{\bm{*anyletter}* % ...
1
vote
1answer
27 views

Incompatibility between “breqn” package and bold box symbol (\Box)

Using a bold \Box symbol from the amssymb package leads to a strange output showing three consecutive bold box symbols of decreasing size when breqn package was loaded. This effect appears with the ...
0
votes
0answers
23 views

Bold but not italic! [duplicate]

I'm using \textbf{3} in math mode (\[ ... \]) to get a bold 3. The problem is that I'm sometimes in an italic environment. Then my 3 gets italic, too. But I don't want it to get italic. What can I do ...
1
vote
1answer
60 views

Unbold frontmatter chapter names in table of contents [duplicate]

According to the thesis guidelines set out by my university, the Chapter names in the table of contents must be bold. But all sections in the prefatory sections must be normal font (unbold) in the ...
0
votes
1answer
67 views

Semibold with lmodern? (Middle-bold)

I have my document ready to print, except the title. Regarding purely personal and aesthetic taste, I want it with serif with lmodern font, and a bit bold. However, for my taste, using \normalfont is ...
1
vote
1answer
199 views

Bold advanced math symbols

I am looking to get bold math symbols beyond simple characters. In particular, I'm having trouble with the following: \bm{$a\xleftarrow{r} b$} I've tried using several other packages besides bm, ...
33
votes
4answers
30k 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} ...
0
votes
0answers
26 views

How to boldify a part of text with maths? [duplicate]

If decide to go to bold mode and then I type inside maths, the maths won't be bold. \documentclass{article} \begin{document} \textbf{The unknown $x$ is to be found.} \end{document} will produce ...
2
votes
2answers
124 views

Bold first letter combined with smallcaps?

I am trying to automate this: I found this tip which provides the small caps (cool!) but not the bold first letter. The "bold first letter" answers I found were too convoluted for me to use them ...
0
votes
2answers
48 views

Making bold subsection-headings in math, but not bold in ToC

I am writing in the document type article, and I wish to have my subsection appear in bold itself, but appear normal in the ToC. I am trying to write a chemical formula, which automatically converts ...
1
vote
1answer
66 views

Bold row in table with first column in math mode

In my LaTeX document I have quite a few large tables where I would like to set the first row in bold font as well as the first column. This works nicely with some well-known tricks. However, when my ...
1
vote
0answers
69 views

xits-mathbold.otf: Some ugly symbols

I do not know how to get equations completely in bold without mistakes with Xits-boldmath. Here is my MWE: \documentclass{article} \usepackage{amsmath} \usepackage{fontspec} ...
1
vote
1answer
55 views

Bold incorrectly applied to Table of Contents

I am using the report class in TeXworks/MiKTeX and was provided with a style that is a little out of date. I am having trouble with a bold section format being transferred from a page into my Table of ...
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 ...
2
votes
2answers
134 views

Making row bold and keeping other formatting in pgfplotstable

I have a table where the last row needs to be bold. Currently, I can make it bold by following this question. However, when I make it bold, I lose all my number formatting. Here are the 2 images: ...
6
votes
1answer
43 views

Superscripts and bold dots

If I type $\boldsymbol{\ddot\xi}^{\,n}$ I get whereas on removing \boldsymbol and \, I get How do I get the superscript to appear like this also with \boldsymbol?
0
votes
0answers
72 views

Problem with \textbf{}

I am having a problem using \textbf{} and \textit{}. These commands just do not do anything. For example, I get for \textbf{tobebold} just "tobebold" without bold. Please somebody help... What ...
0
votes
0answers
53 views

Stop printing non-bold text in bold from PDF file [duplicate]

Despite everything, this problem is still occurring so I have re-opened the question. Even with: \pdfpageattr {/Group << /S /Transparency /I true /CS /DeviceRGB>>} Appended to the ...
225
votes
3answers
396k 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 ...
3
votes
1answer
171 views

Make the some parts of pseudocode bold

I just want some piece of pseudo code (below) to stand out in my algorithm. So I made the all the keywords (if, end for etc) unbold with \AtBeginEnvironment{algorithmic}{\let\textbf\relax}. Now how ...
8
votes
2answers
183 views

Why does scshape and bfseries in urw-garamond lead to slanted letters?

Consider this example: \documentclass{article} \usepackage[urw-garamond]{mathdesign} \begin{document} {\bfseries \scshape Hello World!} {\bfseries Hello World!} {\scshape Hello World!} ...
3
votes
1answer
46 views

I am trying to modify the table's title with bold

I have the following minimal example: \documentclass[12pt, oneside]{article} \usepackage{booktabs} \usepackage[a4paper,margin=1in]{geometry} \begin{document} \begin{table}[h!] \caption{Final ...
2
votes
2answers
67 views

How to create a missing bold font in ConTeXt using overlays?

I’m using ConTeXt and a font called “CMU Concrete”. I’d like to create a better bold font than the one provided (it’s not bold enough). Instead of using FontForge or fake bold, I tried to do it ...
12
votes
4answers
1k views

Math in table of contents, bookmarks and heading

I would like to obtain the following: the title of a section occurs in the text as Math symbols $\boldsymbol{\sum, \int}$, in the table of contents it is Math symbols $\sum, \int$ (without bold), in ...
2
votes
1answer
93 views

Using bold font to display a macro in LaTeX

I need to type a letter, and according to German standards, there must be a subject line in bold font. I'm using the moderncv documentclass, with the fancy option, and I've defined the command ...