Giter Club home page Giter Club logo

latex-fca's People

Contributors

keinstein avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

latex-fca's Issues

Bernhards Minimalrahmen

Die Neufassung des fca.sty ist noch zu wenig dokumentiert und deshalb für mich schwierig zu benutzen. Für FBA-Diagramme verwende ich zurzeit deshalb eine Minimalumgebung, die sich bestimmt in fca.sty einbetten lässt. Diese Minimalversion kann nix, außer einfache Diagramme zeichnen, aber das funktioniert immerhin. Natürlich hätte ich gern all die schönen Sachen, die fca.sty zusätzlich bietet, deshalb hoffe ich, das zusammenführen zu können.

Folgende drastische Einschränkungen machen für mich die Sache einfacher:
1.) Ich arbeite mit TikZ. Kompatibilitätsfragen machen die Sache zu kompliziert. Es ist leichter, alte Diagramm-Files umzuschreiben. Tikzlibrary {calc} ist sowieso geladen.
2.) Default ist scale=0.1. Diagramme male ich lieber in Millimetern als in Zentimetern.
3.) Ich arbeite altmodisch mit Koordinaten.

So sieht's dann aus:
\newcommand{\FCAdrawnode}[1]{\draw[fill=white, line width=1pt] (#1) circle[radius=12mm];}
\newcommand{\Node}[2]{\coordinate (#1) at #2; \FCAdrawnode{#1}}
\newcommand{\Edge}[2]{\draw[thick] (#1) -- (#2); \FCAdrawnode{#1}\FCAdrawnode{#2}}
\newenvironment{fcadiagram}{\begin{tikzpicture}[scale=.1]}{\end{tikzpicture}}
\fbox{\begin{fcadiagram}
\Node{1}{(0,0)}
\Node{2}{(-10,10)}
\Node{3}{(10,10)}
\Node{4}{($(2)+(3)$)}
\Edge{1}{2}
\Edge{1}{3}
\Edge{2}{4}
\Edge{3}{4}
\end{fcadiagram}}

Bernhard

Problem with TikZ 3.1.1

Somewhere between TikZ 3.1.1 and 3.1.9a the behavior of name prefixes and suffixes has changed.

Now, TikZ checks whether the node name is defined, and the prefix and the suffix are added only if the pure name does not exist. This allows access node anchors of nodes whose name was defined with a different name prefix or a different name suffix.

This affects diagrams inside a tikzpicture environment (including tikzdiagram).

Currently, I don't know how to deal with that. Shall I write a workaround (does it work “forever”)? Is it better to patch TikZ depending on the version? Or is the best way to require a convenient TikZ version even if it is currently not widespread enough?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.