summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/multicolrule
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-09-17 21:19:32 +0000
committerKarl Berry <karl@freefriends.org>2020-09-17 21:19:32 +0000
commitf160c5eb0e0ad64a045468874f9824dd6994a389 (patch)
tree76c629978342f61d30bc1d885e47b6877ad911a8 /Master/texmf-dist/doc/latex/multicolrule
parent79b2c512f897d78673e06c5bf28b3eb5295ad529 (diff)
multicolrule (17sep20)
git-svn-id: svn://tug.org/texlive/trunk@56366 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/multicolrule')
-rw-r--r--Master/texmf-dist/doc/latex/multicolrule/mcrule-examples.pdfbin50874 -> 61063 bytes
-rw-r--r--Master/texmf-dist/doc/latex/multicolrule/mcrule-examples.tex27
-rw-r--r--Master/texmf-dist/doc/latex/multicolrule/multicolrule.pdfbin561243 -> 519743 bytes
3 files changed, 25 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/multicolrule/mcrule-examples.pdf b/Master/texmf-dist/doc/latex/multicolrule/mcrule-examples.pdf
index 7a4237a86ec..8ec88d4bae4 100644
--- a/Master/texmf-dist/doc/latex/multicolrule/mcrule-examples.pdf
+++ b/Master/texmf-dist/doc/latex/multicolrule/mcrule-examples.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/multicolrule/mcrule-examples.tex b/Master/texmf-dist/doc/latex/multicolrule/mcrule-examples.tex
index 3796b78e320..4d00ba53bb5 100644
--- a/Master/texmf-dist/doc/latex/multicolrule/mcrule-examples.tex
+++ b/Master/texmf-dist/doc/latex/multicolrule/mcrule-examples.tex
@@ -8,7 +8,7 @@
\usepackage{bbding}
\usepackage{pgfornament}
\usepackage{bidi}
-\usetikzlibrary{calc}
+\usetikzlibrary{math,calc}
\setlength{\columnsep}{24pt}
\setlength{\columnseprule}{.5pt}
\begin{document}
@@ -164,7 +164,7 @@ for instructions on how to set them in your own documents.
\lipsum[1-2]
\end{multicols}
-\begin{multicols}{2}[Custom line with horizontal lines flush with vertical rule]
+\begin{multicols}{2}[Custom line with horizontal lines flush with vertical rule\footnote{Based on an answer to tex.stackexchange question 47828}]
\SetMCRule{color=gray,width=0.4pt, expand=2pt, custom-line={
\coordinate (TOPLEFT) at ($(TOP)-(\columnwidth+.5\columnsep,\columnseprule)$);
\coordinate (TOPRIGHT) at ($(TOP)+(\columnwidth+.5\columnsep,-\columnseprule)$);
@@ -175,6 +175,29 @@ for instructions on how to set them in your own documents.
\lipsum[1-2]
\end{multicols}
+\setlength{\columnsep}{2in}
+
+\begin{multicols}{2}[Notepad image between two columns\footnote{Based on an answer to tex.stackexchange question 522305}]
+ \SetMCRule{color=blue!10,width=2pt, custom-line={
+ \tikzmath {coordinate \t, \b;
+ \t = (TOP)-(.45\columnsep,0);
+ integer \r, \s;
+ \r = \ty / 16;
+ \s = \ty - \r*16;
+ \t = (\t)-(0,.5*\s);
+ \b = (\t)+(.9\columnsep,-\r*16);
+ }
+ \draw [line width=\columnseprule]
+ (\t) -- ++(.9\columnsep,0) -- (\b) -- ++(-.9\columnsep,0) -- cycle;
+ \foreach \fila in {1,...,\r}
+ {
+ \draw [line width=\columnseprule]
+ ($(\t)-(0,\fila*16pt)$) -- ++(0.90\columnsep,0);
+ }
+ }}
+ \lipsum[1-2]
+\end{multicols}
+
\subsection*{Extended Rules}
\setlength{\columnsep}{24pt}
diff --git a/Master/texmf-dist/doc/latex/multicolrule/multicolrule.pdf b/Master/texmf-dist/doc/latex/multicolrule/multicolrule.pdf
index 9571400c979..acb3d123be5 100644
--- a/Master/texmf-dist/doc/latex/multicolrule/multicolrule.pdf
+++ b/Master/texmf-dist/doc/latex/multicolrule/multicolrule.pdf
Binary files differ