{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
76 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 ...
3
votes
5answers
62 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
346 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
41 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
26 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
166 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
63 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
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 ...
7
votes
1answer
49 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
51 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
45 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
91 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 ...
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
58 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, ...
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 ...
1
vote
0answers
67 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
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 ...
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
54 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
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 ...
2
votes
2answers
132 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
181 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
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 ...
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 ...
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 ...
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
43 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
48 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
72 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
125 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 ...
2
votes
1answer
173 views

\emph gets lost in beamer class when used within italic or bold text

I use the beamerclass in Latex. Using \emph has worked fine so far. Now I want to use \emphwithin a bold (\textbf) and an italic (\textit) sentence. However, the output seems to ignore the emphases. ...
1
vote
0answers
93 views

ModernCV babel and bold text issue [closed]

i had an issue with moderncv and greek language so a user told me to add these lines in my code (see here) \usepackage{xpatch} \makeatletter % provide an expandable version of \roman ...
5
votes
3answers
500 views

How to Bold and Italic a particular word throughout the document in latex?

I need to use Bold or Italic a particular word through my latex document, where ever it is used, without explicitly mentioning textbf{} and textit{} on each of them. How can I do that? A good ...
1
vote
1answer
43 views

How to specify theorem styles (amsthm) should use bold equations (bm)?

From other questions on this site, I've come to the conclusion that bm is the easiest (best?) way to get bold equations. I'm using amsthm to define a problem style, but the \bfseries doesn't make the ...
6
votes
2answers
326 views

Why can't I get a bold Greek letter?

My MWE is as follows: \documentclass[paper=a4, fontsize=12pt]{article} % A4 paper and 11pt % font size \usepackage[english]{babel} % English language/hyphenation \usepackage{amsmath,amsfonts,amsthm} ...
1
vote
1answer
54 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. ...
2
votes
1answer
44 views

How to unbold citation number in amsproc class

\documentclass{amsproc} \begin{document} def \cite{abc} \begin{thebibliography}{99} \bibitem{abc} abc \end{thebibliography} \end{document} I am using the amsproc class to typeset a math ...