~tapaal-contributor/tapaal/fix-tikz-export-1945642

« back to all changes in this revision

Viewing changes to src/pipe/gui/TikZExporter.java

  • Committer: kpede19 at aau
  • Date: 2021-10-17 19:34:54 UTC
  • Revision ID: kpede19@student.aau.dk-20211017193454-dj06e67ur0q2u2le
Changed unit from px to pt

Show diffs side-by-side

added added

removed removed

Lines of Context:
478
478
        private StringBuffer exportTikZstyle() {
479
479
                StringBuffer out = new StringBuffer();
480
480
 
481
 
                out.append("\\begin{tikzpicture}[font=\\scriptsize, xscale=0.45, yscale=0.45, x=1.33px, y=1.33px]\n");
 
481
                out.append("\\begin{tikzpicture}[font=\\scriptsize, xscale=0.45, yscale=0.45, x=1.33pt, y=1.33pt]\n");
482
482
                out.append("%% the figure can be scaled by changing xscale and yscale\n");
483
483
                out.append("%% positions of place/transition labels that are currently fixed to label=135 degrees\n");
484
484
                out.append("%% can be adjusted so that they do not cover arcs\n");