summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tikz-page
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-08-29 21:19:42 +0000
committerKarl Berry <karl@freefriends.org>2016-08-29 21:19:42 +0000
commit8d7f98b66885b8a8f5e0cccb43f7c97060affb01 (patch)
tree0b2332cf66c3fa41d1bf40d3c089158c89445742 /Master/texmf-dist/doc/latex/tikz-page
parent2962ec38fd49c09aa977d3bb795f1db5d138c072 (diff)
tikz-page (29aug16)
git-svn-id: svn://tug.org/texlive/trunk@41949 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tikz-page')
-rw-r--r--Master/texmf-dist/doc/latex/tikz-page/Makefile49
-rw-r--r--Master/texmf-dist/doc/latex/tikz-page/README108
-rw-r--r--Master/texmf-dist/doc/latex/tikz-page/README.md107
-rw-r--r--Master/texmf-dist/doc/latex/tikz-page/example.pngbin0 -> 137469 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tikz-page/tikz-page.pdfbin0 -> 428127 bytes
5 files changed, 264 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tikz-page/Makefile b/Master/texmf-dist/doc/latex/tikz-page/Makefile
new file mode 100644
index 00000000000..79df540a65b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tikz-page/Makefile
@@ -0,0 +1,49 @@
+##
+
+
+export TEXMFHOME="~/texmf:"
+PACKAGE = tikz-page
+
+cleanext := $(wildcard *.dvi *.aux *.glo *.ilg *.ind *.toc *.hd *.idx *.listing *.log *.out _minted-*)
+
+listings := $(wildcard $(PACKAGE)-*.tex wildcard $(PACKAGE)-*.md5 wildcard $(PACKAGE)-*.pdf)
+
+objects := $(PACKAGE).sty $(PACKAGE).pdf
+
+LATEX := $(shell which latex)
+PDFLATEX := $(shell which pdflatex)
+PANDOC := $(shell which pandoc)
+
+CTANDIR := $(PACKAGE)
+CTANDIST = Makefile README.md README \
+ tikz-page.pdf tikz-page.dtx tikz-page.sty \
+ example.png
+
+all: $(objects) README
+
+%.sty: %.dtx
+ $(RM) -f $@
+ $(LATEX) '\let\install=y\input{$<}'
+
+%.pdf: %.dtx
+ TEXMFHOME="~/texmf:" $(PDFLATEX) -shell-escape $<
+ makeindex -s gind.ist $(PACKAGE).idx
+ TEXMFHOME="~/texmf:" $(PDFLATEX) -shell-escape $<
+ #$(PDFLATEX) -shell-escape $<
+
+clean:
+ $(RM) -fr $(cleanext) $(listings) $(PACKAGE).zip
+
+distclean: clean
+ $(RM) -f $(objects) README $(CTANDIR)
+
+README: README.md
+ $(PANDOC) -t plain -o $@ $<
+
+CTAN: all README clean
+ mkdir -p $(CTANDIR)
+ cp $(CTANDIST) $(CTANDIR)
+ zip -ll -q -r -X $(CTANDIR).zip $(CTANDIR)
+
+
+.PHONY: %.dty
diff --git a/Master/texmf-dist/doc/latex/tikz-page/README b/Master/texmf-dist/doc/latex/tikz-page/README
new file mode 100644
index 00000000000..4a87e5194be
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tikz-page/README
@@ -0,0 +1,108 @@
+
+
+TIKZ PAGE
+
+
+Small macro to help building nice and complex page layout materials.
+
+
+Build
+
+You can build the whole package using the make command.
+
+
+Installation
+
+To install the tkiz-page package copy its directory to either to:
+
+- $TEXHOME/tex/latex/
+- $TEXMFHOME/tex/latex/
+- ~/texmf/tex/latex/
+- ~/Library/texmf/tex/latex/
+
+
+Usage
+
+A simple page:
+
+ \documentclass{article}
+ \usepackage{tikz-page}
+ \usepackage{lipsum}
+ \newcommand{\tikzpagelayout}{
+ \tpshowframes
+ \tikzpageputanchors
+ }
+ \pagestyle{plain}
+ \begin{document}
+ \lipsum
+ \end{document}
+
+A more complex document:
+
+ \documentclass{article}
+ \usepackage{tikz-page}
+ \usepackage{lipsum}
+ \definecolor{halfgray}{gray}{0.55}
+ \newcommand\anglei{-45}
+ \newcommand\angleii{45}
+ \newcommand\angleiii{225}
+ \newcommand\angleiv{135}
+ \newcommand{\tikzpagelayout}{
+ \tpflip{
+ \coordinate (aux1) at ([yshift=-15pt]page.northeast);
+ \coordinate (aux2) at ([yshift=-410pt]page.northeast);
+ \coordinate (aux3) at ([xshift=-4.5cm]page.northeast);
+ \coordinate (aux4) at ([yshift=-150pt]page.northeast);
+ }{
+ \coordinate (aux1) at ([yshift=-15pt]page.northwest);
+ \coordinate (aux2) at ([yshift=-410pt]page.northwest);
+ \coordinate (aux3) at ([xshift=4.5cm]page.northwest);
+ \coordinate (aux4) at ([yshift=-150pt]page.northwest);
+ \renewcommand\anglei{-135}
+ \renewcommand\angleii{135}
+ \renewcommand\angleiii{-45}
+ \renewcommand\angleiv{45}
+ }
+ \begin{scope}[halfgray!40,line width=12pt,rounded corners=12pt]
+ \draw (aux1) -- coordinate (a) ++(\angleiii:5) -- ++(\anglei:5.1) coordinate (b);
+ \draw[shorten <= -10pt] (aux3) -- (a) -- (aux1);
+ \draw[opacity=0.6,halfgray,shorten <= -10pt] (b) -- ++(\angleiii:2.2) -- ++(\anglei:2.2);
+ \end{scope}
+ \draw[halfgray,line width=8pt,rounded corners=8pt,shorten <= -10pt]
+ (aux4) -- ++(\angleiii:0.8) -- ++(\anglei:0.8);
+ \begin{scope}[halfgray!70,line width=6pt,rounded corners=8pt]
+ \draw[shorten <= -10pt] (aux2) -- ++(\angleiii:3) coordinate[pos=0.45] (c) -- ++(\anglei:3.1);
+ \draw (aux2) -- (c) -- ++(\angleiv:2.5) -- ++(\angleii:2.5) -- ++(\anglei:2.5) coordinate[pos=0.3] (d);
+ \draw (d) -- +(\angleii:1);
+ \end{scope}
+ }
+ \pagestyle{plain}
+ \begin{document}
+ \lipsum
+ \end{document}
+
+See tikz-page.pdf for further help.
+
+
+Example
+
+[tikz example]
+
+
+License
+
+This program is free software. It comes without any warranty, to the
+extent permitted by applicable law. You can redistribute it and/or
+modify it under the terms of the Do What The Fuck You Want To Public
+License, Version 2, as published by Sam Hocevar. See
+http://sam.zoy.org/wtfpl/COPYING for more details.
+
+This file may be distributed and/or modified under the conditions of the
+LaTeX Project Public License, either version 1.3c of this license or (at
+your option) any later version. The latest version of this license is
+in:
+
+http://www.latex-project.org/lppl.txt
+
+and version 1.3c or later is part of all distributions of LaTeX version
+2006/05/20 or later.
diff --git a/Master/texmf-dist/doc/latex/tikz-page/README.md b/Master/texmf-dist/doc/latex/tikz-page/README.md
new file mode 100644
index 00000000000..875d80bf636
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tikz-page/README.md
@@ -0,0 +1,107 @@
+# Tikz page
+
+Small macro to help building nice and complex page layout materials.
+
+
+## Build
+
+You can build the whole package using the `make` command.
+
+## Installation
+
+To install the `tkiz-page` package copy its directory to either to:
+
+- `$TEXHOME/tex/latex/`
+- `$TEXMFHOME/tex/latex/`
+- `~/texmf/tex/latex/`
+- `~/Library/texmf/tex/latex/`
+
+
+## Usage
+
+A simple page:
+
+````Tex
+\documentclass{article}
+\usepackage{tikz-page}
+\usepackage{lipsum}
+\newcommand{\tikzpagelayout}{
+ \tpshowframes
+ \tikzpageputanchors
+}
+\pagestyle{plain}
+\begin{document}
+\lipsum
+\end{document}
+````
+
+A more complex document:
+
+```Tex
+\documentclass{article}
+\usepackage{tikz-page}
+\usepackage{lipsum}
+\definecolor{halfgray}{gray}{0.55}
+\newcommand\anglei{-45}
+\newcommand\angleii{45}
+\newcommand\angleiii{225}
+\newcommand\angleiv{135}
+\newcommand{\tikzpagelayout}{
+ \tpflip{
+ \coordinate (aux1) at ([yshift=-15pt]page.northeast);
+ \coordinate (aux2) at ([yshift=-410pt]page.northeast);
+ \coordinate (aux3) at ([xshift=-4.5cm]page.northeast);
+ \coordinate (aux4) at ([yshift=-150pt]page.northeast);
+ }{
+ \coordinate (aux1) at ([yshift=-15pt]page.northwest);
+ \coordinate (aux2) at ([yshift=-410pt]page.northwest);
+ \coordinate (aux3) at ([xshift=4.5cm]page.northwest);
+ \coordinate (aux4) at ([yshift=-150pt]page.northwest);
+ \renewcommand\anglei{-135}
+ \renewcommand\angleii{135}
+ \renewcommand\angleiii{-45}
+ \renewcommand\angleiv{45}
+ }
+ \begin{scope}[halfgray!40,line width=12pt,rounded corners=12pt]
+ \draw (aux1) -- coordinate (a) ++(\angleiii:5) -- ++(\anglei:5.1) coordinate (b);
+ \draw[shorten <= -10pt] (aux3) -- (a) -- (aux1);
+ \draw[opacity=0.6,halfgray,shorten <= -10pt] (b) -- ++(\angleiii:2.2) -- ++(\anglei:2.2);
+ \end{scope}
+ \draw[halfgray,line width=8pt,rounded corners=8pt,shorten <= -10pt]
+ (aux4) -- ++(\angleiii:0.8) -- ++(\anglei:0.8);
+ \begin{scope}[halfgray!70,line width=6pt,rounded corners=8pt]
+ \draw[shorten <= -10pt] (aux2) -- ++(\angleiii:3) coordinate[pos=0.45] (c) -- ++(\anglei:3.1);
+ \draw (aux2) -- (c) -- ++(\angleiv:2.5) -- ++(\angleii:2.5) -- ++(\anglei:2.5) coordinate[pos=0.3] (d);
+ \draw (d) -- +(\angleii:1);
+ \end{scope}
+}
+\pagestyle{plain}
+\begin{document}
+\lipsum
+\end{document}
+```
+
+See [tikz-page.pdf](tikz-page.pdf) for further help.
+
+
+## Example
+
+![tikz example](example.png)
+
+## License
+
+This program is free software. It comes without any warranty, to the extent
+permitted by applicable law. You can redistribute it and/or modify it under
+the terms of the Do What The Fuck You Want To Public License, Version 2, as
+published by Sam Hocevar. See http://sam.zoy.org/wtfpl/COPYING for more
+details.
+
+This file may be distributed and/or modified under the conditions of
+the LaTeX Project Public License, either version 1.3c of this license
+or (at your option) any later version. The latest version of this
+license is in:
+
+http://www.latex-project.org/lppl.txt
+
+and version 1.3c or later is part of all distributions of LaTeX
+version 2006/05/20 or later.
diff --git a/Master/texmf-dist/doc/latex/tikz-page/example.png b/Master/texmf-dist/doc/latex/tikz-page/example.png
new file mode 100644
index 00000000000..c711a2d542c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tikz-page/example.png
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tikz-page/tikz-page.pdf b/Master/texmf-dist/doc/latex/tikz-page/tikz-page.pdf
new file mode 100644
index 00000000000..9367deae085
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tikz-page/tikz-page.pdf
Binary files differ