Quantcast
Channel: Fragen markiert mit mit animate
Viewing all articles
Browse latest Browse all 11

TikZ animate beamer: Fehler durch ngerman-Option für Paket babel

$
0
0

Duplikat zu: TikZ Code führt zu: ! Argument of language@active@arg" has an extra }


Es tritt folgender Fehler auf: Argument of \language@active@arg has an extra }. Der Fehler wird ausgelöst durch die Sprache ngerman mit dem Paket babel.

Allerdings brauche ich dieses für meine anderen Folien. Ich habe bereits einige Sachen erfolglos probiert und wollte nun hier im Forum fragen.

Öffne in Overleaf
\documentclass{beamer}\usepackage[ngerman]{babel}\usepackage{animate}\usepackage{tikz,pgfplots}\begin{document}\begin{frame}[fragile]
\begin{animateinline}[palindrome,controls]{12}\multiframe{10}{i=0+1}{%\begin{tikzpicture}\begin{axis}[
  width=2in,
  height=2in,
  scale only axis,
  minor tick num=10,
  xmin=1,
  xmax=10,
  ymin=1,
  ymax=10,
  axis x line*=bottom,
  axis y line*=left,
  ]
  \plot[
    mark=*, mark options={fill=black},
    x filter/.code={\pgfmathparse{#1<=\i ? #1 : "nan"}}
    ] coordinates {
    (1, 1)
    (2, 2)
    (3, 3)
    (4, 4)
    (5, 5)
    (6, 6)
    (7, 7)
    (8, 8)
    (9, 9)
    (10, 10)
  };
\end{axis}\end{tikzpicture}}\end{animateinline}\end{frame}\end{document}

Viewing all articles
Browse latest Browse all 11


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>