使用右侧页脚的活页簿

使用右侧页脚的活页簿

我花了一些时间查看类似的翻页书主题,但仍然无法产生预期的输出。我正在查看翻页书手册,但我还不明白如何实现的命令是:

\fbImageB{./Images/Anims/an3/im}{png}{scale=0.25}

\fbImage*{./DIR/PREFIX}{png}{scale=0.2}

理想情况下,将有 52 张不同的 jpg 图片可供翻阅,放在奇数页上。到目前为止,我已经让一张图片(称为 pp1.jpg)按预期出现在奇数页上,但我如何调用其余图片?我正在使用 Writelatex(这会是个问题吗?)。我在下面的 MWE 中加入了两首我自己的诗歌以外的示例诗 - 谢谢社区!非常感谢任何反馈。

\documentclass[twoside]{article}

\usepackage{fancyhdr}
\usepackage[paperwidth=5.9in, paperheight=8.0in]{geometry}
\usepackage{calc}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{etoolbox}
\usepackage[letterspace=10]{microtype}
\usepackage{pifont}
\usepackage{background}
\usepackage{verbatim}
\usepackage{scalefnt}
\usepackage{everypage}
\usepackage{ifthen}
\usepackage{flipbook}

\pagestyle{fancy}
\pagenumbering{Roman}

\lhead{Author}
\rhead{\thepage}
\chead{}
\lfoot{\bf TITLE}
\rfoot{}
\cfoot{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrule}{\vbox to 0pt{\hbox
to\headwidth{\dotfill}\vss}}

\lsstyle

\begin{document}

Frontcover, Preface, pages

\newpage

Contents page

\newpage

% The first flip book image

\fancyfoot[RO]{\begin{picture}(35,10)
\put(0,-68){\includegraphics{pp1.jpg}}
\end{picture}}

\begin{center}

\section*{A Dream Deferred}

What happens to a dream deferred?\\
Does it dry up\\
like a raisin in the sun?\\
Or fester like a sore—\\
And then run?\\
Does it stink like rotten meat?\\
Or crust and sugar over—\\
like a syrupy sweet?

Maybe it just sags\\
like a heavy load.

Or does it explode?

\end{center}

Langston Hughes


\newpage


\begin{center}


\section*{Circus Animal}

Another day\\
Inside this cage

My life broken\\
Into so many pieces

I keep cutting myself\\
Against the bars

\end{center}

E. Ethelbert Miller

\newpage

another poem

\newpage

another poem because we love poetry = )

\newpage

\end{document}

<code>图片 1/52</code>

答案1

使用 fancyhdr 包,您可以指定想要在赔率页面右脚显示的图片。

活页簿包将生成一本活页簿(插入图像)

\fancyfoot[RO]{                           % Flipbook at right foot in odd pages
\setlength\unitlength{1cm}                % Specify the units
  \begin{picture}(0,0)                    % New picture
    \put(-0.2,-2){                        % Position of the picture
      \fbImageF{./Fig/Flipbook/image_}{png}{width=2cm} % Insert numbered picture in increasing order. Directory: ./Fig/Flipbook. Prefix of all pictures: image_ (in fact image_1, image_2, ...). Extension of the pictures: png. 
     }
 \end{picture}
}

命令是:

\fbImageF{./DIR/PREFIX}{EXT}{width=WIDTH}

和:

  • \fbImageF:按编号图片的递增顺序,
  • \fbImageB:按编号图片的降序排列,
  • DIR:图片的路径,
  • PREFIX:所有图片的前缀(例如:image_1.png,image_2.png,……),
  • EXT:图片的扩展名(例如:jpg、png、……),
  • WIDTH:图片的宽度,有单位(例如:1cm)。

相关内容