{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
2answers
44 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
28 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
47 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
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
28 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 ...
0
votes
1answer
71 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
34 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
51 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
40 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
35 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
86 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
43 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
87 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
34 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
191 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
49 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
24 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
165 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
73 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
97 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
44 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
60 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 ...
0
votes
0answers
33 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
61 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
22 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
60 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
198 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
40 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
47 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
49 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
269 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 ...
2
votes
2answers
485 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
106 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
65 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
102 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? ...
4
votes
2answers
126 views

Redefine \textbf to always be sans serif

As the title says, is there any way to make bold text automatically also be typeset in sans serif? I'm thinking something along the lines of \renewcommand{\bfdefault}{???} I don't know what to ...
1
vote
1answer
81 views

Problem with tocloft, minitoc and bold math mode

To ensure equations in headings are written bold as well I have added the following command to my document: \makeatletter \g@addto@macro\bfseries{\boldmath} \makeatother This works very well until ...
0
votes
1answer
135 views

Bold or arrow vectors with new command

Im quite new to latex, I would like to make either bold or arrow vectors. I found many solutions to this but i cant see where i am doing it wrong, my code is \documentclass[a4paper,11pt]{report} ...
3
votes
1answer
163 views

Package algorithm

I am using algorithm package in order to create a pseudocode. But I would like to modify the way it appears some lines. Here is my code: \documentclass[twoside,12pt]{book} \usepackage{algorithm} ...
1
vote
0answers
183 views

About “Times New Roman” with Greek characters, Italic characters and Bold characters

I'm japanese student, so i am not good at using English. Sorry. I want to use Bold Greek characters, Bold Italic Greek characters and Italic Greek characters with using "Times New Roman". But, now ...
3
votes
1answer
476 views

How to perform keyboard shortcuts like Ctrl+I for italics or Ctrl+U for underlining in LyX?

Every time I try to use the aforementioned keyboard shortcuts, LyX says "Command Disabled". How do I activate these shortcuts?
1
vote
1answer
84 views

How can I have no bold in summation?

I had pass an algorithm with a lot of summations (Σ) in a .tex file using amsmath and everything was OK, now I have include this file with the appropriate transformation in the preamble of my thesis ...
4
votes
2answers
59 views

alignat with bolded line numbers

$$ \begin{alignat}{5} 2c_1&\;+\;&5c_2 &\;=\;& 1\\ -c_1&&&\;=\;&-8\\ 3c_1&\;+\;&4c_2&\;=\;&12 \end{alignat} $$ The above automatically labels the lines ...
3
votes
3answers
215 views

Text in math mode: inherit bold but not italics

Can I define a macro \foo so that $\foo$ produces: bold sans-serif "foo", if the surrounding text is bold normal sans-serif "foo" otherwise. In particular, "foo" should never be typeset in ...
4
votes
1answer
93 views

\bf in the first argument of \cdot; causes the whole expression to become bold

I want just the first argument in bold, but when i try to select just the first argument using the \bf command it modified the whole expression. This is what I had \[ a = \frac12 \cdot \frac13 + ...
1
vote
1answer
59 views

Replace lambdas by bold lambdas in a macro

I am looking for a way to replace \lambda by \bm\lambda in some of my expressions. This is what I tried, without success: % arara: pdflatex \documentclass{article} \usepackage{bm} ...
0
votes
0answers
65 views

Using HSRM beamer theme, change boldness of navigation bar font when selected

I am attempting to modify the HSRM beamer theme found here. At the top in the navigation bar on every frame, I'd like to make the font bolder when a section is selected. Currently, when I have the ...
5
votes
1answer
206 views

Bold and color (*) asterisk before enumerate

Good morning. It's my problem, add the bold (*) asterisk before enumerate items and also colored. Here my code, \documentclass[a4paper,twoside,openright,11pt]{scrbook} ...