Questions tagged [bold]
{bold} is specifically about making document elements bold (or removing this font attribute). For general questions about formatting document elements, use {formatting} instead.
928
questions
4
votes
1
answer
133
views
Bolding IPA symbols with tipa
I am using the tipa package for IPA in my dissertation. I would like to bold certain symbols, and have tried, e.g.: \textbf{\textipa{\!d}}. However, they do not bold in Latex's default font (computer ...
0
votes
1
answer
24
views
how to get the V and I bold in a formula in a subsection
this is the code
\subsection{$V_\text{GS}$ regelt $I_\text{D}$}
the V and I are not bold
when i try this with the bm package , i get an error
\subsection{$\bm{V}_\text{GS}$ regelt $I_\text{D}$}
\...
1
vote
1
answer
53
views
Bold math symbols as in text mode. Old Standard TT XeLaTeX fontsetup
I am using XeLaTeX 2023 compiler with an Old Standard TT font for both text and math modes. However, bold font in math mode doesn't work at all.
I want to use as the default bold math symbols the ...
0
votes
1
answer
23
views
Way to make mixed text and math mode bold with a single command
Is there a way to make the following bold by wrapping in a single command?
This is a some text with $\psi$ and other math symbols such as $\Delta m$ etc.
Or at least a single command to work on $\...
0
votes
0
answers
32
views
how Do I Enhace (bold, Underline or Italise) texts in twenty seconds cv
I am trying to use the twenty-second CV class to create my CV, and I would like to enhance (bolden, underline or italicise) some texts, like underlining the places I have worked and bolding the key ...
1
vote
2
answers
69
views
Bold font style in \verb environment
I'm looking to get a \verb string to output with bold font style as well as word wrapping. The closest I've come is by using the commented code rather than the currently live one. I realize I'm ...
0
votes
0
answers
31
views
Making Table of Contents entries boldface
So far, I want to create this kind of Table of Contents for my research proposal:
Sadly, all I have is this one:
Here's my MWE:
\documentclass[a4paper,12pt]{report}
\usepackage{indentfirst}
\...
0
votes
1
answer
48
views
How can I make the first entry in a glossary bold?
I like to make the first entry bold. However, my approach is not working.
\documentclass{article}
\usepackage[acronym,nomain]{glossaries}
\renewcommand{\glsnamefont}[1]{\textbf{$\mathbf{#1}$}}%\mathbf ...
5
votes
2
answers
218
views
How to boldface text inside sunburst chart and increase font size a little?
I have used the help of How to make a sunburst chart in Latex? and customized it to my need for creating sunburst chart. I need to boldface all the text inside it, and if possible, increase the size ...
3
votes
1
answer
145
views
How to Get Bold Text with TikZ Decorations?
MWE:
\documentclass{article}
\usepackage{geometry}
\usepackage{tikz}
\usetikzlibrary{decorations.text}
\tikzset{mydecor/.style 2 args={decoration={text along path,
text align={left indent=2em},...
4
votes
2
answers
228
views
What is the "default font family" analogue of `\mathbf`, `\mathit`, `\mathrm`, etc.?
I was recently editing a MO post in which a user wanted to name a property depending on a real parameter $c$. The name was originally typeset as $\bf (P_c)$, but, of course, this puts the $c$, as ...
4
votes
1
answer
125
views
Confusing scoping of bolding in beamer
I'm not sure if I've happened on a bug or am merely misunderstanding how some font commands in latex ought to behave. The following is a heavily minimized example that produces a bolded "tt" ...
0
votes
1
answer
49
views
Make rest of a line bold
Referring to
Color until line break (without luatex)
where a solution was given to colorize the rest of line (from any point upto its end), I tried to put the text in e.g. bold rather than coloring it,...
0
votes
1
answer
24
views
Align bold numbers with roman ones in table of contents
General overview
In TOC the page numbers of chapters (in bold) and section (in normal font) occur a ugly shift. I search a way to make them aligned.
MWE
Here is a MWE to reproduce this behavior:
\...
0
votes
1
answer
80
views
Make bold a name containing an empty space in the bibliography biblatex
I am implementing the first solution presented here to make bold a selection of names in the biblatex bibliography.
The problem I have is with names containing an empty space " ". The ...
2
votes
2
answers
45
views
Unbold maths in thmbox title?
So I've been trying to use thmbox to add some interest to my undergrad report, but I didn't like the default style and so I'm trying to adjust it. I've got it mostly how I want, except any maths in ...
2
votes
1
answer
56
views
Automatic Chapter or Section Title in Bold face and Small Caps
I have a very basic question that is basically a follow-up of this old one.
How can I have small caps that are boldface in the title of a chapter or a section?
Below a MWE.
\RequirePackage{fix-cm}
\...
0
votes
0
answers
178
views
unable to typeset in bold with tgbonum
I am writing a presentation (beamer class) in MiKTex and for some reason I need to use the tgbonum typeface. The issue is that I am unable to generate bold text. Actually, I do receive the following ...
0
votes
1
answer
51
views
\documentclass{wlscirep}: the caption title of longtblr is not bold as the caption title of table
I am using both table and longtblr within \documentclass{wlscirep} (that you can find in "Template for submissions to Scientific Reports"). I have noticed that the caption title for the ...
1
vote
1
answer
31
views
How to make subsection text smaller and retain numbering functionality?
I use this package for making the subsection text smaller:
\usepackage{titlesec}
However, for some reason, the numbering gets lost, when I use this line of code to control the subsection:
\...
-1
votes
1
answer
70
views
Document where all the text and mathematics shows in bold [closed]
I would like to make a document where all the text and mathematics shows in bold. How can I construct a command to do so in my style file.
Have done
\newcommand\bolden[1]{{\boldmath\bfseries#1}}
but ...
2
votes
1
answer
357
views
\textbf \texttt \textit is not working anymore
I am trying latex for the first time to write an essay for school, in the beginning the \textbf \texttt and \textit worked normaly. But i started to use more and more different packages and copied ...
4
votes
1
answer
315
views
Bold garamondx font looks like computer modern in math mode
I'm using the garamond font from the garamondx package.
Using the following commands
\usepackage{garamondx}
\usepackage[garamondx,cmbraces]{newtxmath}
effectively changes the text font but I realized ...
0
votes
0
answers
9
views
pgfplotstable with bold an repeated headlines and sorting
My problem is similar to that of:
Sorting in Pgfplotstable not working
but it is not quite answered there. This user wants to sort a table
{
Matrikelnummer;Note
1010123;1.4
1010121;2.3
1010122;1.1 ...
2
votes
1
answer
261
views
\NP macro as in P=NP formula, to work for both text and math modes
I want \NP command to produce the string "NP" in both text and math (e.g. P=NP formula) modes. I also want it to be styled (even if it is in math mode) the same as the surrounding text (...
0
votes
0
answers
12
views
Bold typeface for mathematics [duplicate]
Have used \bfseries to change document to use bold text, but I also want all mathematics to be bold. Is there a command for that?
0
votes
1
answer
29
views
underset and mathbf don't work when package breqn is imported
Here is a Minimal Reproducible Example:
\documentclass{article}
% Packages
\usepackage{amsmath}
\usepackage{bm}
\usepackage{breqn}
\begin{document}
\begin{equation}
\pmb{\beta_i}
...
1
vote
1
answer
69
views
Specific difference between \math<xx> and \text<xx> in math mode
In the process of moving almost entirely to OpenType fonts for text and math, but trying to retain MathTime Pro II as the math font, I am realizing that some of these commands may not actually do what ...
1
vote
2
answers
135
views
Customizing a Basic List of Figures Display
Consider the code:
\documentclass[12pt]{book}
\usepackage{graphicx,caption}
\usepackage[T1]{fontenc} % Allows one to make bold smallcaps.
\newcommand\NewCaption[2]{\caption[#1]{\textbf{\scshape{#2 #1}...
1
vote
1
answer
60
views
Hyperref: How to start the newline label text after the CheckBox?
I want to use the checkbox with text, but it should be break to a new line and start first after the checkbox at the new line.
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\def\...
0
votes
1
answer
102
views
\textsf or \sffamily have different font than \section{}
This code
\documentclass{scrartcl}
\begin{document}
\section{Test}
\textsf{Test}
{\sffamily Test}
Normal Font
\end{document}
renders as this picture below. Why the text in sffamily is formatted ...
2
votes
1
answer
243
views
Unicode-Math Bold Math Font Not Correct
I am wondering what I am doing wrong. I am using LuaLaTeX and trying to load the kpfonts. I understand the math version of this font supports bold math. But when I use symbf I don't get the expected ...
0
votes
0
answers
42
views
How to make colon of \cvitem \cvdoubleitem bold?
Here's a example:
\documentclass[10pt,a4paper,sans]{moderncv} % possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', 'letterpaper', 'a5paper', 'legalpaper', '...
3
votes
2
answers
284
views
Looking for semibold version of erewhon
I am looking for defining a semibold Erewhon font for text mode. If there is none I'd be willing to fake it in the same manner as https://tex.stackexchange.com/a/290036/194729 but I don't how I can ...
0
votes
1
answer
45
views
Bolding text containig parentheses and underscores
I want to bold, e.g., Config_C2B(). I get error messages using \textbf, so I tried wrapping the text in \verb, but that still fails.
\documentclass[draft]{article}
\usepackage{fontspec}
\usepackage{...
2
votes
1
answer
132
views
How to apply bfseries to Montserrat Thin font?
I have the Montserrat Thin font installed from Google but can't get it to apply the bold style. E.g., my MWE tries to have a bold title using bfseries and bold text using textbf but neither works? I ...
4
votes
3
answers
402
views
Typewriter non-bold font with italic support and Greek letters
I'm explaining some code that uses Greek characters, bold, italic, and accents.
The default font does not differentiate between bold and non-bold.
\documentclass{minimal}
\usepackage[LGR,T1]{fontenc}
\...
3
votes
0
answers
88
views
How to add multiple/conditional fallbacks (fonts) using fontspec and lualatex?
MWE:
\documentclass{article}
\usepackage{luacode}
\usepackage{fontspec}
% Note that I don't use emoji in this example,
% but the font for them must be present (not removed).
\begin{luacode*}
...
0
votes
1
answer
233
views
How can I draw a bold diameter symbol?
I am trying to draw a bold diameter symbol.
I imported the diameter symbol by the package wasysymas shown in this answer and looked at several ways how to use bold math symbols as shown here and here, ...
4
votes
2
answers
172
views
\bm command affects other macros
I want to use bold sf-fonts to designate a special kind of variable. I do this by using the bm package and then wrapping \mathsf in \bm.
Unfortunately, this approach has the side effect that somehow ...
2
votes
1
answer
50
views
Font is "breaking" from being used in a figure caption (interaction with libertine?)
I am having a strange issue, originally from use of acmart but I've been able to make a minimal reproduction with article.
Here's my LaTeX source:
\documentclass{article}
\RequirePackage{libertine}
\...
0
votes
1
answer
1k
views
Matplotlib and Latex with all bold
I used to render all my Matplotlib fonts with latex and bold as follows:
plt.rc('font', family='serif',size=20)
matplotlib.rc('text', usetex=True)
matplotlib.rc('legend', fontsize=14)
matplotlib....
0
votes
1
answer
75
views
fontspec's SizeFeatures doesn't scale bold face
Suppose I want to scale down the English text in proportion to Hebrew text in my document.
To do that I use SizeFeatures in the following way:
% !TEX TS-program = xelatex
\documentclass{article}
\...
0
votes
1
answer
66
views
Package boldline: need some more space between the horizontal rule and the top line of text below it
My symptoms are:
As you can see the header text is too close to the topmost rule. How can I add some vertical space between that rule and the top line of header text?
My code:
\usepackage{boldline}
.
...
0
votes
1
answer
134
views
How to undo textbf? [closed]
For reference, please consider the following code, which "does not lie", i.e., it's true that only words word1 and word2 appear bold, and word3 appears non-bold.
\documentclass{article}
\...
0
votes
1
answer
45
views
Short-cut command for Bold face number
I often use short-cut command for bold-face letter such as
\def\ba{\mathbf a} \def\bA{\mathbf A}
\def\bb{\mathbf b} \def\bB{\mathbf B}
...
which allow us to use $\bA$ instead of $\mathbb{A}$ ...
1
vote
1
answer
61
views
How can I load a different style of a font as its bold font
I am using the Junicode Two Beta VF typeface for my document. It comes with only two files, one for roman and one for italic. But if I run fc-list, I notice that the font includes a bold style through ...
1
vote
1
answer
70
views
How to Make a Portion of a Bold TOC Entry Not Bold on an Ad Hoc Basis
Consider the code
\documentclass[12pt]{book}
\usepackage{tocloft}
\renewcommand{\cftchapfont}{\small\bfseries}
\begin{document}
\tableofcontents
\addcontentsline{toc}{chapter}{INTRODUCTION (Unbold ...
1
vote
1
answer
36
views
How to use Nils L's "fake bold" for section, subsection, subsubsection, and paragraph headers?
I would like to (globally) set all section (subsection, subsubsection, and paragraph) headers to be \medbold as defined by
\newcommand{\medbold}[1]{%
\pdfliteral direct {2 Tr 0.3 w}
\pdfliteral ...
1
vote
1
answer
140
views
Upright and Bold Greek/Latin, sometimes
I'd like to have a macro that lets me say something like
\vector{lambda}
and get an upright and bold lambda. I would like to say something like
\matrix{Lambda} to get a capital, upright, and bold ...