6

In this case, I would not use a pic but append after command. One benefit is that you can use the anchors of the node. \documentclass[class=article,border=5pt,tikz]{standalone} \usetikzlibrary{shapes.geometric} \tikzset{myhex/.style={regular polygon,regular polygon sides=6,draw, outer sep=0pt,minimum width=3cm, append after command={[/utils/exec=\...


4

Static parts can indeed be typeset once and referenced in multiple frames; see the timeline option of animate. However, this adds some overhead and may not be worth it in terms of final PDF file size. (Therefore, we don't do this here.) There are a few options available that allow you to adjust control button size, colour, opacity and alignment, as well as ...


2

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \newsavebox\mybox \begin{lrbox}{\mybox} \begin{tikzpicture}[] \tikzset{morphlabel/.style={draw=black, thin, rectangle, minimum width=7pt, fill=white, font=\scriptsize}} \node[morphlabel] at (0,0) {$a$}; \end{tikzpicture} \end{lrbox} \...


2

There is none of \newframe nor \multiframe commands to be found in the animateinline environment. Therefore, only one animation frame is produced based on the initial setting of the boolean variable. One could place \multiframe{2}{}{...} around the tikzpicture environment to get two animation frames. Note however, that variables defined or set within the ...


1

As is, the tikzpicture is simply too wide to fit into the right column. The phantom nodes add too much white-space around the visible graphic objects. The animation's vertical extension and the left-hand bounding edge are determined by the text labels "+45°" and "-45°". Only the right bounding edge needs to be fixed, which could indeed be ...


Only top voted, non community-wiki answers of a minimum length are eligible