# Tag Info

7

Or this? This allows you to pass a single argument rather than two. Unlike my original code, this makes an approximate adjustment for the loss of kerning when switching fonts (bold -> small-caps), based on David's suggestion. \documentclass{article}% don't use minimal for examples \newlength\ltempa \newlength\ltempb \newcommand\newthought[1]{% ...

6

As described in the documentation of bm in 3.5 Strange failures you sometimes need to add braces to protect complicated commands. But in your case I would simply use \mathversion{bold} \documentclass[]{article} \usepackage{bm} \usepackage{amsmath} \begin{document} $\bm{a\mathrel{\xleftarrow{r}}b}$ \mathversion{bold}$a\xleftarrow{r}b$ \end{document}

4

If \ce is used, there's no need to use either \mathbf nor the optional argument of the \subsection command at all. \documentclass{article} \usepackage[version=4]{mhchem} \begin{document} \tableofcontents \section{Foo} \subsection{Foobar} \subsection{formation of \ce{N2O} during \ce{NH3}-SCR} \end{document}

3

Is this what you want? The command newthought now has 2 arguments and the 1st is the first letter to be typeset in bold. \documentclass{minimal} \providecommand\newthought[2]{% \addvspace{1.0\baselineskip plus 0.5ex minus 0.2ex}% \noindent\textbf{#1}\textsc{#2}% small caps text out %\noindent\textsc{\textbf{#1}#2}% prettier code } ...

2

There is no semibold version but you could scale up a smaller font size (the code I use is okay for a short portion like a title but not suitable for longer text!): \scalebox and resizebox of the graphicx package can be used too. It is up to you to decide if this looks pleasing ... \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lmodern} ...

2

Use \bfseries: \documentclass{article} \usepackage[nochapters]{classicthesis} % Use the classicthesis style for the style of the document \usepackage{color} \begin{document} {\color{Maroon}\noindent\footnotesize\bfseries\spacedallcaps{Personal Information}}\vspace{1pc} \end{document}

1

Double embrace the \Box will allow compilation, though I can't say the boxes are emboldened. What was goal? Bold boxes, or mere compilation? For bold boxes, see Workaround below. \documentclass[]{article} \usepackage{amssymb} % Math symbols \usepackage{bm} % Access bold symbols in maths mode \usepackage{breqn} % Automatic ...

1

The following code defines \bmA to be \bm{A} for A running over all letters in the alphabet. Please do not use single letter macros, as these tend to have special meaning (accents, special symbols). \documentclass{article} \usepackage{bm} \makeatletter \newcounter{letter} \setcounter{letter}{1} \@whilenum\value{letter}<27\do{% loop over all letters in ...

1

Rather than rely on macros which you yourself consider to be "a little out of date", you may to employ the capabilities of the tocbibind and tocloft packages to achieve your formatting objectives. Incidentally, \bf is a plain-TeX macro whose use is deprecated under LaTeX. At any rate, \bf does not take an argument; if you must use it, write {\bf List of ...

1

Remove the \mathbf from the section head, and then just specify that you want math to be bold in the heading at the same point as you specify bold text, for example in article the default definition is \newcommand\subsection{\@startsection{subsection}{2}{\z@}% {-3.25ex\@plus -1ex \@minus -.2ex}% ...

Only top voted, non community-wiki answers of a minimum length are eligible