{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

8
votes
2answers
385 views

Dollar sign with txfonts and fontenc

I have a strange problem with the dollar sign ($) and \textbf{} when using the txfonts and fontenc packages. The dollar sign has a space after it. Both packages are required to reproduce the problem. ...
4
votes
1answer
80 views

Babel shorthands has a problem with \bm package

Using the babel command \useshorthands{"} prevents \bm package to work normally. \documentclass{report} \usepackage[T1]{fontenc} \usepackage[english]{babel} \useshorthands{"} \usepackage{bm} ...
2
votes
3answers
107 views

Bold text with nested braces

I'm sure this is an easy question, but I'm not sure what the proper terminology is to search for the answer. $$\textbf{k_{1,1}}$$ LaTeX gets all confused by this. How can I make k_{1,1} bold?
2
votes
1answer
397 views

False bold integral symbol

Why do I get a false integral symbol when I do \bm{\int(2x}? I've just loaded the package bm in a usual way, and I'm not using any other different font in the preamble.
4
votes
2answers
961 views

Old style number, bold small caps, and Palatino

I'd like to be able to have all three of the following in my document: the Palatino font bold and small caps old-style figures I'm currently using mathpazo with the options [osf] to get 1 and 3, ...
1
vote
1answer
4k views

Making section headings bold and sans serif

I would like to make section headings bold and sans-serif (helvet package). I found a snippet that produces sans serif headings: \renewcommand\section{\@startsection{section}{1}{\z@}% ...
5
votes
1answer
19k views

Underfull \hbox badness 10000 \textbf

Simple code (new to LaTeX). Receiving these errors: Underfull \hbox (badness 10000) in paragraph at lines 13--14 Underfull \hbox (badness 10000) in paragraph at lines 15--26 Underfull \hbox (badness ...
11
votes
1answer
1k views

stmaryrd and boldsymbol: avoid warnings

Here are two examples: 1 \documentclass[a4paper,10pt]{article} \usepackage{amsmath} \begin{document} $\boldsymbol x$ \end{document} 2 \documentclass[a4paper,10pt]{article} ...
2
votes
1answer
809 views

How can I change the chapter title bold in the table of content?

I am using classicthesis package. I want to add boldface to the font of the chapter title in the table of content. In the FrontBackMatter/Contents file, I add the following code: ...
6
votes
1answer
13k views

How to change fontsize in lstlisting without losing bold syntax highlighting?

If I load the listing package to set nice code and change the font size (like suggested there: Shrinking monospace style for listings package), I lose the syntax highlighting, because the font does ...
6
votes
1answer
173 views

Spurious dot with xeCJK, TikZ

I have a very strange problem when using TikZ and xeCJK. I managed to extract this MWE from my original sources: \documentclass{article} \usepackage{polyglossia} \setdefaultlanguage{english} ...
2
votes
1answer
242 views

Overriding `\bfseries` and `\itshape` to do special things for certain families

My problem arises from trying to work around the issue described in question 26276: I want to use SizeFeatures to explicitly select another family for small sizes, but this causes bold / italic / etc. ...
4
votes
3answers
645 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 ...
2
votes
0answers
32 views

Bold text multiple paragraphs [duplicate]

What I want is to be able to do \textbf{ paragraph 1 paragraph 2 } but the compiler complains that I've put new paragraphs inside \textbf{}. I had the same problem with \textcolor but this How ...
9
votes
1answer
684 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, ...
3
votes
1answer
535 views

Is there a bold italic \sigma and a sans serif bold italic \sigma?

And they look differently? I'm trying to typeset iso conform (vectors bold italic and tensors sans serif bold italic). Mechanical stress $\sigma$ is a tensor, but I also want to typeset the normal ...
2
votes
2answers
2k views

\ttfamily is too bold for me

I use the following settings for my listings: \lstset{ %basicstyle=\ttfamily\tiny, % small basicstyle=\ttfamily\scriptsize, % middle } But the font in the listings is too bold for me. I tried a ...
3
votes
0answers
503 views

typing in bold font in algorithmic environment [closed]

Is there a way to type some words in bold in an algorithmic environment? I want to have the word stop typed, but when I use \STOP, this gives me an error.
3
votes
1answer
636 views

Omit hanging indent in bibtex

I use \bibliographystyle{alpha} with bibtex (not biblatex). The document class is scrreprt. The output looks like [Abc07] Example Abc. The title and all other stuff. dddd. 2007. [Bcd08] Ex ...
2
votes
1answer
368 views

How to set italics and bold shortcuts like *bold* or _italic_

I remember seeing a possible solution here, but can't find it. Is there any way to simplify bold and italics so that instead of \textbf{bold text} and \textit{italics text} I use simple marks like ...
6
votes
2answers
850 views

How to get a bold wide tilde?

If I type \boldmath $\widetilde T$\unboldmath I get where unfortunately the tilde above the T is a little flimsy for my taste. Is there a better way to do this? I found a paper that has ...
2
votes
1answer
70 views

Automate replacement of `\not` when in `\bm` mode

Hendrik Vogt has provided a \longnot macro to alleviate the issues related to Interaction of \boldmath and \not. This seems to work fine, but I run into a snag when I try to automatically use ...
4
votes
1answer
214 views

Using Hashtag in macro

I had a problem putting the column headers in bold (in a table of course) using pgfplotstable. You can see the problem here I found a way to work arround that. It isn't generic as I wanted it to be, ...
2
votes
1answer
268 views

Bold font issue with uarial package [closed]

I am using uarial for typesetting my document in Arial, but I found that there's no bold font. How can I have a boldface font with the uarial package? \documentclass{article} \usepackage{uarial} ...
4
votes
1answer
2k views

Using \scshape and \bfseries together

A very obvious one I suspect, but when I try to do the following the small caps are over-ruled by the boldface, so I get lowercase rhubarb rhubarb. Is there an easy way to get \scshape\bfseries? ...
10
votes
1answer
637 views

Interaction of \boldmath and \not

It seems that using \boldmath (or \bm) along with the \not does not quite work so well. Here is an example using \not\subseteq and \not\le where the line representing negation does not stretch ...
5
votes
1answer
572 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 ...
2
votes
1answer
2k views

Bold Greek letters in achemso

I'm having trouble producing a bold capital "Pi" while using the achemso document class. The only success that I've had is by using \bm{\Pi} which produces an ugly result akin to "poor man's bold", ...
7
votes
2answers
271 views

article document class: remove boldface from all titles

My question relates to remove boldface from chapter titles, section and subsection names on removing boldface from chapter titles, section and subsection names, the difference being that I need to ...
17
votes
4answers
726 views

How to define a command that bolds the first letter of each word in the input argument?

I want to define a command that takes a sentence, a word or several words as input and bolds the first letter of each word. I need this mostly for abbreviations and so far I have done it manually in ...
10
votes
1answer
288 views

Partial italic text in PDF bookmarks

In my LaTeX file I've got some chapter titles with partial italicised text. With the hyperref package, I get the required bookmarks, etc. but the style for these partial italicised text disappears. ...
3
votes
2answers
1k views

Bibliography with biblatex: how to achieve bold labels using the authoryear-style?

I am currently writing my thesis with LaTeX using biblatex for citations and bibliography. I try to match a formal request regarding the first part of the bibliographic entries which have to look like ...
8
votes
1answer
791 views

Make numbers in table bold w/o changing width

I want to highlight some numbers in a table using \bf{}. However, the bold numbers also get wider but I want them to neatly line up with the rest. How can I avoid this?
2
votes
0answers
170 views

How to make bold and italic symbol inside an equation? [duplicate]

My problem is to make bold and italic symbol \widehat{abc}. According to Online LaTeX Equation Editor I should use \boldsymbol, but it seems not to work in TeXMaker. Also ...
8
votes
1answer
598 views

Problems with \bm and LuaLaTeX

I recently started using LuaLaTeX (after years of just pdflatex) and I seem to be having trouble with the bm package. For example, when I try to compile the simple document: ...
4
votes
2answers
1k views

How to make front-matter page number non-bold in ToC?

Shown in the following pic: It seems the Roman page number for front-matter look too dark in ToC, so how to make it as normal font but not change the bold Arabic number for chapters?
7
votes
3answers
1k views

Bold cross references

I'm writing my PhD thesis in LaTeX and I have a lot of figures - each one is referenced within the text. So I have: \begin{figure}[h] ... ... \label{fig:stuff} \end{figure} then, later, in the ...
4
votes
1answer
359 views

show acronym in bold

I'm using the acronym package. The first time I use the acronym the full name will be written. What I would like is to have the acronym in bold while the full name is NOT in bold is that possible? ...
4
votes
2answers
233 views

colored table with some bold colored lines

How can I have a table with the following specifications: The top and bottom lines are bold and all other horizontal and vertical lines are normal. The whole table lines (including top and bottom ...
2
votes
3answers
431 views

Bold font problem while using Russian fonts

This refers to my previous question not able to write bold characters using textbf I installed the cm-extra font package but still there is a problem with boldface due to ...
0
votes
1answer
296 views

How to remove bold in ToC, ideally without a package

I am writing my thesis, using a document class unique to my university - based on the article class. I have to remove ALL bold formatting in the Table of Contents, and for some reason I get an error ...
7
votes
1answer
2k views

not able to write bold characters using textbf

I'm working on latex and R (swaeave) and I am using utf8 encoding but when I use \textbf{dataset}, the text is not bold. Below is part of my code. But I am not sure what is reason behind it. ...
4
votes
1answer
414 views

libertineotf and xelatex - bold smallcaps broken?

It seems like bold smallcaps don't work with libertineotf any longer? I am currently adjusting an old template which I was using with pdflatex, and I need those bold small caps: ...
8
votes
1answer
5k views

Unbold subsubsection title

I'm rather new to LaTeX, I am trying to get my article class document set up so that the section font is 16 pt and bold, the subsection is 14 pt and bold and the subsubsection is 14 pt and not bold. I ...
2
votes
2answers
297 views

New command for bold characters in math mode

I am using bold characters u,v,w,x in math mode. Is there a way to make a new command for that? Now I always have to type \bm{u}.
8
votes
3answers
2k views

How do I make the \min and max bold?

Refering to this question How to make the table fit into the column? How should I make the \min and \max bold?
4
votes
3answers
887 views

Bold one cell in table using CSV reader

Is it possible to bold a single desired cell (or number of cells) using csvreader (besides the head)? Here is an example of making the table. \documentclass{article} \usepackage{csvsimple} % Make ...
8
votes
1answer
200 views

Wrong positioning of subscripts on bold math letters

I just noticed that for kpfonts and times (and probably other fonts since it does not seem to be font-related), the subscripts on boldface letters like V are (I would say) wrong. Is there an ...
4
votes
1answer
3k views

Creating a bold and indented title.

Im working with an existing template and I need to make my sections bold and my subsections indented. I use the titlesec package. My Section style is this ...
9
votes
1answer
3k views

Bold , italic (and sans-serif) math symbols

I would like to implement the suggestions in the TUGboat 30:3, 2009 about the upright/italic and bold/normal in scalars, vectors and tensors. All this is about math. I use this font: ...