Joshua Moerman
10 years ago
12 changed files with 92 additions and 51 deletions
@ -0,0 +1,9 @@ |
|||
\xymatrix{ |
|||
A \ar[r] \arcof[d]_{(\simeq)}^i & C \ar[d]^j \\ |
|||
B \ar[r] & P |
|||
} |
|||
\qquad |
|||
\xymatrix{ |
|||
P \ar[r] \ar[d]^q & X \arfib[d]_{(\simeq)}^p \\ |
|||
Z \ar[r] & Y |
|||
} |
@ -0,0 +1,4 @@ |
|||
\xymatrix{ |
|||
A \ar[d]^i \ar[r] & X \ar[d]^p \\ |
|||
B \ar[r] & Y |
|||
} |
@ -0,0 +1,9 @@ |
|||
\xymatrix{ |
|||
\cat{0} \ar[rr] \arcof[dr] & & X \\ |
|||
& X^{cof} \artfib[ur] & |
|||
} |
|||
\qquad |
|||
\xymatrix{ |
|||
X \ar[rr] \artcof[dr] & & \cat{1} \\ |
|||
& X^{fib} \arfib[ur] & |
|||
} |
@ -0,0 +1,11 @@ |
|||
\xymatrixcolsep{7pc} |
|||
\xymatrix{ |
|||
\ast \ar@/^/[r]^{\ast \mapsto 0} |
|||
\ar@/_/[r]_{\ast \mapsto 1} & I |
|||
} |
|||
\quad |
|||
\xymatrixcolsep{7pc} |
|||
\xymatrix{ |
|||
I \ar@/^/[r]^{x \mapsto (x, sin(\pi x))} |
|||
\ar@/_/[r]_{x \mapsto (x, -sin(\pi x))} & \R^2 |
|||
} |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 18 KiB |
@ -0,0 +1,8 @@ |
|||
#!/bin/bash |
|||
set -e |
|||
|
|||
file=$1 |
|||
sed "s|__INPUT__|$file|" test_diagram.tex | xelatex -file-line-error -output-directory=build |
|||
mv build/texput.pdf test_diagram.pdf |
|||
exo-open test_diagram.pdf |
|||
rm build/texput.* |
@ -0,0 +1,14 @@ |
|||
\documentclass[a4paper, 12pt]{amsart} |
|||
|
|||
\input{style} |
|||
\input{preamble} |
|||
|
|||
\begin{document} |
|||
|
|||
Your diagram: |
|||
\cdiagrambase{__INPUT__} |
|||
|
|||
For reference, some default latex stuff: |
|||
$$ A \cof B \we X \fib Y $$ |
|||
|
|||
\end{document} |
Reference in new issue