From d6fa8fbf780ce1b3309f807ada2fd5eec16e26ae Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 2 Nov 2014 21:51:42 +0000 Subject: tikz-cd (2nov14) git-svn-id: svn://tug.org/texlive/trunk@35485 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/tikz-cd/tikz-cd-doc.pdf | Bin 337004 -> 341186 bytes .../texmf-dist/doc/latex/tikz-cd/tikz-cd-doc.tex | 32 ++++++++++++++++++++- 2 files changed, 31 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/doc/latex/tikz-cd') diff --git a/Master/texmf-dist/doc/latex/tikz-cd/tikz-cd-doc.pdf b/Master/texmf-dist/doc/latex/tikz-cd/tikz-cd-doc.pdf index d2968c9a814..f1d5a3a68cf 100644 Binary files a/Master/texmf-dist/doc/latex/tikz-cd/tikz-cd-doc.pdf and b/Master/texmf-dist/doc/latex/tikz-cd/tikz-cd-doc.pdf differ 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 -- cgit v1.2.3