{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

0
votes
1answer
51 views

Problem with \textbf{} command

I am using the font Open Sans Condensed Light for my CV. In some parts of my CV I need to bold some text, so I use \textbf{} command. However, it does not work. How can I solve my problem? Thanks in ...
140
votes
7answers
217k 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 ...
1
vote
0answers
33 views

How to write the year in the reference list in bold when using natbib?

I am using the PhD thesis template by Sunil Patel (version 1.2) with Texmaker/MiKTeX on Windows 7. The template uses the natbib package with the style unsrtnat. Now I want the reference list to ...
4
votes
2answers
113 views

Unbold a \boldsymbol in mathmode?

I want to create a command that get an unbold character from a boldsymbol in mathmode. In my setup every vector is in bold font for example $\boldsymbol{x}$ and the command \coef{\boldsymbol{x}}{i} I ...
3
votes
1answer
67 views

siunitx: Bold single numeric cells with turned off alignment

Having a table with numeric values, I want to achieve: Automatically grouping digits into blocks of three Highlight some cells in bold However, no alignment is needed. To achieve the first, I use ...
1
vote
2answers
31 views

Typeset all caps to bold and all small to italics in math environment

I want to typeset all capital letters/symbols to be bold and all small letter to be italics in math environment by default. I was wondering how can I do that? \documentclass{article} ...
2
votes
1answer
23 views

Bold serif headings in beamer

I'm trying to get the same effect as \usefonttheme{structure bold}, but with a serif font. That is, (frame)titles in serif bold, other fonts serif regular. Unfortunately this does not seem to work: ...
4
votes
1answer
23 views

Problem with “check” notation and “bold mathcal” font

I am trying to use the \check notation for \boldsymbol{\mathcal A}, but it does not appear in the right place; please see below for a minimal code and comparison with ordinary A and ordinary ...
1
vote
2answers
78 views

Fontspec - Erewhon : what is the difference between setmainfont and usepackage?

What are the diffences and are there drawbacks involved in replacing \setmainfont{erewhon} by \usepackage{erewon}? In the first case there is no bold small caps, but there are in the second. This is ...
2
votes
0answers
19 views

Fontspec, bold small caps with Erewhon

How to have bold small caps with Erewhon ? \documentclass{article} \RequirePackage{fontspec} \setmainfont{Erewhon}[ Extension=.otf, UprightFont=*-Regular, ...
4
votes
1answer
52 views

How can I declare a heavy maths version without altering spacing and symbol choice when \hm is used from the bm package?

Consider the following MWE which is modified from my answer here: \documentclass{article} \newcommand\gmfamily{\fontfamily{mdugm}\selectfont} \DeclareMathVersion{varnormal} ...
7
votes
2answers
112 views

Put a dot above a bold symbol in an equation?

I know this is a really basic question, but I'm a newbie with Latex. How can I put a dot (to indicate the time derivative) above a bold symbol in an equation? When trying $\dot \mathbf{x}$, I get an ...
2
votes
1answer
76 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 ...
2
votes
0answers
9 views

Tikz \pmb results in 2 overlapping letters [duplicate]

For some reason, there seem to be 2 overlapped images of letters inside \pmb{} of the tikz draw feature. Here is a MWE \documentclass[11pt]{article} \usepackage{amsmath} \usepackage{tikz} ...
2
votes
1answer
37 views

Glossaries - Bold first letter of each word in \printglossaries

I am trying to use the glossaries package to print a list of acronyms. Could someone please point me in the right direction to bold the first letter of each word in the printed glossary? Image below ...
0
votes
0answers
23 views

set font weight in titles in a scrartcl

By default, most titles in a KOMA Script article (scrartcl) are set in bold (bx) weight. For a particular document, I use a special font via \usepackage{fontspec} \setsansfont{MySpecialFont} (this ...
9
votes
4answers
2k views

Bold cross references

I'm writing my PhD thesis in LaTeX and I have a lot of figures - each one is referenced within the text. So I have: \begin{figure}[h] ... ... \label{fig:stuff} \end{figure} then, later, in the ...
2
votes
2answers
304 views

I'm trying to bold this set of code: $T^{-1}(x)$=$\frac{9}{5}$x+32

I'm in LaTex, and am trying to boldface this whole line of text: $T^{-1}(x)$=$\frac{9}{5}$x+32. However, when I use \textbf, it only boldfaces x+32. Any suggestions on how to boldface it all? ...
0
votes
1answer
41 views

Customized bold labels for enumerate [duplicate]

I would like to have bold enumerate labels that both have a Roman numeral and a custom text in them, like on page 26 (pdf page 2) of http://www.ams.org/bookstore/pspdf/stml-48-prev.pdf. I'm using ...
2
votes
1answer
36 views

How to write a greek letter as bold and not italic? [duplicate]

How to write the letter θ as bold and not italic? I have tried the following but it gives me the θ as italics and not bold: \textbf{$\theta$}
4
votes
1answer
32 views

Question about bolding math and text simultaneously

Let me preface this by saying I am fairly hack-and-slash when it comes to LaTeX and so my solutions aren't generally very elegant. Also I will try to be specific with my question, but if you need more ...
4
votes
1answer
112 views

Why does \mathbf work for uppercase Greek but not for lowercase

I was always using \boldsymbol to make Greek letters bold, but today I made a typo and found that \mathbf also worked for \Omega. Now I am curious, why does it work for uppercase and does not for ...
2
votes
2answers
41 views

Bolding the first column of a table in math mode

What I want to do: Create a table in math mode without $...$ everywhere Bolding the first column What I have done: Using >{$}c<{$} to put table in math mode; see this answer. Following ...
2
votes
1answer
49 views

No \textbf commands available + text in borders

I am using the following packages for my simple document: \usepackage{newtxtext} \usepackage{newtxmath} \usepackage[T1]{fontenc} \usepackage[polish]{babel} \usepackage{xunicode} \usepackage{xltxtra} ...
5
votes
1answer
48 views

Can \cite use bold font?

Is there an option which allows me to typeset bold hyperlinks? Here's a MWE explaining my problem: \documentclass[a4paper, 11pt]{article} \usepackage[utf8]{inputenc} \usepackage{filecontents} ...
4
votes
1answer
94 views

Neither \boldsymbol{} nor \bm{} work in beamer class

I need to typeset some variables in math mode that are bold and slanted. I tried to use \boldsymbol (\usepackage{amsbsy}) and \bm (\usepackage{bm}). However, neither of them work. MWE: ...
0
votes
0answers
20 views

How to make References bold in the TOC while using chapterbib package

I am using the chapterbib package to have bibliography after each chapter. Also I am using the tocbibind package with option nottoc to have "Reference" displayed in the TOC. What I want is simply to ...
0
votes
1answer
28 views

Set italic and bold inside of \lstlisting

The following effect is what I want: And I wrote corresponding code as below \begin{lstlisting}[mathescape] \textbf{Document} ::= <Document [\textbf{\emph{documentName}}]$_0^1$ ...
15
votes
2answers
9k views

Bold upright i-hat and j-hat for vector notation

I am trying to typeset a vector with i-hat and j-hat components: \documentclass{article} \usepackage{amsmath} \usepackage{mathtools} \newcommand{\ihat}{\mathbf {\hat \imath}} ...
4
votes
1answer
100 views

Issues with nesting \textbf and \textit

I am trying to format a text so that it is bold and italic at the same time. I am doing this by nesting the \textbf and \textit commands, what should be no problem according to ...
0
votes
0answers
72 views

How to “unbold” this?

I am using TeX maker and I am facing a small problem. What I am doing is I am including my abstract that is already found on another .tex file under the name (abstract.tex). Now the thing is my ...
2
votes
2answers
67 views

How to set bold small-caps in a table header?

I've defined a command like so: \makeatletter \newcommand{\ion}[2]{#1$\;$\textsc{\rmfamily\@roman{#2}}\relax} \makeatother The purpose is to typeset an ionization state with small caps roman ...
2
votes
1answer
101 views

Text Bold with fontspec [closed]

I am trying to use: \usepackage{fontspec} \setmainfont{Cambria} But I cannot manage to emphasise the text by using usual \textbf or \textit. How to do it on Mac? Or which is the closest to ...
0
votes
0answers
52 views

Using a specific font for bold greek characters in maths

I'm writing a document involving some maths in which I use lots of greek letters. I would like to write some of them in bold, and the whole document is written in Linux Libertine font. Finally, I'm ...
3
votes
3answers
107 views

Making a line in a table bold

Please consider the MWE below, this gives following table. Now I want to ladder-like line passing through the table to be in bold. Any ideas on how this can be done? \documentclass{article} ...
5
votes
1answer
855 views

Does boldface sans-serif not work?

\documentclass{article} \newcommand{\nptime}{\ensuremath{\sf NP}} \newcommand{\bnptime}{\ensuremath{\sf\bf NP}} \begin{document} \nptime\\ \bnptime \end{document} I'm trying to make a macro to ...
1
vote
1answer
196 views

Beamer template setbeamerfont bfseries

I have a problem regarding the \setbeamerfont command related to alerted text. The usage is: \setbeamerfont{alerted text}{series=\bfseries} However, bfseries does not work in math mode - what can I ...
3
votes
1answer
67 views

Using pgfplotstabletypeset to conditionally bold small p-values

Following advice seen in other entries about using pgfplotstable on tex.stackexchange.com (such as pgfplotstable: Conditional post-processing of cell content on a per-column basis), I have encountered ...
3
votes
2answers
61 views

Bold brackets in equations

I want to write an equation with bold extended brackets. For instance in: \left[ \frac{1}{2} \vec{\nabla} \times \vec{v} \right] I want \left[ and \right] to be bold. I already tried ...
2
votes
1answer
52 views

How to user bold in custom command?

I would like to highlight some text in my paper as "programming code" with Courier font family and I found this solution. \newcommand*{\myfont}{\fontfamily{pcr}\selectfont} ...
3
votes
1answer
2k views

Capital Sigma in bold mathrm

I want to write capital \Sigma in bold mathrm. I tried \boldsymbol{\mathrm{\Sigma}} but seems like this does not work. Any help in this regard will be highly appreciated. Thanks
11
votes
1answer
887 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, ...
2
votes
0answers
55 views

Scaling Computer Modern width using Metafont [duplicate]

I am looking for a broader, fatter Computer Modern and I already found out that the only way to do this correctly is to use MetaFont to create a different version of Computer Modern. The idea is now ...
3
votes
2answers
47 views

Bolding the first line of \item elements, question/answer sytle

I was wondering if it was possible to bold the first line of an enumerated list without effecting the remainder of the list. The output I want would be the same as: \begin{enumerate} \item ...
5
votes
1answer
621 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} ...
0
votes
0answers
40 views

Why does source code have formatting in TexShop?

I'm using TexShop for Mac. I created a keyboard shortcut to insert the \mathbf command. This works fine. However, bits of my source code which I am typing are now in bold. This doesn't affect the pdf ...
25
votes
5answers
16k 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 ...
2
votes
1answer
70 views

Set all numbers greater than “X” bold

I am looking for a way to set automatically all numbers in mathmode bold (\mathbf) that are greater than a certain value. For example I set the new counter to 1000 in the preamble and every number ...
2
votes
1answer
65 views

How to Use Boldface when Using the Package ebgaramond-maths

I am using the package ebgaramond-maths (see http://ctan.org/pkg/ebgaramond-maths). Using this package, the boldface command \textbf does not actually put sentences in boldface. However, there are ...
0
votes
0answers
23 views

Correct usage of \mathbf [duplicate]

In my work I have: J_{\mathbf{\lambda}}(f(\mathbf{p},t)) but pdflatex prited Why? Maybe I'm not using mathbf correctly?