summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tikz-cd/tikz-cd-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tikz-cd/tikz-cd-doc.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tikz-cd/tikz-cd-doc.tex32
1 files changed, 31 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/tikz-cd/tikz-cd-doc.tex b/Master/texmf-dist/doc/latex/tikz-cd/tikz-cd-doc.tex
index 9975e5ef3a0..3fa1f0b9c14 100644
--- a/Master/texmf-dist/doc/latex/tikz-cd/tikz-cd-doc.tex
+++ b/Master/texmf-dist/doc/latex/tikz-cd/tikz-cd-doc.tex
@@ -178,7 +178,7 @@ directory}{}}
{\Large\bfseries Commutative diagrams with \tikzname}
\vspace{1em}
-{Version 0.9d $\quad$ October 26, 2014}
+{Version 0.9e \qquad October 30, 2014}
\end{center}
\vspace{1.5em}
@@ -535,6 +535,12 @@ To use this software in Con\TeX t, load \tikzname{} and then the
The |{tikzcd}| environment should then be replaced by the following:
\begin{contextenvironment}{{tikzcd}\opt{\oarg{options}}}
\end{contextenvironment}
+Moreover, you may replace the column and row separators |&|, |\\| by
+their Con\TeX t analogues |\NC|, |\NR|. However, you should use |\NC|
+only \emph{between} cells, and not before the first column or after
+the last column, as in usual Con\TeX t tables. Similarly, |\NR|
+should be used only between rows.
+
All other functions of this library work as described in this manual
without change.
@@ -670,6 +676,10 @@ meaning 1\,ex, you should use
\end{center}
\end{key}
+\begin{key}{/tikz/commutative diagrams/sep=\meta{size}}
+ This key sets |row sep=|\meta{size}, |column sep=|\meta{size}.
+\end{key}
+
In the examples below, the triangular diagrams would look too wide or
too tall if the column or row separation were not set appropriately.
@@ -691,6 +701,26 @@ too tall if the column or row separation were not set appropriately.
Section \ref*{pgfman-section-matrices}.3.2 of the \pgfname{} manual
\cite{pgfman} contains further details on the spacing of matrix cells.
+\begin{stylekey}{/tikz/commutative diagrams/cramped}
+ By default, a generous amount of white space is added around diagram
+ cells, which is appropriate for large, displayed diagrams. The
+ present style removes some of this extra white space, and is
+ intended for smaller diagrams that should blend with the surrounding
+ text, or very wide material that wouldn't fit on the page otherwise.
+\end{stylekey}
+
+Keep in mind that while there are some legitimate uses for |{tikzcd}|
+diagrams on inline formulas, standard \LaTeX\ constructs such as
+|\overset| and |\xrigthtarrow| are often sufficient and should be
+preferred. The picture below shows the (somewhat subtle) difference
+between the cramped and the non-cramped styles.
+
+\begin{codeexample}[pre=\minipage{6cm},post=\endminipage]
+This \begin{tikzcd} A \arrow[r] & B \end{tikzcd} is a regular diagram.\\
+This \begin{tikzcd}[cramped, sep=small] A \arrow[r] & B \end{tikzcd} is a cramped diagram.\\
+This $A \to B$ is just a formula.
+\end{codeexample}
+
\begin{key}{/tikz/commutative diagrams/math mode=\meta{boolean}
(default true)}
This key determines whether or not the contents of a diagram are