kisonecat / tikzjax

TikZJax is TikZ running under WebAssembly in the browser
LaTeX Project Public License v1.3c
447 stars 39 forks source link

problem with clip when two figures are in the same page #21

Open pieffebi opened 1 year ago

pieffebi commented 1 year ago

It seems to me that the \clip command, as in '\begin{scope}' \clip (0,0) circle (1); ... some stuff possibly bleeding outside the circle ... \end{scope} works well only when there is just one figure in the page. If a second figure containing a \clip command is added in the same page, the "shape" of the new clipping area is ignored, and the one for the previous figure is used. Here is a MWE.