{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
56 views

How to make $\exists$ bold

I have looked in symbols file and tried various forms of $\exists$ with various fonts but I always get something that appears very thin. As if there is no bold version. Is there a way of ...
6
votes
2answers
45 views

How do I set a formula in bold-face except for certain commands?

I am trying to typeset a sparse matrix: \documentclass{article} \usepackage{amsmath} \newcommand{\z}{0} % Zero entry \begin{document} $$ \begin{pmatrix} \dot{\mathit{vx}} & \dot{\mathit{vy}} &...
1
vote
0answers
19 views

Vertical bar in bold [duplicate]

I would like to create a vertical bar, as is, in a \textbf{#1} command: MWE: \documentclass{article} \begin{document} \textbf{Hello|there} \texttt{Hello|there} \end{document} which produces this:...
2
votes
1answer
40 views

How to make all hyphens (including automatically inserted linebreak hyphens) bold?

Is it possible to make the hyphen bold without making a virtual font? I have spent about an hour now trying to figure out how to get my linebreak hyphens bold. I understand that we cannot replace a ...
4
votes
1answer
21 views

Removing boldface from appendix chapters in TOC

How do I remove boldface from appendix chapter headings in the TOC? I would like the TOC to look like this: 1 First chapter   1.1 First section Appendices Appendix I First appendix ...
2
votes
0answers
38 views

Change formatting of an element in ChoiceMenu

Is there anyway to change color in the \ChoiceMenu items such as Item 1, Item 2, etc.? Or even bolding individual choices would work... I tried \textbf{Item 1} and \color{blue}{Item 1} and they both ...
1
vote
1answer
50 views

How can I write a bold version of the reduced Planck constant, `\hbar`?

I've tried \mathbf{\hbar}, \boldmath{\hbar}, and \boldsymbol{\hbar}, but none of them produce a bold version of the symbol.
9
votes
2answers
180 views

Lualatex and bm package

I've updated my latex packages yesterday and have now issues with lualatex. One problem arising for me now is, that lualatex does not print bold characters using the bm package. When I compile the ...
2
votes
1answer
57 views

bold issue in latex

\documentclass[a4paper,12pt]{report} \usepackage[Sonny]{fncychap} \usepackage{fullpage} \usepackage{algorithm} \usepackage{graphicx} \usepackage[T1]{fontenc} \usepackage[toc, page, header]{appendix} ...
0
votes
1answer
28 views

Bold text AND math [duplicate]

Say that I have a phrase that I want to embolden: $A$ is $\sigma$-strongly monotone. How do I embolden the whole thing with one command? I don't want to individually type \textbf{} and \mathbf{} ...
2
votes
1answer
50 views

How can I get an lower-case “L” with a hooked tail [duplicate]

I'm marking up some text that includes "l" as a vector, so I'd like to be able to use a bold font. \mathbf{l} gives a straight up-and-down kind of l which looks like a 1 (one) or an I (capital "i"): ...
2
votes
2answers
126 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
46 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} \begin{enumerate}[align=...
11
votes
3answers
572 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
44 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 onwards,...
1
vote
2answers
95 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
43 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 ...
3
votes
1answer
34 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
116 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
178 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
83 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
409 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
78 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
37 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
174 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
87 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
109 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
36 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
105 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
70 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
60 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
106 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
153 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
16 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} \usepackage[nochapters]{...
1
vote
1answer
50 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
37 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
24 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
104 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
108 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
211 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
138 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
87 views

xits-mathbold.otf: Some ugly symbols [closed]

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} \setmainfont{xits-bold....
1
vote
1answer
85 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
60 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
129 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
46 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
99 views

Problem with \textbf{} [closed]

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
241 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: ...