{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
21 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
28 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
100 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
37 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
36 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
34 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
60 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
11 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
16 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$ ...
4
votes
1answer
75 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
49 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
44 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
77 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
38 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
95 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} ...
3
votes
2answers
58 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 ...
3
votes
1answer
60 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 ...
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} ...
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
38 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 ...
1
vote
1answer
151 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 ...
0
votes
0answers
39 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 ...
2
votes
1answer
63 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
54 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
65 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 ...
7
votes
2answers
97 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
71 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
104 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
52 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
227 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
87 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 ?
3
votes
2answers
187 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
173 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} %: ...
7
votes
1answer
102 views

Why does bm fail for DeclareMathOperator

I like the bm package. However, it seems to me the line \DeclareMathOperator{\curl}{\bm{curl}} won't make curl bold. Although changing bm to mathbf will do the job, I have to use mathbf everytime ...
2
votes
1answer
53 views

Bold code in listings environment

I want to do a box like this but the bold text doesn't appear. Edited: \documentclass{article} \usepackage{listings,xcolor,etoolbox,lmodern} \definecolor{verbgray}{gray}{0.9} ...
3
votes
1answer
73 views

Why aren't my keywords recognized when immediately followed by a comma?

I am using listings to display custom keywords in bold. In my listings, those keywords are sometimes followed by a comma. However, in the example below, any comma following a keyword will prevent the ...
2
votes
1answer
58 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
1answer
75 views

Remove bold decoration from symbol

How can I remove the bold decoration from a symbol defined via glossaries? I.e., I need a command to be able to write something like $\nonbold{\gls{mysymbol}}$. The following example illustrates my ...
0
votes
0answers
24 views

bold the glossary and acronym heading

Does anyone know the best way to bold the "glossary" and "acronyms" both in the table of contents and at the start of each? Thanks in advance for help.
3
votes
3answers
111 views

How to boldface only a subsection number in amsart?

If I use the code \makeatletter \renewcommand{\@secnumfont}{\bfseries} \makeatother from How to boldface a section header? (including title and number) it makes the number of sections bold as well. ...
2
votes
3answers
227 views

How to define vectors when used in equation

So in short I want to have something that looks like this: So far I managed to get to the following output: with the code as follows: \documentclass[12pt, a4paper] {article} ...
2
votes
0answers
14 views

Article document class make subsection headings italic and remove boldface [duplicate]

How can I make only the subsection headings italic and remove boldface in article document class ?
1
vote
1answer
42 views

Titles become 'unbolded' when adding in a new theoremstyle

Up until now, whenever I create a new definition or theorem etc., the title (so the word 'Definition' etc.) would come up in bold. However, when I try to add '\theoremstyle{remark}', the titles stop ...
1
vote
0answers
75 views

With bibliography style “achemso” publishing years of books aren't bold

I'm currently using achemso as my bibliography style. And i have to cite some books, but unlike for papers the publishing year for the books does not appear in bold numbers. Does anybody have an idea ...
2
votes
2answers
54 views

First paragraph of the enumerate in bold

i want only the first paragraph of the enumerate in bold. Today i'm doing this way: \item \textbf{TEXT_HERE} But i imagine there's a smarter way of doing this. That's what i want:
5
votes
2answers
315 views

Poster and (very) bold math fonts

I've spent several hours to put some mathematical laws for powers and logarithm on a poster. The output is too thin for reading it standing a few meters away, especially sitting in a classroom in ...
3
votes
2answers
893 views

How do I get \texttt with bold face in LaTeX?

This question was asked and answered 20 years ago but I wonder if there is a more modern solution today that does not involve quite so much hackery with overriding settings in font files. I want my ...
4
votes
1answer
124 views

Bold weight for custom font

I just found out today about the fontspec package, which I find very useful for fonts that I have installed system-wide. I'm a big fan of handwriting-like fonts and I happen to love Pecita. So much ...