In my current document, the commands \k and \H are defined to be \PU-cmd\k\Pu\k and \PU-cmd\H\Pu\H, which seems to be part of the package hyperref. However, for the convenience, I redefined them as follows:
\def\k{\Bbbk}
\def\H{\mathbb{H}}
My question is, would these redefinitions cause serious trouble? It seems fine in my document, but I'm afraid if I have broken some important internal commands and the retribution shall come sooner or later.
\kand\Hare diacritics, I think it would be safe (for me) to redefine them, as I'm using Unicode engines and can type in the accented letters directly when needed. – Jinwen Apr 04 '22 at 14:07\His a long Hungarian umlaut as in "ő" and\kis a Polish ogonek as in "ą" (source).hyperrefdoes change the encoding to PU, for use in a PDF, but not the meaning. So redefining them wouldn't break hyperref, if you never use those commands for diacritics – marquinho Apr 04 '22 at 14:07\kand\His a bad idea. Using\kkand\HHis even more semantic, besides avoiding the problem of redefinition. – egreg Apr 04 '22 at 15:33