Skip to content

Commit

Permalink
Finished version v1.4
Browse files Browse the repository at this point in the history
- New feature: local styles
- New feature: support of the external library of TikZ

(Full release notes are included in the manual.)
  • Loading branch information
c-minz committed Mar 4, 2023
1 parent ab27581 commit aeca0fe
Show file tree
Hide file tree
Showing 10 changed files with 592 additions and 394 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/tmp/
/causets/
/.settings/
examples/*.sty
.pydevproject
Expand All @@ -7,6 +8,7 @@ examples/*.sty
*.synctex.gz
*.log
*.aux
*.auxlock
causets_development.sty
/causets.out
/causets.pdf
causets.out
causets.pdf
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Bug reports can be send to the maintainer:
christoph{dot}minz[AT]gmail{dot}com

## License and distribution
Copyright 2020-2022 by C. Minz
Copyright 2020-2023 by C. Minz

This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this licence or (at your option) any later version.
The latest version of this licence is in
Expand All @@ -44,7 +44,7 @@ This work has the LPPL maintenance status "maintained".
The current maintainer of this work is C. Minz.
https://github.com/c-minz

**Current version: v1.3.1**
**Current package version: v1.4 (2023/03/06)**

CTAN location: /graphics/pgf/contrib/causets/

Expand Down
Binary file modified causet_tikz_example1.pdf
Binary file not shown.
6 changes: 3 additions & 3 deletions causet_tikz_example1.tex
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
\drawpcauset{5,2,7,3,6,1,4}
\draw[red, double] (0, 0) circle[radius=0.1];
\end{scope}
% Circumscribe the future infinity:
% Mark the maximal elements (future infinity):
\node[draw=blue, inner sep=1pt, thick, ellipse, fit=(E2) (E4) (E5)] (Finf) {};
% Add labels on top:
\node[draw=blue, right, align=right] (FinfLabel) at (4.8, -0.5) {future infinity / \\ maximal events};
\node[draw=blue, right, align=right] (FinfLabel) at (4.8, -0.5) {maximal events / \\ (future infinity)};
\node[draw=red] (centerLabel) at (0.5, -0.5) {centre};
\node[draw=green!50!black] (myEventLabel) at (5.5, -2.5) {event (E0)};
% Draw arrows from the labels to the references:
\draw[ultra thick, blue, ->] (FinfLabel) -- (Finf);
\draw[ultra thick, red, ->] (centerLabel) -- (3, -1);
\draw[ultra thick, red, ->] (centerLabel) -- (3, -1); % centre was shifted by the scope
\draw[ultra thick, green!50!black, ->] (myEventLabel) -- (E0);
\end{tikzpicture}
\end{document}
Binary file modified causets.pdf
Binary file not shown.
Loading

0 comments on commit aeca0fe

Please sign in to comment.