Skip to content

Commit 431780a

Browse files
committed
Attempt to fix fatal "Command \x already defined." error.
Seems like Sphinx 6.2.1 changed (relative to 6.1.3) when it loads ... /usr/local/texlive/2022/texmf-dist/tex/latex/pict2e/pict2e.sty ... which appears to define \x. 6.2.1 loads it *before* loading our preamble file, whereas 6.1.3 loaded it after.
1 parent 98c04aa commit 431780a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mathCmds.tex.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
\newcommand{\h}{\rvec{h}}
4747
\newcommand{\HH}{\cvec{h}} % \H already defined
4848

49-
\newcommand{\x}{\rvec{x}}
49+
\renewcommand{\x}{\rvec{x}}
5050
\newcommand{\y}{\rvec{y}}
5151
\newcommand{\z}{\rvec{z}}
5252

0 commit comments

Comments
 (0)