Skip to content

Commit

Permalink
add blowup compat (#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbertucci47 authored Aug 6, 2024
1 parent 9f7e0e8 commit 9d6d125
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 4 deletions.
7 changes: 3 additions & 4 deletions _data/tagging-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1286,13 +1286,12 @@

- name: blowup
type: package
status: unknown
status: compatible
included-in:
priority: 9
issues:
tests: false
tasks: needs tests
updated: 2024-07-28
tests: true
updated: 2024-08-06

- name: bm
type: package
Expand Down
56 changes: 56 additions & 0 deletions tagging-status/testfiles/blowup/blowup-01.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
\DocumentMetadata
{
lang=en-US,
pdfversion=2.0,
pdfstandard=ua-2,
testphase={phase-III,title,math,table,firstaid}
}
\documentclass[letterpaper,twoside]{article}
\usepackage{array,xcolor}

% Just to show the page size of the source.
\usepackage{xcolor}
\AddToHook{shipout/background}{%
\put(0,0){\textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}}%
}

\renewcommand\familydefault{\sfdefault}
\setlength\parindent{0pt}
\pagestyle{empty}

\usepackage{blowup}
\blowUp{target=a4,pos=c}% vert. and horiz. centered (default)

\title{blowup tagging test - 1}

\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}
56 changes: 56 additions & 0 deletions tagging-status/testfiles/blowup/blowup-02.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
\DocumentMetadata
{
lang=en-US,
pdfversion=2.0,
pdfstandard=ua-2,
testphase={phase-III,title,math,table,firstaid}
}
\documentclass[a4paper,twoside]{article}
\usepackage{array,xcolor}

% Just to show the page size of the source.
\usepackage{xcolor}
\AddToHook{shipout/background}{%
\put(0,0){\textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}}%
}

\renewcommand\familydefault{\sfdefault}
\setlength\parindent{0pt}
\pagestyle{empty}

\usepackage{blowup}
\blowUp{h-mirroring,v-mirroring}% vertical and horizontal mirrored

\title{blowup tagging test - 2}

\begin{document}

\null\vfill

\huge\centering

A4-sized document not resized, mirrored vertically and horizontally

\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}

0 comments on commit 9d6d125

Please sign in to comment.