-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added dvi support with use latex and dvi and dvi to ps
- Loading branch information
1 parent
85b5dd1
commit 2363dc1
Showing
7 changed files
with
3,123 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
\begin{tikzpicture} | ||
\begin{pgfonlayer}{nodelayer} | ||
\node [style=Z dot] (0) at (0, 0) {}; | ||
\node [style=X dot] (1) at (1, 0) {}; | ||
\end{pgfonlayer} | ||
\begin{pgfonlayer}{edgelayer} | ||
\draw [bend left=60] (0) to (1); | ||
\draw [bend right=60] (0) to (1); | ||
\draw (0) to (1); | ||
\end{pgfonlayer} | ||
\end{tikzpicture} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
\usepackage{tikz} | ||
\usetikzlibrary{backgrounds} | ||
\usetikzlibrary{arrows} | ||
\usetikzlibrary{shapes,shapes.geometric,shapes.misc} | ||
|
||
% this style is applied by default to any tikzpicture included via \tikzfig | ||
\tikzstyle{tikzfig}=[baseline=-0.25em,scale=0.5] | ||
|
||
% these are dummy properties used by TikZiT, but ignored by LaTex | ||
\pgfkeys{/tikz/tikzit fill/.initial=0} | ||
\pgfkeys{/tikz/tikzit draw/.initial=0} | ||
\pgfkeys{/tikz/tikzit shape/.initial=0} | ||
\pgfkeys{/tikz/tikzit category/.initial=0} | ||
|
||
% standard layers used in .tikz files | ||
\pgfdeclarelayer{edgelayer} | ||
\pgfdeclarelayer{nodelayer} | ||
\pgfsetlayers{background,edgelayer,nodelayer,main} | ||
|
||
% style for blank nodes | ||
\tikzstyle{none}=[inner sep=0mm] | ||
|
||
% include a .tikz file | ||
\newcommand{\tikzfig}[1]{% | ||
{\tikzstyle{every picture}=[tikzfig] | ||
\IfFileExists{#1.tikz} | ||
{\input{#1.tikz}} | ||
{% | ||
\IfFileExists{./figures/#1.tikz} | ||
{\input{./figures/#1.tikz}} | ||
{\tikz[baseline=-0.5em]{\node[draw=red,font=\color{red},fill=red!10!white] {\textit{#1}};}}% | ||
}}% | ||
} | ||
|
||
% the same as \tikzfig, but in a {center} environment | ||
\newcommand{\ctikzfig}[1]{% | ||
\begin{center}\rm | ||
\tikzfig{#1} | ||
\end{center}} | ||
|
||
% fix strange self-loops, which are PGF/TikZ default | ||
\tikzstyle{every loop}=[] |
Oops, something went wrong.