{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

4
votes
1answer
864 views

Highlight certain texts in listings or minted [duplicate]

Possible Duplicate: Manual highlight of TeX code in a verbatim environment I want to highlight certain parts of a program output listing which represent user input. For example I want to ...
10
votes
2answers
47k views

How to bold just one word in a line

If I have a line of text, how do I make just the first word bold? I tried this: \bf{NTn} = Number of lines but it made the entire line bold.
8
votes
2answers
1k views

Bold italic math with unicode-math

How can I get the output I get without unicode-math using unicode-math, preferably (not necessarily) using the same code (\boldmath)? I would like the solution to work with at least the XITS and Latin ...
5
votes
2answers
4k views

Bibliography style unsrt.bst - volume bold

I am using the unsrt.bst bibliography style. The only thing I need to change is the volume into bold. I found this post Harvard agsm bibliography style no comma and bold volume and I changed { ...
8
votes
2answers
413 views

Cannot get small caps acronyms to work using glossaries package

I've managed to get glossaries to set the acronyms in the body in small caps in the way I want, but in the list of acronyms they insist on coming out in lower-case. Can anyone (a) tell me what I've ...
10
votes
1answer
517 views

Elegant way to make entire citation bold

Is it possible to make an entire reference appear bold in the references section when using BibTeX? I'm using the IEEE templates and .bst. I found this related question, but is there a more elegant ...
4
votes
1answer
560 views

Bold math inside of absolute value gives error

This code \begin{equation} \label{eq:test} | \mathbf{v} | \end{equation} gives me the error: ERROR: LaTeX Error: \mathbf allowed only in math mode. --- TeX said --- See the LaTeX manual or ...
4
votes
2answers
403 views

How to disable oldstyle numerals in a boldface text in Linux Libertine?

This document compiles (in XeLaTeX), but the boldface numbers are set oldstyle. Why? How to use boldface lining digits with Linux Libertine? \documentclass{article} \RequirePackage{fontspec} ...
4
votes
1answer
814 views

Make bold header in moderncv

I'm getting some problems to modify moderncv to get the header bold. I would like to get bold address, phone number and email. Can you please tell me how can I do?
2
votes
1answer
372 views

How to change the appeareance of bibliography item labels in amsrefs?

Assume that I'd like to set the item labels in the "references" list in amsrefs in, say, boldface (or in lining numbers - I have oldstyle numbers set throughout the document). I can do it in ...
4
votes
1answer
901 views

text gets slightly bold when adding graphics [duplicate]

Possible Duplicate: Why are some pages in my PDF coming out bold? I have problem with text on the page with a graph, it gets slightly thicker. The text on the next page without graph is ...
3
votes
1answer
486 views

PDF pages with color/gray-scale figures print with bold text

When including PDF and JPG images with either color or gray-scale in my pdflatex document everything appears perfect on screen. However, when I try to print on a color printer the text in these pages ...
11
votes
2answers
11k views

Bold sans-serif font in LaTeX

How can one format a chapter or section heading in bold using a sans-serif font? I tried \textsf{\textbf{bold sans-serif text}}, but it does not seem to work. Any idea?
5
votes
1answer
853 views

Customize the width of \widetilde on letters H, K, M, N, W, and X

For example either $\widetilde{\bm{H}}$ or $\widetilde{\boldsymbol{H}}$ would result rather huge tilde over the letter H, K, M, N, W, and X, please see the following alphabet: I can ...
5
votes
1answer
501 views

too many math alphabets used in version bold (can't find a solution)

I know this is a common problem, but I searched for a solution and can't find one. I tried to play with bmmax/hmmax but it does not help. Below is the minimum part of the code to reproduce the ...
2
votes
1answer
327 views

Problem using “-” inside \textbf

I hope you can help me with this. I have the following in my code: \textbf{Legendre–Fenchel transformation} The problem is that the - doesn't show up after compilation. Instead it comes out as ...
8
votes
3answers
792 views

How do I apply both \mathbf and \left to a \langle?

I want text surrounded by a bold-face \left\langle ... \right\rangle. But when I use \mathbf or \pmb, I get errors, and when I use \bm, it doesn't seem to do anything. Is there a command that does ...
13
votes
3answers
2k views

How can I redefine bold to mean “semi-bold”?

I'm using a type family that supports a semi-bold (sb) face, and I'd like to use that whenever \textbf is called for. How can I redefine \textbf to do this? Can I do it on a per family basis, or only ...
6
votes
2answers
532 views

How to make URL bold?

%url package \usepackage{url} %code that makes URL font the same \newcommand{\urlwofont}[1] { \urlstyle{same}\url{#1} } \begin{figure}[htbp] \centering \includegraphics[width=8cm, ...
6
votes
1answer
383 views

Lighter version of sans serif typeface

I am using the Frutiger font as the sans serif font in my document. It is invoked by \renewcommand{\sfdefault}{pfr} However this font is too bold for my taste. There is a ligher version available. ...
24
votes
3answers
12k views

standard order for bold+italic?

It's a small, small matter, but when something has to be made both bold and italic, is there any reason to prefer \textbf{\textit{text}} over \textit{\textbf{text}} ?
23
votes
5answers
6k views

Faster way of writing \mathbf

Is there a quicker way of doing boldface in math mode instead of typing out \mathbf{} each time? (It gets cumbersome when you denote simple vectors with boldface...)
12
votes
1answer
928 views

Linux Libertine, libertineotf package and bold

Being interested by using the Linux Libertine font, I made some test with XeLaTeX and pdfLaTeX. My idea was to find a font that is suitable for use in xelatex, pdflatex and outside of any TeX flavour. ...
2
votes
3answers
2k views

Using \fontseries{b}\selectfont does not give me a bold face

I am trying to emulate the font below: Apparently it can be done with: \renewcommand*{\firstnamefont}{\fontsize{34}{36}\sffamily\mdseries\upshape} This is from the moderncv package, more ...
8
votes
1answer
1k views

How can one change an entire document to use bold font?

I see many posts in how to changes the font and font size, but none for changing the default font for a document to bold font. I believe this is called changing the font series. The approach in ...
138
votes
3answers
262k views

“Correct” way to bold/italicize text?

Is either of these considered better/more readable/more "proper"/more conventional than the other for making text bold? If so, what is the reason? I like my text \textbf{bold} versus: I like my ...
2
votes
1answer
337 views

Latex Listing Format Error

I'm having some difficulty with getting the listings package to properly format code snippets. In particular, it does not consistently bold keywords and italicize comments. The code I am currently ...
1
vote
3answers
1k views

Labels of list items CAPITALIZED + bold style

Is there a possibility to make the labels of description list items always appear CAPITALIZED and bold?
1
vote
0answers
130 views

LaTeX Ouputs PDF with one page entirely bold [duplicate]

Possible Duplicate: Why are some pages in my PDF coming out bold? I have searched all over and cannot seem to find anyone else even mentioning this problem. I created a conference paper ...
11
votes
3answers
3k views

Automatically typeset math in section headings in bold-face

This question is motivated by a question asked me by a friend who is working on his thesis in mathematics. His section headings occasionally contain math, which: he would like to be in boldface to ...
1
vote
2answers
2k views

Caption package: bold numbering indents caption text - how to avoid that?

I ran across this problem and fail to find an answer even after thorough searching: I use \usepackage[bf]{caption} in my LaTeX document, as I want the "Figure 1"-Part of the caption to appear ...
3
votes
0answers
120 views

sansmath and boldmath--mutually exclusive? [duplicate]

Possible Duplicate: Make mathfont respect the surrounding family This question is similar to the Bold, italic math (\bm) and sansmath question, but with a few more requirements. I am ...
7
votes
1answer
933 views

\textbf inside a lemma

I have defined lemma and use it as follows: \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} ... \begin{lemma} abc_\textbf{indice} \end{lemma} It turns out that the indice ...
1
vote
0answers
395 views

How do I prevent \includegraphics from rendering in bold in Acrobat? [closed]

I believe I'm seeing the same problem mentioned here, but just to summarize: When I use \includegraphics for a PDF, any other text on that page is rendered in bold in Acrobat 9 if 2D hardware ...
6
votes
3answers
4k views

remove boldface from chapter titles, section and subsection names

How is it possible to remove the boldface from chapter titles, section and subsection names? I have found the following code for sections, but I can't find a way for chapters and subsections. ...
9
votes
2answers
9k views

Bold, italic math (\bm) and sansmath

I'm typesetting both text and math in Latin Modern, except for the figures, where I would like to use a sans serif font for both text and math. I need to follow the ISO recommendations for math ...
6
votes
5answers
12k views

A problem with \textsc

I started to write my CV in LaTeX. My document begins as \documentclass[a4paper]{amsart} \usepackage[latin1]{inputenc} \usepackage[finnish]{babel} \begin{document} \begin{center} {\large ...
2
votes
1answer
2k views

Capital Sigma in bold mathrm

I want to write capital \Sigma in bold mathrm. I tried \boldsymbol{\mathrm{\Sigma}} but seems like this does not work. Any help in this regard will be highly appreciated. Thanks
6
votes
2answers
659 views

How do I get babel to use the same typeface for regular and bold Hebrew text?

According to the babel package documentation (section 64), the default font used for Hebrew is Jerusalem which is a Metafont. Bold text is set in Dead Sea. This results in weird looking text, such as ...
3
votes
1answer
224 views

Ledmac - suppresing bold in lemma note

I am typesetting my thesis, an edition of a Latin text with Spanish translation. Bible quotations in the main text are in bold letters. However, when I make a lemma footnote I do not want the bold ...
21
votes
4answers
11k views

Using \ttfamily with \bfseries (or how to enable bold in fixed-width font)

I'm using listings package, and I've added basicstyle=\ttfamily\footnotesize. However, when I do that, the keywords from the embedded source-code are not bold anymore. I figured that \ttfamily ...
17
votes
1answer
13k views

Figure: how to have “Figure 1.5” in bold

First of all, sorry if it's a nooby question. I'm fairly new to latex, and only know the basics right now. But I'm learning every day! So... I'd like to have my figure captions with the word Figure ...
11
votes
2answers
3k views

Specify different fonts for bold and italic with fontspec

The main font I use for my LuaLaTeX document lacks bold and italic variants. I'd like to specify a different font for those variants using the fontspec package. Initially what I had in my preamble ...
24
votes
4answers
934 views

Kerning between bold and non-bold text

I'd like to write a word in bold followed by a comma and a non-bold word, like this: \textbf{why}, blah If I just write why, TeX inserts a kern to shift the comma a little closer to the "y". But ...
11
votes
2answers
6k views

Bold upright i-hat and j-hat for vector notation

I am trying to typeset a vector with i-hat and j-hat components: \documentclass{article} \usepackage{amsmath} \usepackage{mathtools} \newcommand{\ihat}{\mathbf {\hat \imath}} ...
10
votes
2answers
6k views

Level of “boldness” changeable?

In my document which I compile with pdflatex (Ubuntu 11.04 TeX Live package). I use the Sans Serif font. Some keywords should be printed bold. I use the {\bf text} construct for this. However, the ...
0
votes
1answer
878 views

Acronym - Bold abbreviation without bold citation number

I am using the acronym package and let it create a footnote with the explanation on the first use of my abbreviation. However, at some parts I am using \textbf{\ac{ISO-TP}} which also makes the ...
16
votes
5answers
11k views

Using bold/italic text inside listings?

How can I use bold text inside a code listing? I wanted to make some parts of the code bold.
5
votes
1answer
1k views

How to make all math equations bold by default?

I am using the bm package which provides the \bm command to boldify equations. However, all my equations need to be bold, and I find using the \bm command tedious. Is there a way to make the ...
1
vote
1answer
12k views

How to bold math-mode characters? [duplicate]

Possible Duplicate: Bold math symbols? I am wondering if it is possible to bold characters under math-mode, for instance, is it possible to bold $\langle \rangle$?