Some time ago I read a paper that was tightly based on another one. It was from the same authors so they included the previous papers as appendixes. I noticed (and liked) that these appendixes were enclosed in a box.
In my case, I am writing a technical report (report-a) that should include another report (report-b) in its appendix. Both of the are generated by LaTeX.
The result that I am looking for is that report-b appears in the final section of the report-a, inside a box. So far, I can include it with the pdfpages
package. I have also managed to include it in a box with fancybox
:
\documentclass[a4paper,10pt]{article}
\usepackage[final]{pdfpages}
\usepackage{fancybox}
\begin{document}
\section{Test}
hello
\pagebreak
world
\pagebreak
\section{Previous report}
\fancyput(3.25in,-4.5in){%
\setlength{\unitlength}{1in}\fancyoval(7,9.5)
}
\includepdf[pages=-]{reportb.pdf}
\end{document}
I have the following problems with this:
- Page numbering is confusing: from the
includepdf
command, page numbering follows the numbering of report-b - I would prefer if report-b was scaled down a little bit. I could not find how to do this with
pdfpages
- The report-b is included in the page after the section title, which wastes a whole page. I would prefer if it would start right after the section title.
Any ideas of how to achieve this?
PS: I am not really sure how to tag this question.
Best Answer
use alternatively
\includegraphics
. Here an example, which includes the first 20 pages of an external document and each page scaled down to 0.75.\fbox
is only for demonstrations ...