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.

Filter by
Sorted by
Tagged with
1 vote
2 answers
60 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 ...
JTShakes's user avatar
0 votes
0 answers
30 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} \...
Kenneth Ligutom's user avatar
0 votes
1 answer
46 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 ...
Thomas's user avatar
  • 5
5 votes
2 answers
214 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 ...
Ahmed Aafaq's user avatar
3 votes
1 answer
144 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},...
IdleCustard's user avatar
4 votes
2 answers
219 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 ...
LSpice's user avatar
  • 1,448
4 votes
1 answer
124 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" ...
daniel gratzer's user avatar
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,...
Jack's user avatar
  • 1,137
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: \...
fauve's user avatar
  • 2,499
0 votes
1 answer
79 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 ...
the world is not flat's user avatar
2 votes
2 answers
40 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 ...
spooleey's user avatar
  • 123
2 votes
1 answer
54 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} \...
Kolmin's user avatar
  • 559
0 votes
0 answers
176 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 ...
gallis's user avatar
  • 1
0 votes
1 answer
49 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 ...
Ommo's user avatar
  • 575
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: \...
MySQLInjection's user avatar
-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 ...
Veak's user avatar
  • 1
2 votes
1 answer
334 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 ...
Gijs van Asten's user avatar
4 votes
1 answer
313 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 ...
Imotep's user avatar
  • 141
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 ...
Fuzzy's user avatar
  • 43
2 votes
1 answer
247 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 (...
porton's user avatar
  • 1,208
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?
Veak's user avatar
  • 1
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} ...
FluidMechanics Potential Flows's user avatar
1 vote
1 answer
67 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 ...
Mike Pugh's user avatar
1 vote
2 answers
133 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}...
IdleCustard's user avatar
1 vote
1 answer
57 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\...
ikreb's user avatar
  • 491
0 votes
1 answer
97 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 ...
lazyboy's user avatar
  • 414
2 votes
1 answer
228 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 ...
Nukesub's user avatar
  • 545
0 votes
0 answers
39 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', '...
user129393192's user avatar
3 votes
2 answers
283 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 ...
Moritz Schauer's user avatar
0 votes
1 answer
44 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{...
shmuel's user avatar
  • 1,439
2 votes
1 answer
128 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 ...
buttonsrtoys's user avatar
4 votes
3 answers
393 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} \...
Atcold's user avatar
  • 1,717
3 votes
0 answers
84 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*} ...
Andrew15_5's user avatar
0 votes
1 answer
205 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, ...
OuttaSpaceTime's user avatar
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 ...
user1512263's user avatar
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} \...
joshuahhh's user avatar
  • 123
0 votes
1 answer
985 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....
diedro's user avatar
  • 179
0 votes
1 answer
73 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} \...
tush's user avatar
  • 1,115
0 votes
1 answer
64 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} . ...
coderodde's user avatar
  • 549
0 votes
1 answer
129 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} \...
Prof.Chaos's user avatar
0 votes
1 answer
42 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}$ ...
Seung Hyeon Yu's user avatar
1 vote
1 answer
58 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 ...
Amarakon's user avatar
  • 165
1 vote
1 answer
66 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 ...
IdleCustard's user avatar
1 vote
1 answer
35 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 ...
cluelessmathematician's user avatar
1 vote
1 answer
133 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 ...
user54858's user avatar
0 votes
0 answers
41 views

Bold citations with page number

I'm trying to change all of my citation call-outs into bold font. I found similar questions where the where a simple macro was used to change the \citep and \citet commands. However, while this works ...
Nevenoe Guegan's user avatar
3 votes
1 answer
139 views

How to add (fake) bold feature to fallback font using luaotfload luatex

I have this in my preamble: \usepackage{luacode} \begin{luacode*} luaotfload.add_fallback("FallbackFonts", { "Noto Color Emoji:mode=harf", "Noto Sans CJK JP:" }) \end{...
Andrew15_5's user avatar
3 votes
2 answers
189 views

Making single section title in toc bold

I am writing a paper and I need to have the introduction (Einleitung), conclusion(Schluss), list of figures and list of tables to be bold. Meaning all unnumbered entires. Just like the Bibliography (...
I Am Lost's user avatar
1 vote
1 answer
91 views

textbf is bolding all following text beyond the bracket closure

I have a series of .tex files that are being compiled by lualatex, and this particular .tex file is making Title 4 and all the text in the following .tex files appear bolded after compilation even ...
Cole MG's user avatar
  • 145
2 votes
1 answer
200 views

Replace bold with semibold using `kpfonts`

I'm using kpfonts to compile a pdf using PDFLaTeX, and I generally like the results. But I find the bold font to be too... bold. I know kpfonts has a semibold variant, but I cannot find a way to ...
Akul Bhatt's user avatar

1
2 3 4 5
19