{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
54 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
34 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
32 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
71 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
27 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
87 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} ...
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 ...
3
votes
1answer
54 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
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} ...
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
35 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
112 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
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 ...
2
votes
1answer
56 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
50 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
45 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
51 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
95 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
45 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
207 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
63 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 ?
3
votes
2answers
176 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
115 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
100 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
49 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
66 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 ...
1
vote
1answer
42 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
67 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
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.
3
votes
3answers
73 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
212 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
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 ...
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:
5
votes
2answers
288 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
703 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
115 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
83 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
134 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
135 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
95 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
183 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
167 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
208 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
760 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
90 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 ...