aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-04-19 10:23:21 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2024-04-19 10:23:21 +0200
commit30fe7b4b5f73ca1872ddacea2e65a86168bf4549 (patch)
tree54ea78c7d77a52e754d76d1093651117b0f80753
parent31f563524826d52d76ffbb64ec0695873cf2d6b2 (diff)
downloadunterricht-30fe7b4b5f73ca1872ddacea2e65a86168bf4549.tar.gz
unterricht-30fe7b4b5f73ca1872ddacea2e65a86168bf4549.zip
add seperate symbol command sto only type set checkmark
-rw-r--r--latex/common.tex12
1 files changed, 10 insertions, 2 deletions
diff --git a/latex/common.tex b/latex/common.tex
index 3ed73a24..3d55aa56 100644
--- a/latex/common.tex
+++ b/latex/common.tex
@@ -81,17 +81,21 @@
#1 BE}{}% TODO: better typesetting
\addtocounter{beA}{\fpeval{#1*2}}}
-\newcommand{\Point}{%
+\newcommand{\PointSymbol}{%
\iftoggle{erwartungshorizont}{% Typeset the checkmark only if we are creating a horizon of expectation
\tikz[scale=0.23, overlay, remember picture] {
\draw[line width=0.7, line cap=round] (0.25, 1) to [bend left=10] (1,2);
\draw[line width=0.8, line cap=round] (0, 1.35) to [bend right=1] (0.23,1);
}
}{}
+}
+
+\newcommand{\Point}{%
+\PointSymbol
\addtocounter{beA}{2}
}
-\newcommand{\Halfpoint}{%
+\newcommand{\HalfpointSymbol}{%
\iftoggle{erwartungshorizont}{% Typeset the checkmark only if we are creating a horizon of expectation
\tikz[scale=0.23, overlay, remember picture] {
\draw[line width=0.7, line cap=round] (0.25, 1) to [bend left=10] (1,2);
@@ -99,6 +103,10 @@
\draw[line width=0.8, line cap=round] (0, 1.35) to [bend right=1] (0.23,1);
}
}{}
+}
+
+\newcommand{\Halfpoint}{%
+\HalfpointSymbol
\addtocounter{beA}{1}
}