{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
2answers
113 views

Format whole row of table as bold

This appears to be a problem which a few people have had before, but since I've been unable to find a solution which works I thought I should ask again. I have a LaTeX table of 5 columns width and ...
3
votes
2answers
39 views

Default formatting for manually entered enumerate tags

How can I bold the item numbers in enumerate when I am manually entering them? Here's a MWE and its output: \documentclass{article} \usepackage{enumitem} \begin{document} ...
11
votes
3answers
562 views

Smart functions

The \emph command is smart. It behaves differently depending of the nesting level. \emph{Italics within \emph{italics within \emph{more italics} and} so on}. outputs: Italics within italics ...
0
votes
0answers
37 views

Strangely LaTeX error for using \boldsymbol command

The LaTeX's compiler, errors for bolding the mathematic formula very strangely! To blacken the mathematic characters, I've frequently used the \boldsymbol command, but after some certain point ...
1
vote
2answers
63 views

Bold upright lowercase greek symbols [closed]

In a physics textbook I met an equation, as in Figure above, with the bold upright greek letter β. How could I edit equations that contain such characters in boldface?
3
votes
1answer
27 views

Command for both bold and colored text

Every time I want a bold text, I want it colored blue. Currently, I am using: \textcolor{blue}{\textbf{some bold and colored text}} To save time, I can define a command to do both at once. How can ...
2
votes
1answer
28 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
79 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
137 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 ...
3
votes
5answers
69 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
365 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
52 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
29 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 ...
4
votes
2answers
168 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 ...
2
votes
1answer
73 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} ...
1
vote
1answer
101 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
26 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 ...
7
votes
1answer
65 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
59 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
47 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}). ...
7
votes
2answers
99 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
141 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 ...
2
votes
1answer
14 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
40 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
30 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
69 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
84 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
203 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, ...
0
votes
0answers
27 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 ...
1
vote
0answers
71 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
69 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 ...
0
votes
2answers
51 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
67 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 ...
6
votes
1answer
44 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
75 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 ...
2
votes
2answers
158 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: ...
8
votes
2answers
194 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!} ...
2
votes
2answers
69 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 ...
2
votes
1answer
100 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 ...
0
votes
0answers
54 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 ...
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 ...
1
vote
1answer
45 views

The first page of the bibliography does not follow page number format

Apology for asking a simple question (I couldn't find a direct answer from searching). The first page number inside the bibliography looks like The other pages have the page number bolded, How ...
1
vote
1answer
50 views

Change default bold series for teletype only

Consider this example: \documentclass{article} \usepackage{lmodern} %% see below \usepackage[T1]{fontenc} %% \begin{document} Hello \textbf{World \texttt{of} Code!} %% ...
0
votes
0answers
28 views

How to make the \textsc words bold? [duplicate]

I want the title to be in the font small capital but want them to be bold at the same time
3
votes
1answer
41 views

How can I prepend code to the \tableofcontents command using etoolbox?

This started by the need to have a table of contents entry in my PDF bookmarks. After accomplishing that, I decided that I wanted to have it always appear bold (supported as of PDF 1.4). I would like ...
1
vote
1answer
83 views

Removing bold font and editing font style

(1) I am in section* mode in LyX. I am using (article) class. Everything seems fine except the font. It's all in bold. How can I undo this? I do not want bold font to be the default every time I am in ...
8
votes
2answers
130 views

bold exponent in siunitx

I have a large table of numbers generated from a script, and I use siunitx to format the output nicely. I would like to highlight the important part of the numbers, which is the exponent, in bold, so ...