我正在使用古典论文作为我的博士论文,我意识到这种风格会产生 A4 而不是书本风格。我在 classicthesis.sty 中找到了这些评论,这让我有点困惑,不知道如何将其更改为书本风格。谢谢
\DeclareBoolOption{a4paper}
\DeclareBoolOption{a5paper}
\DeclareBoolOption{b5paper}
\DeclareBoolOption{letterpaper}
\DeclareStringOption[a4]{paper} % paper size defaults to A4
\ProcessKeyvalOptions{ct}
%%% seems that KOMA-Script gives preference to old-style paper options, thus first
\ifthenelse{\boolean{ct@letterpaper}}{\renewcommand*{\ct@paper} {letter}}{}
\ifthenelse{\boolean{ct@a5paper}}{\renewcommand*{\ct@paper}{a5}}{}
\ifthenelse{\boolean{ct@b5paper}}{\renewcommand*{\ct@paper}{b5}}{}
\ifthenelse{\boolean{ct@a4paper}}{\renewcommand*{\ct@paper}{a4}}{}
\ifthenelse{\equal{\ct@paper}{letter}\OR\equal{\ct@paper}{a5}\OR \equal{\ct@paper}{b5}\OR\equal{\ct@paper}{a4}}{\relax}%
{\PackageWarningNoLine{classicthesis}{Text area setup only provided for paper sizes: letter, a5, b5, a4. You are using paper=\ct@paper}}
和,
% ********************************************************************
% Textblock size
%*******************************************************
\PassOptionsToPackage{headinclude,footinclude}{typearea} % for classes other than KOMA
\RequirePackage{typearea}
\ifthenelse{\equal{\ct@paper}{letter}}%
{% Letter 216mm x 279mm
\PackageInfo{classicthesis}{letter paper, Palatino or other}
\areaset[current]{356pt}{700pt}% guessing from A4 values
\setlength{\marginparwidth}{7em}%
\setlength{\marginparsep}{2em}%
}{\relax}
\ifthenelse{\equal{\ct@paper}{b5}}%
{% B5 176mm x 250mm
% Thanks to Jos\'e M. Alcaide
\PackageInfo{classicthesis}{B5 paper, Palatino or other}%
\areaset[current]{311pt}{645pt}%
\setlength{\marginparwidth}{6em}%
\setlength{\marginparsep}{1.5em}%
}{\relax}
\ifthenelse{\equal{\ct@paper}{a5}}%
{% A5 148mm x 210mm
\PackageInfo{classicthesis}{A5 paper, Palatino or other}%
\areaset[current]{288pt}{555pt}%
\setlength{\marginparwidth}{4em}%
\setlength{\marginparsep}{1.25em}%
}{\relax}
\ifthenelse{\equal{\ct@paper}{a4}}%
{% A4 210mm x 297mm
\PackageInfo{classicthesis}{A4 paper, Palatino or other}
\areaset[current]{336pt}{750pt} % ~ 336 * factor 2 + 33 head + 42 \the\footskip
% \areaset{336pt}{761pt} % 686 (factor 2.2) + 33 head + 42 head \the\footskip 10pt
\setlength{\marginparwidth}{7em}%
\setlength{\marginparsep}{2em}%
}{\relax}
答案1
我将使用classicthesis
包而不是类,并使用geometry
和其他主类的选项来调整页面大小设置。
例如,您可以使用标准book
类:
\documentclass[12pt, twoside]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[linedheaders, parts, pdfspacing]{classicthesis}
\usepackage[paper=b5paper]{geometry}
\usepackage{lipsum}
\begin{document}
\chapter{First chapter}
\section{First section}
\lipsum[1-10]
\end{document}
请注意类选项twoside
和所选的纸张大小设置geometry
;我选择了预定义的 b5 纸张大小(148 × 210mm),因为它是一个很好的“书本大小”,但您可以选择最适合您的大小。(该lipsum
包只是用虚拟文本填充文档。)