Fix issue with spacing, remove pipeline for now
This commit is contained in:
32
src/style/environments-descriptors.sty
Normal file
32
src/style/environments-descriptors.sty
Normal file
@@ -0,0 +1,32 @@
|
||||
% ── Inline environments ─────────────────────────────────────────────
|
||||
% TODO: ref label generation
|
||||
\newcommand{\inline}[2][NONAME]{%
|
||||
\ifthenelse{\equal{NONAME}{#1}}{%
|
||||
\anonymousInlineDescriptorTemplate{#2}{\printLabel{#2}}%
|
||||
}{%
|
||||
\inlineDescriptorTemplate{#2}{\printLabel{#2}}{#1}%
|
||||
}%
|
||||
}
|
||||
|
||||
\newcommand{\labeledInline}[3][NONAME]{%
|
||||
\edef{\tempLabel}{#3}
|
||||
\label{\tempLabel}
|
||||
\inline[#1]{#2}
|
||||
}
|
||||
|
||||
\newcommand{\short}[2][NONAME]{%
|
||||
\ifthenelse{\equal{NONAME}{#1}}{%
|
||||
\anonymousShortDescriptorTemplate{#2}{\printLabel{#2}}%
|
||||
}{%
|
||||
\shortDescriptorTemplate{#2}{\printLabel{#2}}{#1}%
|
||||
}%
|
||||
}
|
||||
|
||||
\newcommand{\labeledShort}[3][NONAME]{%
|
||||
\edef{\tempLabel}{#3}
|
||||
\label{\tempLabel}
|
||||
\short[#1]{#2}
|
||||
}
|
||||
|
||||
\newcommand{\inlineproof}{\anonymousInlineDescriptorTemplate{proof}{}}
|
||||
\newcommand{\shortproof}{\anonymousShortDescriptorTemplate{proof}{}}
|
||||
Reference in New Issue
Block a user