Skip to content

Instantly share code, notes, and snippets.

@moewew
Created May 31, 2020 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moewew/c58ef0165e758887dc6dc2c0be88d23a to your computer and use it in GitHub Desktop.
Save moewew/c58ef0165e758887dc6dc2c0be88d23a to your computer and use it in GitHub Desktop.
\documentclass{article}
\usepackage{amsfonts,bm}
% DON'T DO THIS AT HOME!
\let\temp\mathbf
\let\mathbf\bm
\let\bm\temp
\begin{document}
$\mathbf{x}-\bm{x}$
\[\mathbf{x}-\bm{x}\]
% Compare this
\section{$\mathbf{x}-\bm{x}$}
% ... to the output in the ToC
\tableofcontents
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment