将 B5 转换为 A4

将 B5 转换为 A4

对于我的论文,我尝试将我的文件从 B5 转换为 A4,而不会产生令人难以置信的错误。

话虽如此,以下面发布的模板(并附加)作为模板,我应该更改哪些部分?

我想遵循的印刷规则是:

  • A4 格式
  • 正文 12
  • 两端对齐的文本
  • 页边距 3 厘米(全部)
  • 联运 1.5
\documentclass[11pt, b5paper, twoside, openright]{book}
%\usepackage[cam,a4,center,pdflatex]{crop}
\usepackage[b5,center,pdflatex]{crop}
\usepackage[dvips]{graphicx, epsfig}
\usepackage[table]{xcolor}
\usepackage{color}
\usepackage{amsmath}
\usepackage{xspace}
\usepackage{amssymb}
\usepackage{mathrsfs}
\usepackage{tabularx}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{subfigure}
\usepackage{multirow}
\usepackage{fancyhdr}
\usepackage{textcomp}
\usepackage{eso-pic}
\usepackage{listings}
\usepackage{makeidx}
\usepackage{ifthen}
\usepackage{hyperref}
\usepackage{paralist}
\usepackage{nicefrac}
\usepackage{captcont}
\usepackage{calc}
\usepackage[Lenny]{fncychap}
\makeindex
%
%pacchetti creati da me
\usepackage[italian]{babel}
\usepackage[autostyle,italian=guillemets]{csquotes}
\usepackage[backend=biber,bibstyle=numeric,citestyle=numeric]{biblatex}
\addbibresource{thesis.bib}
\usepackage{tocbibind} %inserisce l'indice analitico e quello di tabelle e figure nell'indice.
%\usepackage[a4paper,top=3cm,bottom=3cm,left=3cm,right=3cm]{geometry} %setta i margini
%
%pacchetti creti da me per l'elenco delle formule
\usepackage[subfigure]{tocloft}
\newcommand{\listequationsname}{Elenco delle equazioni}
\newlistof{myequations}{equ}{\listequationsname}
\newcommand{\myequations}[1]{%
\addcontentsline{equ}{myequations}{\protect\numberline{\theequation}#1}\par}
\setlength{\cftmyequationsindent}{1.5em}
\setlength{\cftmyequationsnumwidth}{2.3em}
\setlength{\cftbeforemyequationsskip}{1pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\textsl{ #1}}{}}
\renewcommand{\sectionmark}[1]{\markright{\textsl{ #1}}{}} 
\fancyhf{}
\fancyhead[RO,LE]{\thepage}
\fancyhead[LO]{\rightmark}
\fancyhead[RE]{\leftmark}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0pt}
\renewcommand{\headheight}{14pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% jpg images paths 
\newcommand{\jpgfigspath}{./figures_jpg/}
% png images paths 
\newcommand{\pngfigspath}{./figures_png/}
%
%
\begin{document}
%
%% COPERTINA
\frontmatter
\input{copertina.tex}
\newpage
\clearpage{\pagestyle{empty}\cleardoublepage}
%\input{copyright.tex}
%\newpage
%
%% SOMMARIO
\input{sommario.tex}
\clearpage{\pagestyle{empty}\cleardoublepage}
%
%% RICONOSCIMENTI
\input{riconoscimenti.tex}
\clearpage{\pagestyle{empty}\cleardoublepage}
%
%% INDICE
\tableofcontents
\clearpage{\pagestyle{empty}\cleardoublepage}
%
%%ELENCO DELLE FIGURE
\listoffigures
\clearpage{\pagestyle{empty}\cleardoublepage}
%
%%ELENCO DELLE TABELLE
\listoftables
\clearpage{\pagestyle{empty}\cleardoublepage}
%
%%ELENCO DELLE FORMULE
\addcontentsline{toc}{chapter}{Elenco delle equazioni}
\listofmyequations
\clearpage{\pagestyle{empty}\cleardoublepage}
%
%% PRIMO CAPITOLO
\mainmatter
\input{./chapters/1energia.tex}
\clearpage{\pagestyle{empty}\cleardoublepage}
%
%% SECONDO CAPITOLO
\input{./chapters/2tropo.tex}
\clearpage{\pagestyle{empty}\cleardoublepage}
%
%% TERZO CAPITOLO
\input{./chapters/3cfd.tex}
\clearpage{\pagestyle{empty}\cleardoublepage}
%
% 11QUARTO CAPITOLO
\input{./chapters/4risultati.tex}
\clearpage{\pagestyle{empty}\cleardoublepage}
%% CONCLUSIONI 
\input{./chapters/conclusioni.tex}
\clearpage{\pagestyle{empty}\cleardoublepage}
\backmatter
%
\appendix
\input{appendice.tex}
\clearpage{\pagestyle{empty}\cleardoublepage}
%
%% BIBLIOGRAFIA originale
%\bibliographystyle{acm}
%\bibliography{thesis}
%\backmatter
%
%% BIBLIOGRAFIA nuova
\printbibliography[heading=bibintoc]
\clearpage{\pagestyle{empty}\cleardoublepage}
%
%% INDICE DEI SOGGETTI
\printindex    
\clearpage{\pagestyle{empty}\cleardoublepage}
%
\end{document}

答案1

  • 作为起点,将文档示例中的前五行替换为
\documentclass[12pt, twoside, openright]{book}  % changed
\usepackage[a4paper, 
            margin=30mm,
            ]{geometry}                         % new
\usepackage{graphicx}                           % changed
\usepackage[table]{xcolor}   
\usepackage{setspace}                           % new
\onehalfspace                                   % new
  • 序言的其他部分你可以保留原样,但是,我建议你重新考虑是否真的需要这些包
  • 如果软件包按照其用途进行分组会更好(例如:数学软件包组等)
  • 还请考虑您问题下方的评论中给出的建议。

MWE 的一个示例,显示您的书的新页面大小为:

\documentclass[11pt, twoside, openright]{book}  % changed
\usepackage[a4paper, 
            margin=30mm,
            ]{geometry}                         % new
\usepackage{graphicx}                           % changed
\usepackage[table]{xcolor}   
\usepackage{setspace}                           % new
\onehalfspace                                   %

%---------------- show page layout. don't use in a real document!
\usepackage{showframe}
\renewcommand\ShowFrameLinethickness{0.15pt}
\renewcommand*\ShowFrameColor{\color{red}}
%---------------------------------------------------------------%
\usepackage{lipsum}

\begin{document}
\lipsum
\end{document}

在上面的 MWE(最小工作示例)中,我没有考虑页眉和页脚。如果您遇到问题,请提出新问题。

在此处输入图片描述

相关内容