I occasionally need to make a little program or bulletin of the sort that is a single page that is folded in half to make a little book with a front, back, and two inside pages. I've been able to do it a couple of ways, both a little hacky, but the problem is that the resulting .pdf is hard for some people to print. (You must print landscape, two-sided, tumbling on the short edge.)
I'd like to rotate the contents of the back side so that it can be printed with tumble on the long edge (the usual case). The leaflet class does exactly what I want in this regard, but makes six little pages on a sheet to be folded twice instead of four pages on a sheet to be folded once.
I thought about trying to make a modified version of leaflet, but Tex code at that level is beyond me. It just looks like line noise. I came up with the following. It works, but is a bit hacky (the \stretch is needed to prevent content shifting off a rotated page). And with all the real content in the preamble, all warning messages like "overfull hbox" have the line number of just one of two lines in the actual document.
Is there a better way?
\documentclass{article}
\usepackage{graphicx}% for \rotatebox
\usepackage[landscape,top=0.5in,left=0.5in]{geometry}
\pagestyle{empty}
\newenvironment{mypage}
{\begin{minipage}[c][7in]{4.5in}}
{\vspace{\stretch{0.001}}
\end{minipage}}
\newcommand\frontpage{
\begin{mypage}
Front Page (content ...)
\end{mypage}}
\newcommand\backpage{
\begin{mypage}
Back Page (content ...)
\end{mypage}}
\newcommand\insideLpage{
\begin{mypage}
Inside-Left Page (content ...)
\end{mypage}}
\newcommand\insideRpage{
\begin{mypage}
Inside-Right (content ...)
\end{mypage}}
\begin{document}
\noindent\insideLpage{}\hspace{1in}\insideRpage{}
\noindent\rotatebox[origin=c]{180}{\backpage{}\hspace{1in}\frontpage{}}
\end{document}

bookletpackage is of use here, withgeometryin order to change the layout – Aug 29 '17 at 10:41bookletpackage, but can't get the second physical page to be upside-down (for long-side duplex printing). It also seems like the content of alternate logical pages is right-justified. – dedded Aug 29 '17 at 12:12geometryA5 or whatever you need as usual. Then use a second wrapper withpdfpagesandgeometryset to A4 or whatever you need, which just includes the first document.pdfpageshas options for setting things up as booklets etc. – cfr Aug 29 '17 at 12:31pdfpagesjust works. – cfr Aug 29 '17 at 12:34