{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
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
24 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
21 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 ...
8
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
34 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
28 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$}
2
votes
1answer
65 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 ...
4
votes
1answer
29 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
107 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
40 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
44 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
43 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
73 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: ...
135
votes
7answers
209k 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 ...
0
votes
0answers
12 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
21 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
89 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
56 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
58 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
87 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
49 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
100 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
827 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
174 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
64 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
59 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
846 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
42 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
597 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
67 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
61 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?
1
vote
1answer
77 views

How to remove bold font in Chapter number and pages in toc when using report class?

I have found a number of similar questions and answers and tried them all, but none seem to be working for me. I tried using the tocloft package and then \renewcommand for \cftchapfont and ...
8
votes
2answers
112 views

boldsymbol badly modifies spacing

In the example below, it is my feeling that \boldsymbol badly increases the horizontal spacing with the index: \documentclass[fleqn,11pt]{book} \usepackage{amsmath} \begin{document} ...
2
votes
1answer
80 views

\DeclareTextFontCommand and \textsl, \textbf,

I am working on a document, which uses the fontspec package to ensure the usage of company fonts for main font, sans-serif font and monospaced font. That is working fine. \usepackage{fontspec} ...
3
votes
1answer
109 views

How to make all math bold by default in LuaLaTeX

I would like to make all of my equations bold by default in a LuaLaTeX document that uses the lmodern math font. The answer to this question suggests using \boldmath, but I can't get it to work while ...
4
votes
1answer
56 views

Changing the language makes the font weight (semibold) go away

Here is a minimal working example: \documentclass{article} \usepackage{polyglossia,fontspec} \setdefaultlanguage{english} \setotherlanguage{latin} \setmainfont{Source Sans Pro} ...
3
votes
2answers
247 views

Bolding Math Acronyms

I need to have the math acronyms bolded as the normal string acronyms. Here is the example: \documentclass{article} \usepackage{hyperref} \usepackage[printonlyused]{acronym} \makeglossary ...
0
votes
0answers
105 views

Bold math symbols in ieeetran

I'd like to get bold math symbols in an IEEE conference paper. It uses the mathptmxpackage, which seems to not contain bold math symbols. Is there a possibility to get proper bold symbols without ...
2
votes
1answer
33 views

Question on bold item numbers only in \begin{enumerate}

I want to Write the following enumeration (A1) Text 1 (A2) Text 2 (A3) Text 3 such that (Ai) is bold but text i is in normal font. How to do it ?
29
votes
6answers
9k views

Faster way of writing \mathbf

Is there a quicker way of doing boldface in math mode instead of typing out \mathbf{} each time? (It gets cumbersome when you denote simple vectors with boldface...)
3
votes
2answers
194 views

Extension of double vertical line problem in the table

I would like to make $Des_e$ bold, and a vertical double line between $Des_e$ and $Des_o$. However I tried many times, I could not make it. Could you someone help me about it ?? thanks alot.. ...
4
votes
1answer
220 views

Making chapters bold in table of contents

Problem: How do I make chapter titles bold in the below MWE? Minimal working example: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[titles]{tocloft} \begin{document} %: ...