Skip to content

Commit 13d415a

Browse files
committed
preamble: redefine \d at begindocument; set defaults for pgfplotset
1 parent 6aa2d6e commit 13d415a

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

preamble.tex

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
\renewcommand{\oiint}{{\large\bigcirc}\kern-1.56em\iint}
99
\fi
1010

11-
1211
\graphicspath{
1312
{./}
1413
{ximeraTutorial/}
@@ -92,6 +91,21 @@
9291
\renewcommand{\d}{\,d}
9392
%\def\d{\mathop{}\!d}
9493
%\def\d{\,d}
94+
95+
\AddToHook{begindocument}{%
96+
\renewcommand{\d}{\,d} % lualatex redefines \d to underdot !!!
97+
}
98+
99+
\pgfplotsset{
100+
every axis/.style={
101+
scale only axis,
102+
enlargelimits=false,
103+
trim axis left,
104+
trim axis right,
105+
clip=true,
106+
}
107+
}
108+
95109
\newcommand{\dd}[2][]{\frac{\d #1}{\d #2}}
96110
\newcommand{\pp}[2][]{\frac{\partial #1}{\partial #2}}
97111
\renewcommand{\l}{\ell}

0 commit comments

Comments
 (0)