1

This question already has an answer here:

I'd like to typeset vectors as bold letters; I've tried \mathbf and then \bm, but I don't like the italicization of \bm and \mathbf doesn't work on Greek. I also really like the default, Computer Modern font.

I've read the standard question on the subject, but the upgreek commands clash with Computer Modern. The package textgreek doesn't seem to fit the bill, because it complains if I try to put its commands in math mode. There are very many solutions here and here, but all of the ones I've checked change the font of the entire document, or demand I change my LaTeX compiler. (I see one comment exchange: "But won't this change the font?" "Yes, of course.")

All I want is a few decent looking letters with as few changes or extra packages as possible. Is there a short or ideally one-line solution?

marked as duplicate by Henri Menke, Steven B. Segletes, CarLaTeX, Maarten Dhondt, moewe Jun 24 '17 at 4:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

With unicode-math use the option bold-style=upright. Requires XeLaTeX or LuaLaTeX.

\documentclass{article}
\usepackage[bold-style=upright]{unicode-math}
\begin{document}

$a,z,B,X,\alpha,\beta,\Gamma,\Xi$

$\symbf{a,z,B,X,\alpha,\beta,\Gamma,\Xi}$

\end{document}

enter image description here

  • Sorry, I would like to avoid changing to XeLaTeX or LuaLaTeX. I'm concerned with portability and need other people to be able to easily compile my files. – knzhou Jun 24 '17 at 1:40
  • @knzhou LuaLaTeX can almost be used as a drop-in replacement for pdfLaTeX. The changes you have to make are usually only minor. – Henri Menke Jun 24 '17 at 1:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.