avm99963 | 02003e7 | 2021-06-22 12:25:46 +0200 | [diff] [blame] | 1 | \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}}} |