Re: \textmu e \@ifundefined

#42535
Up
0
Down
::

Naturalmente ti sarai reso conto che l’EMC non dà alcun errore.

Naturalmente sono un cretino!

Quanto descritto sopra accade solo se carico anche hyperref:
`\documentclass[a4paper]{article}
\usepackage{hyperref}

\makeatletter
\@ifundefined{textmu}{\newcommand{\textmu}{pippo}}{}
\makeatother

\begin{document}
\textmu
\end{document} `

Scusatemi. 😳

Il problema è che hyperref definisce \textmu per la codifica PD1 (che è quella che usa internamente per i collegamenti, i segnalibri e varie diavolerie).
`\DeclareTextCommandDefault{\textmu}{$\mu$}`
Ciao
Enrico

Go to top