Sfoglia il codice sorgente

fix double fullstop and add support for more relation symbols in salign

master
flavis 5 anni fa
parent
commit
f4c36cb129
3 ha cambiato i file con 11 aggiunte e 4 eliminazioni
  1. +2
    -2
      ana8.tex
  2. BIN
      analysisII.pdf
  3. +9
    -2
      lecture.cls

+ 2
- 2
ana8.tex Vedi File

@@ -15,7 +15,7 @@

\begin{proof}
Sei $x \in \mathbb{K}^{n}$. Dann ist
\begin{salign}
\begin{salign*}
\Vert (\mathbb{I} + B) x \Vert
&= \Vert x + B x\Vert \\
&\stackrel{\text{Dreiecksungl.}}{\ge } \Vert x \Vert - \Vert Bx \Vert \\
@@ -33,7 +33,7 @@
- \Vert B (\mathbb{I} + B)^{-1} \Vert \\
&\ge \Vert (\mathbb{I} + B)^{-1} \Vert - \Vert B \Vert \cdot \Vert (\mathbb{I} + B)^{-1} \Vert \\
&= (1 - \Vert B \Vert) \Vert (\mathbb{I} + B)^{-1} \Vert
.\end{salign}
.\end{salign*}
Damit folgt die Behauptung.
\end{proof}



BIN
analysisII.pdf Vedi File


+ 9
- 2
lecture.cls Vedi File

@@ -162,10 +162,17 @@
% uses regular expressions to calculate the widest stackrel
% to put additional padding on both sides of relation symbols
\NewEnviron{salign}
{
\begin{align}
\lec_insert_padding:V \BODY
\end{align}
}
% starred version that does no equation numbering
\NewEnviron{salign*}
{
\begin{align*}
\lec_insert_padding:V \BODY
.\end{align*}
\end{align*}
}

% some helper variables
@@ -210,7 +217,7 @@
}
% replace all relations with align characters (&) and add the needed padding
\regex_replace_all:nnN
{ (&=|&\c{le}|&\c{ge}|&\c{stackrel}{.*?}{.*?}|&\c{neq}) }
{ (\c{approx}&|&\c{approx}|\c{equiv}&|&\c{equiv}|=&|&=|\c{le}&|&\c{le}|\c{ge}&|&\c{ge}|&\c{stackrel}{.*?}{.*?}|\c{stackrel}{.*?}{.*?}&|&\c{neq}|\c{neq}&) }
{ \c{kern} \u{l_tmp_dim_needed} \1 \c{kern} \u{l_tmp_dim_needed} }
\l__lec_text_tl
\l__lec_text_tl


Loading…
Annulla
Salva