Update vector command
All checks were successful
Build docs / build_docs (push) Successful in 23s
Build helpers / build_helpers (push) Successful in 5s

This commit is contained in:
2026-01-05 11:28:39 +01:00
parent 5f691d9372
commit 676bbd9306
2 changed files with 5 additions and 2 deletions

View File

@@ -46,7 +46,10 @@ Please note that this will overwrite \textit{all} occurrences of \verb|\setcount
and for the \verb|\stepcounter| as well and for the \verb|\stepcounter| as well
\verb|/\\stepcounter{\(.*\)s}/\\stepLabelNumber{\1}| and \verb|/\\stepcounter{all}/\\stepLabelNumber{all}/g|. \verb|/\\stepcounter{\(.*\)s}/\\stepLabelNumber{\1}/g| and \verb|/\\stepcounter{all}/\\stepLabelNumber{all}/g|.
Additionally, to use auto-expanding vector arrows, we have migrated to using \verb|\vect{x}| to allow for the built-in \verb|\vec{x}| to be accessible.
Thus, any documents that used the \verb|\vec| command, you can migrate them to the new format using the regex \verb|/\\vec/\\vect/g|
\section{Installation} \section{Installation}

View File

@@ -5,7 +5,7 @@
% ▀▀ █▪▀▀▀ ▀ ▀ ▀▀▀ ▀▀▀ · ▀▀▀▀ ▀▀▀ ▀ • .▀▀▀ ▀▀▀ % ▀▀ █▪▀▀▀ ▀ ▀ ▀▀▀ ▀▀▀ · ▀▀▀▀ ▀▀▀ ▀ • .▀▀▀ ▀▀▀
% Replace some commonly used commands with better ones % Replace some commonly used commands with better ones
\renewcommand{\vec}[1]{\overrightarrow{#1}} \newcommand{\vect}[1]{\overrightarrow{#1}}
\renewcommand{\hat}[1]{\widehat{#1}} \renewcommand{\hat}[1]{\widehat{#1}}
\renewcommand{\tilde}[1]{\widetilde{#1}} \renewcommand{\tilde}[1]{\widetilde{#1}}
\newcommand{\proven}{$\hspace{17cm}\square$} \newcommand{\proven}{$\hspace{17cm}\square$}