14

I'm currently using these packages in my document:

\usepackage{mathptmx}
\usepackage[margin=1.2in]{geometry}
\usepackage{fancyhdr}
\usepackage{amsmath, amsthm, amssymb, amsbsy}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{enumerate}
\usepackage{enumitem}
\usepackage[utf8]{inputenc}
\usepackage[danish]{babel}
\usepackage[T1]{fontenc}
\usepackage{caption}
\usepackage{subcaption}

But when I try to use:

\boldsymbol{\sigma}

As and example, well, nothing happens. It's not bold. I've also tried \mathbf and such. But nothing happens.

I don't know if it is because I'm using the "Times New Roman"-like package ?

Can anyone help me out?

7
  • 1
    Yes, the reason is mathptmx; try \usepackage{newtxtext,newtxmath}, if you have an up-to-date TeX distribution.
    – egreg
    Commented May 31, 2013 at 22:09
  • The documentation for the mathptmx package says: · There are no bold math fonts, and \boldmath has no effect. Commented May 31, 2013 at 22:09
  • ^^ So what you are saying is, that there is nothing I can do about it ? The \usepackage{newtxtext,newtxmath} doesn't seem to work either. Commented May 31, 2013 at 22:13
  • \mbox{\boldmath$\sigma$} should work. I use this all the time for bold Greek letters. If it works for you, I will make it an answer.
    – dustin
    Commented May 31, 2013 at 22:14
  • ^^ Nope, it does not :/ I'm just doing: \begin{equation} \mbox{\boldmath$\sigma$} =\frac{\mathbf{j}}{\mathbf{E}}, \label{eq:3.1} \end{equation} Commented May 31, 2013 at 22:16

3 Answers 3

13

As a last resort, over-printing (or under-printing) as a method to simulate boldness (or fake bold) is an option using the contour package. It may come in handy when there is no bold version of a font/symbol available:

enter image description here

\documentclass{article}
\usepackage{mathptmx}% http://ctan.org/pkg/mathptmx
\usepackage{array,contour}% http://ctan.org/pkg/{array,contour}
\begin{document}
\begin{tabular}{rl@{\quad}>{\contourlength{0.01em}}l}
\verb|\sigma|: & $\sigma$ & $\sigma$ \\
\verb|\contour[1]{red}{$\sigma$}|: & \contour[1]{red}{$\sigma$} & \contour[1]{red}{$\sigma$} \\
\verb|\contour[10]{black}{$\sigma$}|: & \contour[10]{black}{$\sigma$} & \contour[10]{black}{$\sigma$} \\
\verb|\contour{black}{$\sigma$}|: & \contour{black}{$\sigma$} & \contour{black}{$\sigma$} \\
\verb|\contour*{black}{$\sigma$}|: & \contour*{black}{$\sigma$} & \contour*{black}{$\sigma$}
\end{tabular}
\end{document}

The default interface is \contour[<number>]{<color>}{<stuff>} that prints <number> copies of <stuff> under <stuff> using colour <color>. The default is 16 repetitions if none are specified, while the starred-version \contour* prints 32. \contourlength{<len>} sets the radius of the under-printing. The two column above are default (0.03em) and 0.01em.

To make the under-printing more obvious/clear, here's a close-up view of the above contours at the default setting:

enter image description here

And, for \contourlength{0.01em}:

enter image description here

2
  • And there we have it :) A bit of a workaround, but it works :) Thank you :P Commented May 31, 2013 at 22:36
  • \newcommand{\contourbbms}[1]{\text{\contour[2]{black}{$#1$}}} if you use it in equations for one symbol, you'd better create a new command. You should put the contour command in \text{}. Then you use it as $\contourbbms{\sigma}+\sigma=2\sigma$. But I run xelatex twice then I get the bold symbol. Anyway it works.
    – Nick Dong
    Commented Jul 26, 2019 at 16:19
14

With newtx you can get bold math symbols; the text font is very similar to what you'd get with mathptmx and the math fonts are surely much better.

\documentclass{article}
\usepackage{newtxtext,newtxmath}
\usepackage{bm}

\begin{document}
$\Sigma\sigma$

$\bm{\Sigma}\bm{\sigma}$

$\sum\bm{\sum}\displaystyle\sum\bm{\sum}$
\end{document}

Note that \boldsymbol provided by the amsbsy package is to be considered obsolete as \bm is much better.

enter image description here

1

I have amsfonts loaded:

An ex­tended set of fonts for use in math­e­mat­ics, in­clud­ing: 
ex­tra math­e­mat­i­cal sym­bols; black­board bold let­ters (up­per­case only); frak­tur let­ters; 
sub­script sizes of bold math italic and **bold Greek let­ters**; 
sub­script sizes of large sym­bols such as sum and prod­uct; 
added sizes of the Com­puter Modern small caps font; 
cyril­lic fonts (from the Univer­sity of Wash­ing­ton); Euler math­e­mat­i­cal fonts. 

Even though you say it didn't work, it is working fine on my end.

 \begin{equation} \mbox{\boldmath$\sigma$} =\frac{\mathbf{j}}{\mathbf{E}}, \label{eq:3.1} \end{equation}

produced:

enter image description here

as you can see I just added real quick to a document I am working on.

Here is a regular sigma next to it. enter image description here

4

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .