Skip to content

Instantly share code, notes, and snippets.

@wtsnjp
Last active April 20, 2017 08:21
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 wtsnjp/aa1929063e3a8bfc21dca0ccebb114dc to your computer and use it in GitHub Desktop.
Save wtsnjp/aa1929063e3a8bfc21dca0ccebb114dc to your computer and use it in GitHub Desktop.
%#!latex
\documentclass{article}
\usepackage{hyperref}
\let\xtextsf\textsf % `\def\xtextsf#1{\textsf{#1}}' will work
\begin{document}
\section{Hello \textsf{\TeX}} %==>O.K.
\section{Good-bye \xtextsf{\TeX}!} %==>error
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment