Skip to content

Instantly share code, notes, and snippets.

@qtnez
Created April 29, 2022 02:59
Show Gist options
  • Save qtnez/749bff9d1cef673e36ebbb4c79e42a05 to your computer and use it in GitHub Desktop.
Save qtnez/749bff9d1cef673e36ebbb4c79e42a05 to your computer and use it in GitHub Desktop.
\documentclass{article}
\makeatletter
\g@addto@macro\bfseries{\boldmath}
\makeatother
\usepackage[pdfstartview={FitH},
pdfencoding={auto},
bookmarksopen={true}]{hyperref}
\begin{document}
\title{\bf This is $a+b=\alpha+\beta$ article title}
\author{Test $a+b=\alpha+\beta$}
\maketitle
\tableofcontents
\section{Bold math test \texorpdfstring{$a+b=\alpha+\beta$}{a+b=α +β }}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment