blob: e4f99eea48d84526e514c74b17da2b738dd07164 [file] [log] [blame]
avm9996302003e72021-06-22 12:25:46 +02001\usepackage{physics} % For the \laplacian command
2
3\setlength{\parskip}{1em}
4
5% Plantilles del notate
6\def\myupbracefill#1{\rotatebox{90}{\stretchto{\{}{#1}}}
7\def\rlwd{.5pt}
8\newcommand\notate[4][B]{%
9 \if B#1\else\def\myupbracefill##1{}\fi%
10 \def\useanchorwidth{T}%
11 \setbox0=\hbox{$\displaystyle#2$}%
12 \def\stackalignment{c}\stackunder[-6pt]{%
13 \def\stackalignment{c}\stackunder[-1.5pt]{%
14 \stackunder[2pt]{\strut $\displaystyle#2$}{\myupbracefill{\wd0}}}{%
15 \rule{\rlwd}{#3\baselineskip}}}{%
16 \strut\kern9pt$\rightarrow$\smash{\rlap{$~#4$}}}%
17}
18
19% Tensor commands:
20\newcommand*{\TT}[1]{\bar{\bar{#1}}}