我需要大手笔帮助。我正在尝试制作一份报告模板,Word 文件的第一页有很多框。我设法用环境创建了第一个框\fbox
,用目录创建了第一个框\begin{frame}
。问题是列表从新页面开始,而我想要连续的文本。
\documentclass[11pt]{report}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage[linktocpage=true]{hyperref}
\usepackage{amsmath}
\usepackage[output-decimal-marker={.}]{siunitx}
\usepackage[pdftex]{graphicx}
\usepackage{subfigure}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{booktabs}
\usepackage{pbox}
\usepackage{xcolor}
\graphicspath{{immagini/}}
\usepackage[a4paper,top=2cm,bottom=2.5cm,left=2.01cm,right=2.1cm,bindingoffset=0mm]{geometry}
\usepackage{framed}
\setlength\headheight{33pt} %% just to make warning go away. Adjust the value after looking into the warning.
\usepackage{fancyhdr}
\fancyhf{}
\pagestyle{fancy}
\lhead{\includegraphics[scale=1]{logo_ferrari.PNG}}
\chead{}
\rhead{\footnotesize\bfseries{\pbox[b]{\textwidth}{\color{gray}xxx\\ xxx}}}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\headrule}{\hbox
to\headwidth{\color{red}\leaders\hrule
height\headrulewidth\hfill}}
\rfoot{\thepage} %mette il numero pagina sulla destra del piede
\renewcommand{\footrulewidth}{0.4pt} %inserisce una line di divisione a piede pagina
\renewcommand{\footrule}{\hbox
to\headwidth{\color{red}\leaders\hrule height
\footrulewidth\hfill}}
\fancypagestyle{plain}{\fancyhf{} % clear all header and footer fields
\lhead{}
\chead{}
\rhead{\footnotesize\bfseries{\pbox[b]{\textwidth
{\color{gray}xxx\\xxx }}}
\renewcommand{\headrulewidth}{1pt}
\renewcommand{\headrule}{\hbox
to\headwidth{\color{red}\leaders\hrule
height\headrulewidth\hfill}}
\rfoot{\thepage}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\footrule}{\hbox
to\headwidth{\color{red}\leaders\hrule height
\footrulewidth\hfill}} }
\setcounter{tocdepth}{3}
\begin{document}
\pagestyle{fancy}
\noindent
\fbox{\begin{minipage}[c]{0.49\textwidth
\textbf{\underline{DIREZIONE xxx}\\
ENTE: TEc. xxx\\
AUTORE: .... \\
DATA: .... }
\end{minipage}}
\framebox{\begin{minipage}[c]{0.47\textwidth}
\textbf{
Report n. xxx\\
$\Box$ SIMULAZIONE
FLUIDODINAMICA \\
$\Box$ SIMULAZIONE \\
$\Box$ IMPOSTAZIONE}
\end{minipage}}
\fbox{
\begin{minipage}[t]{0.975\textwidth}
\textbf{\underline{OGGETTO}: Teoria delle vibrazioni}
\end{minipage}
}
\fbox{
\begin{minipage}[t]{0.975\textwidth}
\textbf{
\underline{Descrizione attività}: Teoria delle xxxx}
\end{minipage}}
\begin{framed}
\tableofcontents
\listoffigures
\end{framed}
Attività future:
\pagestyle{plain}
\input{xxx}
\input{xxx}
\input{xxx}
\end{document}
如果我使用该fobox
环境,则不会遇到任何问题,直到文本长于页面长度。
谢谢 !!!!!!
答案1
是的,你是对的:同样的序言,但在之后\begin{document}
:
\begin{framed}
\begingroup
\let\clearpage\relax
\tableofcontents*
\listoffigures
\endgroup
\end{framed}`