{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
69 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
26 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
84 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} ...
1
vote
1answer
41 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 ...
5
votes
1answer
732 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
108 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
53 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
2answers
54 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
50 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
787 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
54 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
32 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
541 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
36 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
15k 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
55 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
48 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
22 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
43 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
91 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
49 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
92 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
44 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
200 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
60 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
28 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 ?
28
votes
6answers
8k 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
174 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
103 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
99 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
48 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
65 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 ...
22
votes
3answers
976 views

Automatic bold for every first character of a line

It's possible to do this Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis ...
2
votes
1answer
65 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 ...
132
votes
7answers
189k 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
23 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.
2
votes
2answers
52 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:
3
votes
3answers
70 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. ...
11
votes
2answers
947 views

Some citation numbers in bold, others not

I am writing a proposal with lots of bibliographic references. What I would like is to cite my own papers in bold, others in plain style like so [2,11-13,14,15]. Is there any way to do this? At the ...
2
votes
3answers
208 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} ...
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 ...
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
0answers
60 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 ...
5
votes
2answers
285 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
672 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 ...
5
votes
3answers
705 views

MinionPro semibold/medium

After a day of struggle I managed to install the full family of MinionPro font on LaTeX. After an hour of googling I cannot figure out how to use the medium (semibold) font. Ideally I would have ...
4
votes
1answer
111 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 ...
2
votes
2answers
76 views

Bold Greek letters in latex section name

I'm having small trouble with "pi" in section name \section{ $\pi$ } in LaTeX. I need to bold \pi but I do not know how to do it. I was try to use $\mbox{\boldmath${\pi}$}$, $\mbox{\mathbf{\pi}}$, ...
1
vote
1answer
129 views

Small caps and bold styles in beamer

I am trying to use small caps and boldface styles together in beamer but it is not producing the desired output. How is possible to use both styles without changing too much the default beamer's font? ...