类似 Toodledo 的“可折叠”“小册子”(pocketmod)

类似 Toodledo 的“可折叠”“小册子”(pocketmod)

Toodledo 的可折叠小册子

如何在 pdfLaTeX 中实现类似折叠小册子Toodledo 提供的内容

(为了让其他人能够使用 LuaTex、ConTeX 和其他系统,我们非常欢迎回答)

注意:看看一张纸上可以放多少页。

答案1

为了制作一本小册子(8、16、32 页),我使用pdfpages。我使用以下 3 个步骤:

  1. 我创建了一个普通的 8 页 PDF。

  2. 我使用以下文档作为第一遍(根据您的作文类型进行调整):

    \documentclass[letterpaper]{article}
    \usepackage[pdftex]{color,graphicx,epsfig}
    \usepackage[final]{pdfpages}
    \begin{document}
    \includepdf[pages=4]{LivretHuit}
    \includepdf[pages=5]{LivretHuit}
    \includepdf[pages=8]{LivretHuit}
    \includepdf[pages=1]{LivretHuit}
    \includepdf[pages=3, angle=180]{LivretHuit}
    \includepdf[pages=6, angle=180]{LivretHuit}
    \includepdf[pages=7, angle=180]{LivretHuit}
    \includepdf[pages=2, angle=180]{LivretHuit}
    \end{document}
    
  3. 我使用以下(第二个)文件进行第二遍。

    \documentclass[letterpaper]{article}
    \usepackage[pdftex]{color,graphicx,epsfig}
    \usepackage[final]{pdfpages}
    \begin{document}
    \includepdf[pages=-, nup=2x4, landscape, delta=0.75in 0, frame=false]{LivretHuitA}
    \end{document}
    

我制作了 16 页和 32 页版本以及其他版本。我编写了一个小型 VBScript 来自动化操作。

我的学生非常喜欢这本小册子。尽情享受吧!

答案2

这一主题在“sglisterings”文章中进行了讨论拖船作者:Peter Wilson(31:3, 2010, 第177-183页)。原始帖子中显示的布局在“glisterings”文章中显示为图 5;还有许多其他的。

答案3

不久前,我用pgfpages(参见)创建了我的 pocketmodhttp://uweziegenhagen.de/?p=909)。这样做的好处是只需要运行一次 LaTeX。

\documentclass[21pt]{scrartcl}
\usepackage[]{forloop}
\usepackage[]{blindtext}
\setlength{\parindent}{0pt}
\usepackage[]{lmodern}
\newcounter{ct} 
\usepackage{pgfpages}

  \edef\pgfpageoptionheight{\the\paperwidth} % landscaped by default
  \edef\pgfpageoptionwidth{\the\paperheight}
  \def\pgfpageoptionborder{0pt}
  \def\pgfpageoptionfirstshipout{1}

  \pgfpagesphysicalpageoptions
  {%
    logical pages=8,%
    physical height=\pgfpageoptionheight,%
    physical width=\pgfpageoptionwidth,%
    current logical shipout=\pgfpageoptionfirstshipout%
  }

    \pgfpageslogicalpageoptions{1}
    {%
      border shrink=\pgfpageoptionborder,%
      resized width=.25\pgfphysicalwidth,%
      border code=\pgfusepath{stroke},%
      resized height=0.5\pgfphysicalheight,%
      center=\pgfpoint{.875\pgfphysicalwidth}{.75\pgfphysicalheight}%
    }%
    \pgfpageslogicalpageoptions{2}
    {%
      border shrink=\pgfpageoptionborder,%
      resized width=.25\pgfphysicalwidth,%
      border code=\pgfusepath{stroke},%
      rotation=180,%      
      resized height=0.5\pgfphysicalheight,%
      center=\pgfpoint{.875\pgfphysicalwidth}{.25\pgfphysicalheight}%
    }%

    \pgfpageslogicalpageoptions{3}
    {%
      border shrink=\pgfpageoptionborder,%
      resized width=.25\pgfphysicalwidth,%
      border code=\pgfusepath{stroke},%
      rotation=180,%      
      resized height=0.5\pgfphysicalheight,%
      center=\pgfpoint{.625\pgfphysicalwidth}{.25\pgfphysicalheight}%
    }%
    \pgfpageslogicalpageoptions{4}
    {%
      border shrink=\pgfpageoptionborder,%
      resized width=.25\pgfphysicalwidth,%
      border code=\pgfusepath{stroke},%
      rotation=180,%      
      resized height=0.5\pgfphysicalheight,%
      center=\pgfpoint{.375\pgfphysicalwidth}{.25\pgfphysicalheight}%
    }%

    \pgfpageslogicalpageoptions{5}
    {%
      border shrink=\pgfpageoptionborder,%
      resized width=.25\pgfphysicalwidth,%
      border code=\pgfusepath{stroke},%
      rotation=180,%
      resized height=0.5\pgfphysicalheight,%
      center=\pgfpoint{.125\pgfphysicalwidth}{.25\pgfphysicalheight}%
    }%
    \pgfpageslogicalpageoptions{6}
    {%
      border shrink=\pgfpageoptionborder,%
      resized width=.25\pgfphysicalwidth,%
      border code=\pgfusepath{stroke},%
      resized height=0.5\pgfphysicalheight,%
      center=\pgfpoint{.125\pgfphysicalwidth}{.75\pgfphysicalheight}%
    }%

    \pgfpageslogicalpageoptions{7}
    {%
      border shrink=\pgfpageoptionborder,%
      resized width=.25\pgfphysicalwidth,%
      border code=\pgfusepath{stroke},%
      resized height=0.5\pgfphysicalheight,%
      center=\pgfpoint{.375\pgfphysicalwidth}{.75\pgfphysicalheight}%
    }%
    \pgfpageslogicalpageoptions{8}
    {%
      border shrink=\pgfpageoptionborder,%
      resized width=.25\pgfphysicalwidth,%
      border code=\pgfusepath{stroke},%
      resized height=0.5\pgfphysicalheight,%
      center=\pgfpoint{.625\pgfphysicalwidth}{.75\pgfphysicalheight}%
    }%


\begin{document}

\forloop{ct}{1}{\value{ct} < 9}{%
\blindtext
\clearpage

}
\end{document}

请注意我pgfpages.sty当时所拥有的是有缺陷的。

% original code, not working
%\expandafter\ifx\csname pgfpages@p@\the\pgf@cpn @rotation\endcsname\relax%
 % \pgfscope%
%\else%
 % \pgflowlevel{\pgftransformrotate{\csname pgfpages@p@\the\pgf@cpn @rotation\endcsname}}%
%\fi%

\pgfscope% I used this change to make it work
            \expandafter\ifx\csname pgfpages@p@\the\pgf@cpn @rotation\endcsname\relax%
    \else%
  \pgflowlevel{\pgftransformrotate{\csname pgfpages@p@\the\pgf@cpn @rotation\endcsname}}%
\fi%

答案4

是否booklet套餐是否适合您的需求?

相关内容