From 9c69fe52ff1acb0639831fa85ba6e9723f5fd56a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 4 Jan 2018 23:45:00 +0000 Subject: blowup (4jan18) git-svn-id: svn://tug.org/texlive/trunk@46213 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/blowup/README.md | 9 +++ Master/texmf-dist/doc/latex/blowup/blowup-ex1.pdf | Bin 0 -> 30706 bytes Master/texmf-dist/doc/latex/blowup/blowup-ex1.tex | 63 +++++++++++++++++++++ Master/texmf-dist/doc/latex/blowup/blowup-ex2.pdf | Bin 0 -> 30705 bytes Master/texmf-dist/doc/latex/blowup/blowup-ex2.tex | 63 +++++++++++++++++++++ Master/texmf-dist/doc/latex/blowup/blowup-ex3.pdf | Bin 0 -> 31331 bytes Master/texmf-dist/doc/latex/blowup/blowup-ex3.tex | 66 ++++++++++++++++++++++ Master/texmf-dist/doc/latex/blowup/blowup-ex4.pdf | Bin 0 -> 31085 bytes Master/texmf-dist/doc/latex/blowup/blowup-ex4.tex | 64 +++++++++++++++++++++ Master/texmf-dist/doc/latex/blowup/blowup-ex5.pdf | Bin 0 -> 19223 bytes Master/texmf-dist/doc/latex/blowup/blowup-ex5.tex | 23 ++++++++ Master/texmf-dist/doc/latex/blowup/blowup.pdf | Bin 0 -> 229251 bytes 12 files changed, 288 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/blowup/README.md create mode 100644 Master/texmf-dist/doc/latex/blowup/blowup-ex1.pdf create mode 100644 Master/texmf-dist/doc/latex/blowup/blowup-ex1.tex create mode 100644 Master/texmf-dist/doc/latex/blowup/blowup-ex2.pdf create mode 100644 Master/texmf-dist/doc/latex/blowup/blowup-ex2.tex create mode 100644 Master/texmf-dist/doc/latex/blowup/blowup-ex3.pdf create mode 100644 Master/texmf-dist/doc/latex/blowup/blowup-ex3.tex create mode 100644 Master/texmf-dist/doc/latex/blowup/blowup-ex4.pdf create mode 100644 Master/texmf-dist/doc/latex/blowup/blowup-ex4.tex create mode 100644 Master/texmf-dist/doc/latex/blowup/blowup-ex5.pdf create mode 100644 Master/texmf-dist/doc/latex/blowup/blowup-ex5.tex create mode 100644 Master/texmf-dist/doc/latex/blowup/blowup.pdf (limited to 'Master/texmf-dist/doc/latex/blowup') diff --git a/Master/texmf-dist/doc/latex/blowup/README.md b/Master/texmf-dist/doc/latex/blowup/README.md new file mode 100644 index 00000000000..8f59764c938 --- /dev/null +++ b/Master/texmf-dist/doc/latex/blowup/README.md @@ -0,0 +1,9 @@ +# blowup +The package blowup only defines the user-level macro \blowUp, which can be +used to upscale or downscale all pages of a document. It is similar to the +TeX primitive \magnification but more accurate and in a user-friendly manner. + +Home page: https://github.com/rolfn/blowup + +Rolf Niepraschk, 2018-01-02 + diff --git a/Master/texmf-dist/doc/latex/blowup/blowup-ex1.pdf b/Master/texmf-dist/doc/latex/blowup/blowup-ex1.pdf new file mode 100644 index 00000000000..fa375764395 Binary files /dev/null and b/Master/texmf-dist/doc/latex/blowup/blowup-ex1.pdf differ diff --git a/Master/texmf-dist/doc/latex/blowup/blowup-ex1.tex b/Master/texmf-dist/doc/latex/blowup/blowup-ex1.tex new file mode 100644 index 00000000000..47df1292995 --- /dev/null +++ b/Master/texmf-dist/doc/latex/blowup/blowup-ex1.tex @@ -0,0 +1,63 @@ + +%--------------------------- +% Rolf Niepraschk, Rolf.Niepraschk@gmx.de, 2017-07-28 + +% lualatex blowup-test.tex +% or +% pdflatex blowup-test.tex +% or +% latex blowup-test.tex ; dvips blowup-test ; ps2pdf blowup-test.ps +% or +% vlatex blowup-test.tex +% +% pdfinfo blowup-test.pdf + +\listfiles +\documentclass[letterpaper,twoside]{article} +\usepackage{array,xcolor} + +% Only to show the source page size. +\usepackage{eso-pic} +\AddToShipoutPicture{% + \AtPageLowerLeft{\textcolor{green!30}{\rule{\paperwidth}{\paperheight}}}% +} + +\renewcommand\familydefault{\sfdefault} +\setlength\parindent{0pt} +\pagestyle{empty} + +\usepackage{blowup}% Load "blowup" as last package! +\blowUp{target=a4,pos=c}% vert. and horiz. centered (default) + +\begin{document} + +\null\vfill + +\huge\centering + +Letter-size document on A4-size paper + +\vfill + +\setlength\extrarowheight{.5ex} +\begin{tabular}{|>{\bfseries}l<{:}r<{\,mm}!{$\times$}r<{\,mm}|} \hline + letter & 216 & 279 \\ + legal & 216 & 356 \\ + executive & 184 & 267 \\ + A8 & 52 & 74 \\ + A7 & 74 & 105 \\ + A6 & 105 & 148 \\ + A5 & 148 & 210 \\ + A4 & 210 & 297 \\ + A3 & 297 & 420 \\ + A2 & 420 & 594 \\ + A1 & 594 & 841 \\ + A0 & 841 & 1189 \\ \hline +\end{tabular} + +\vfill + +\newpage\null 2nd page\dots + +\end{document} +%--------------------------- diff --git a/Master/texmf-dist/doc/latex/blowup/blowup-ex2.pdf b/Master/texmf-dist/doc/latex/blowup/blowup-ex2.pdf new file mode 100644 index 00000000000..6289de97cab Binary files /dev/null and b/Master/texmf-dist/doc/latex/blowup/blowup-ex2.pdf differ diff --git a/Master/texmf-dist/doc/latex/blowup/blowup-ex2.tex b/Master/texmf-dist/doc/latex/blowup/blowup-ex2.tex new file mode 100644 index 00000000000..7833df4ac5a --- /dev/null +++ b/Master/texmf-dist/doc/latex/blowup/blowup-ex2.tex @@ -0,0 +1,63 @@ + +%--------------------------- +% Rolf Niepraschk, Rolf.Niepraschk@gmx.de, 2017-07-28 + +% lualatex blowup-test.tex +% or +% pdflatex blowup-test.tex +% or +% latex blowup-test.tex ; dvips blowup-test ; ps2pdf blowup-test.ps +% or +% vlatex blowup-test.tex +% +% pdfinfo blowup-test.pdf + +\listfiles +\documentclass[a4paper,twoside]{article} +\usepackage{array,xcolor} + +% Only to show the source page size. +\usepackage{eso-pic} +\AddToShipoutPicture{% + \AtPageLowerLeft{\textcolor{green!30}{\rule{\paperwidth}{\paperheight}}}% +} + +\renewcommand\familydefault{\sfdefault} +\setlength\parindent{0pt} +\pagestyle{empty} + +\usepackage{blowup}% Load "blowup" as last package! +\blowUp{target=letter,pos=outside}% outside aligned + +\begin{document} + +\null\vfill + +\huge\centering + +A4-size document on letter-size paper + +\vfill + +\setlength\extrarowheight{.5ex} +\begin{tabular}{|>{\bfseries}l<{:}r<{\,mm}!{$\times$}r<{\,mm}|} \hline + letter & 216 & 279 \\ + legal & 216 & 356 \\ + executive & 184 & 267 \\ + A8 & 52 & 74 \\ + A7 & 74 & 105 \\ + A6 & 105 & 148 \\ + A5 & 148 & 210 \\ + A4 & 210 & 297 \\ + A3 & 297 & 420 \\ + A2 & 420 & 594 \\ + A1 & 594 & 841 \\ + A0 & 841 & 1189 \\ \hline +\end{tabular} + +\vfill + +\newpage\null 2nd page\dots + +\end{document} +%--------------------------- diff --git a/Master/texmf-dist/doc/latex/blowup/blowup-ex3.pdf b/Master/texmf-dist/doc/latex/blowup/blowup-ex3.pdf new file mode 100644 index 00000000000..4ae95e7a99f Binary files /dev/null and b/Master/texmf-dist/doc/latex/blowup/blowup-ex3.pdf differ diff --git a/Master/texmf-dist/doc/latex/blowup/blowup-ex3.tex b/Master/texmf-dist/doc/latex/blowup/blowup-ex3.tex new file mode 100644 index 00000000000..b4364c8beef --- /dev/null +++ b/Master/texmf-dist/doc/latex/blowup/blowup-ex3.tex @@ -0,0 +1,66 @@ + +%--------------------------- +% Rolf Niepraschk, Rolf.Niepraschk@gmx.de, 2017-07-28 + +% lualatex blowup-test.tex +% or +% pdflatex blowup-test.tex +% or +% latex blowup-test.tex ; dvips blowup-test ; ps2pdf blowup-test.ps +% or +% vlatex blowup-test.tex +% +% pdfinfo blowup-test.pdf + +\listfiles +\documentclass[a5paper,twoside]{article} +\usepackage{array,xcolor} + +% Only to show the source page size. +\usepackage{eso-pic} +\AddToShipoutPicture{% + \AtPageLowerLeft{\textcolor{green!30}{\rule{\paperwidth}{\paperheight}}}% +} + +\renewcommand\familydefault{\sfdefault} +\setlength\parindent{0pt} +\pagestyle{empty} + +\usepackage{blowup}% Load "blowup" as last package! +\blowUp{origin={143mm,202mm},target=a5,pos={o,b}}% top and outside aligned +% or the same: +% \blowUp{origin=x0.966216,target=a5,pos={o,b}}% top and outside aligned + +\begin{document} + +\null\vfill + +\Large\centering + +A bit downscaled A5-size document on \mbox{A5-size paper} +(more space for binding) + +\vfill + +\setlength\extrarowheight{.5ex} +\begin{tabular}{|>{\bfseries}l<{:}r<{\,mm}!{$\times$}r<{\,mm}|} \hline + letter & 216 & 279 \\ + legal & 216 & 356 \\ + executive & 184 & 267 \\ + A8 & 52 & 74 \\ + A7 & 74 & 105 \\ + A6 & 105 & 148 \\ + A5 & 148 & 210 \\ + A4 & 210 & 297 \\ + A3 & 297 & 420 \\ + A2 & 420 & 594 \\ + A1 & 594 & 841 \\ + A0 & 841 & 1189 \\ \hline +\end{tabular} + +\vfill + +\newpage\null 2nd page\,\dots + +\end{document} +%--------------------------- diff --git a/Master/texmf-dist/doc/latex/blowup/blowup-ex4.pdf b/Master/texmf-dist/doc/latex/blowup/blowup-ex4.pdf new file mode 100644 index 00000000000..d40dce12664 Binary files /dev/null and b/Master/texmf-dist/doc/latex/blowup/blowup-ex4.pdf differ diff --git a/Master/texmf-dist/doc/latex/blowup/blowup-ex4.tex b/Master/texmf-dist/doc/latex/blowup/blowup-ex4.tex new file mode 100644 index 00000000000..d7c12f9677b --- /dev/null +++ b/Master/texmf-dist/doc/latex/blowup/blowup-ex4.tex @@ -0,0 +1,64 @@ + +%--------------------------- +% Rolf Niepraschk, Rolf.Niepraschk@gmx.de, 2017-07-28 + +% lualatex blowup-test.tex +% or +% pdflatex blowup-test.tex +% or +% latex blowup-test.tex ; dvips blowup-test ; ps2pdf blowup-test.ps +% or +% vlatex blowup-test.tex +% +% pdfinfo blowup-test.pdf + +\listfiles +\documentclass[paper=a4,landscape]{scrartcl} +\usepackage{array,xcolor} + +% Only to show the source page size. +\usepackage{eso-pic} +\AddToShipoutPicture{% + \AtPageLowerLeft{\textcolor{green!30}{\rule{\paperwidth}{\paperheight}}}% +} + +\renewcommand\familydefault{\sfdefault} +\setlength\parindent{0pt} +\pagestyle{empty} + +\usepackage{blowup}% Load "blowup" as last package! +\blowUp{target=a0,landscape,onepage} + +\begin{document} + +\null\vfill + +\Large\centering + +The first page of a multipage A4-size document scaled to \mbox{A0-size paper} +(useful for poster) + +\vfill + +\setlength\extrarowheight{.5ex} +\begin{tabular}{|>{\bfseries}l<{:}r<{\,mm}!{$\times$}r<{\,mm}|} \hline + letter & 216 & 279 \\ + legal & 216 & 356 \\ + executive & 184 & 267 \\ + A8 & 52 & 74 \\ + A7 & 74 & 105 \\ + A6 & 105 & 148 \\ + A5 & 148 & 210 \\ + A4 & 210 & 297 \\ + A3 & 297 & 420 \\ + A2 & 420 & 594 \\ + A1 & 594 & 841 \\ + A0 & 841 & 1189 \\ \hline +\end{tabular} + +\vfill + +\newpage\null 2nd page\,\dots + +\end{document} +%--------------------------- diff --git a/Master/texmf-dist/doc/latex/blowup/blowup-ex5.pdf b/Master/texmf-dist/doc/latex/blowup/blowup-ex5.pdf new file mode 100644 index 00000000000..69328f97969 Binary files /dev/null and b/Master/texmf-dist/doc/latex/blowup/blowup-ex5.pdf differ diff --git a/Master/texmf-dist/doc/latex/blowup/blowup-ex5.tex b/Master/texmf-dist/doc/latex/blowup/blowup-ex5.tex new file mode 100644 index 00000000000..c5f55abbea0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/blowup/blowup-ex5.tex @@ -0,0 +1,23 @@ + +\listfiles +\documentclass[paper=b6,fontsize=11pt,twoside]{scrartcl} +\usepackage{showframe} + +\newcommand*\aPage{% + \Huge + \noindent A \hfill B \hfill C + \vfill + \noindent X \hfill Y \hfill Z \newpage} + +\usepackage{blowup} +\blowUp{target=a4,pos={inside,top},noscale} + +\begin{document} + +\aPage +\aPage +\aPage +\aPage + +\end{document} +%--------------------------- diff --git a/Master/texmf-dist/doc/latex/blowup/blowup.pdf b/Master/texmf-dist/doc/latex/blowup/blowup.pdf new file mode 100644 index 00000000000..ece08ca2ee3 Binary files /dev/null and b/Master/texmf-dist/doc/latex/blowup/blowup.pdf differ -- cgit v1.2.3