summaryrefslogtreecommitdiff
path: root/macros/latex/contrib
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-05-07 03:01:42 +0000
committerNorbert Preining <norbert@preining.info>2023-05-07 03:01:42 +0000
commite2a7938bcd22a142fa92c5c5d91f038f7ae73231 (patch)
tree93e20c35b061ab13d971c4333d535243a076eece /macros/latex/contrib
parent507fa9c669d7e4bc2c808f269113c6ced0b18827 (diff)
CTAN sync 202305070301
Diffstat (limited to 'macros/latex/contrib')
-rw-r--r--macros/latex/contrib/annotate-equations/annotate-equations.pdfbin151252 -> 151073 bytes
-rw-r--r--macros/latex/contrib/annotate-equations/annotate-equations.sty7
-rw-r--r--macros/latex/contrib/annotate-equations/annotate-equations.tex6
-rw-r--r--macros/latex/contrib/srdp-mathematik/README.md2
-rw-r--r--macros/latex/contrib/srdp-mathematik/srdp-mathematik.pdfbin181160 -> 181023 bytes
-rw-r--r--macros/latex/contrib/srdp-mathematik/srdp-mathematik.sty3
-rw-r--r--macros/latex/contrib/srdp-mathematik/srdp-mathematik.tex2
7 files changed, 11 insertions, 9 deletions
diff --git a/macros/latex/contrib/annotate-equations/annotate-equations.pdf b/macros/latex/contrib/annotate-equations/annotate-equations.pdf
index e7b9b340f2..b8ea793928 100644
--- a/macros/latex/contrib/annotate-equations/annotate-equations.pdf
+++ b/macros/latex/contrib/annotate-equations/annotate-equations.pdf
Binary files differ
diff --git a/macros/latex/contrib/annotate-equations/annotate-equations.sty b/macros/latex/contrib/annotate-equations/annotate-equations.sty
index 0c471b13c3..a781a773d7 100644
--- a/macros/latex/contrib/annotate-equations/annotate-equations.sty
+++ b/macros/latex/contrib/annotate-equations/annotate-equations.sty
@@ -5,7 +5,7 @@
%
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{annotate-equations}
- [2023/03/05 v0.2.1 easily annotate equations using TikZ]
+ [2023/05/06 v0.2.2 easily annotate equations using TikZ]
%%% lualatex compatibility, from https://tex.stackexchange.com/a/351520/171664
\RequirePackage{ifluatex}
@@ -170,6 +170,9 @@
\colorlet{currentcolor}{.}
\def\myEAcolor{\usevalue{\myEAmark}}%
%
+ \def\EAspace{ } % workaround: did not find any other way of getting a space into \myEAlabelanchor without upsetting LaTeX/PGF/... somehow
+ \edef\myEAlabelanchor{\EAlabelanchor\EAspace\EAwesteast}%
+ %
%
\def\myEAxshift{\EAxshift{\EAwesteast}}%
\begin{tikzpicture}[overlay,remember picture,>=stealth,nodes={align=left,inner ysep=1pt},<-]
@@ -182,7 +185,7 @@
\foreach \EAmark in \myEAmarks
\draw [color=\myEAcolor, annotate equations/arrow] (\EAmark.\EAmarkanchor) % arrow from the equation
% \EAmarkanchor north: above the equation, south: below
- |- ([xshift=\myEAxshift,yshift=0.1ex] \eqnannotateCurrentNode.south \EAwesteast);
+ |- ([xshift=\myEAxshift,yshift=0.1ex] \eqnannotateCurrentNode.\myEAlabelanchor);
% - south east: we want line to end at bottom right of annotation text;
% - negative xshift makes it a little bit shorter;
% - yshift for aesthetics (\strut is ever so slightly too tall).
diff --git a/macros/latex/contrib/annotate-equations/annotate-equations.tex b/macros/latex/contrib/annotate-equations/annotate-equations.tex
index 5fc0aa6017..82383f69fb 100644
--- a/macros/latex/contrib/annotate-equations/annotate-equations.tex
+++ b/macros/latex/contrib/annotate-equations/annotate-equations.tex
@@ -26,7 +26,7 @@
text above listing,
#1}
-\title{\texttt{annotate-equations.sty}, v.0.2.1}
+\title{\texttt{annotate-equations.sty}, v.0.2.2}
\author{ST John}
\date{\url{https://github.com/st--/annotate-equations}}
@@ -131,7 +131,7 @@ One annotation can point to multiple targets, and multiple annotations can point
\end{equation*}
\annotate[yshift=1em]{left}{node1}{my}
\annotate[yshift=-0.5em]{below,left}{node2}{annotation}
-\annotate[yshift=-1em]{below}{node3}{text}
+\annotate[yshift=-1em]{below, label below}{node3}{text}
\end{LTXexample}
\noindent
%
@@ -362,8 +362,6 @@ a \mathrel{\tikzmarknode[outer ysep=5pt]{node1}{=}} b
\section{Known issues}
\begin{itemize}
- \item \texttt{label above}/\texttt{label below} is not implemented for \verb|\annotate|.
-
\item Annotations of mathematical relations require some manual patching to get the correct surrounding spacing (see \cref{sec:mathrel}).
\end{itemize}
diff --git a/macros/latex/contrib/srdp-mathematik/README.md b/macros/latex/contrib/srdp-mathematik/README.md
index e66f6b3f8c..5045698ce1 100644
--- a/macros/latex/contrib/srdp-mathematik/README.md
+++ b/macros/latex/contrib/srdp-mathematik/README.md
@@ -1,4 +1,4 @@
-# srdp-mathematik.sty v1.12.0
+# srdp-mathematik.sty v1.12.1
This package provides basic commands for the defined formats of the Austrian sRDP in mathematics.
Furthermore, it includes ways to implement answers in the tex file, which can be voluntarily displayed in the pdf file and
diff --git a/macros/latex/contrib/srdp-mathematik/srdp-mathematik.pdf b/macros/latex/contrib/srdp-mathematik/srdp-mathematik.pdf
index 9fc554aeb0..a59ed419d2 100644
--- a/macros/latex/contrib/srdp-mathematik/srdp-mathematik.pdf
+++ b/macros/latex/contrib/srdp-mathematik/srdp-mathematik.pdf
Binary files differ
diff --git a/macros/latex/contrib/srdp-mathematik/srdp-mathematik.sty b/macros/latex/contrib/srdp-mathematik/srdp-mathematik.sty
index 163e7b57df..e4b8067edb 100644
--- a/macros/latex/contrib/srdp-mathematik/srdp-mathematik.sty
+++ b/macros/latex/contrib/srdp-mathematik/srdp-mathematik.sty
@@ -10,11 +10,12 @@
%
\NeedsTeXFormat{LaTeX2e}[1996/12/26]
-\ProvidesPackage{srdp-mathematik}[2023/05/01 v1.12.0 Standard-Schularbeitsformate]
+\ProvidesPackage{srdp-mathematik}[2023/05/06 v1.12.1 Standard-Schularbeitsformate]
\usepackage{color}
\usepackage{xcolor}
+\usepackage{xfp}
\usepackage{float}
\usepackage{multicol}
\usepackage{multirow}
diff --git a/macros/latex/contrib/srdp-mathematik/srdp-mathematik.tex b/macros/latex/contrib/srdp-mathematik/srdp-mathematik.tex
index 9d95549765..d3d6d71400 100644
--- a/macros/latex/contrib/srdp-mathematik/srdp-mathematik.tex
+++ b/macros/latex/contrib/srdp-mathematik/srdp-mathematik.tex
@@ -55,7 +55,7 @@ hidelinks
\vfill
-\Huge The \textit{srdp-mathematik} package v1.12.0\\[1cm]
+\Huge The \textit{srdp-mathematik} package v1.12.1\\[1cm]
Documentation \\ [1cm]