这里有人问过非常类似的问题:增加 koma 类中单页的边距他解决了将页面方向从纵向改为横向的问题。而我却无法做到这一点,因为我正在排版标题页。
我正在使用 Koma 类 scrreprt 和 classicthesis 包来定义我的文档的整体格式。(实际上使用臭名昭著的 classicthesis 模板)。
我的问题是:如何才能将标题页的边距拉伸到纸张较大的边框?我的意思是,我对顶部和底部边距没有问题。
我在这里发现了另一个类似的问题:使用 typearea 包更改单页的顶部边距除了他们扩大了顶部边距而不是文本区域之外,他们还实现了我想要做的事情。我相信我可以做类似的事情来解决我的情况,但我不知道该怎么做。
提前感谢大家
这是 MWE
\documentclass[twoside,openright,titlepage,BCOR=5mm,paper=a4,fontsize=11pt]{scrreprt}
\usepackage{classicthesis}
\usepackage[spanish,mexico]{babel}
\usepackage{graphicx}
\usepackage{typearea}
\areaset[current]{312pt}{761pt}
\setlength{\marginparwidth}{7em}
\setlength{\marginparsep}{2em}
\begin{document}
\thispagestyle{empty}
%\pdfbookmark[1]{Titel}{title}
%*******************************************************
\begin{titlepage}
% if you want the titlepage to be centered, uncomment and fine-tune the line below (KOMA classes environment)
\begin{addmargin}[-0.5cm]{-3cm}
\scalebox{1.3}{
\begin{minipage}[c][0.1\textheight][c]{0.2\textwidth}
\begin{center}
\includegraphics[width=1.2\textwidth]{Logo_ITC_cl.pdf}
\end{center}
\end{minipage}
\begin{minipage}[c][0.1\textheight][t]{0.65\textwidth}
\begin{center}
{\scshape University of Somewhere}
\vspace{.3cm}
\hrule height2.5pt
\vspace{.1cm}
\hrule height1pt
\vspace{.3cm}
{\scshape My major's Department}
\end{center}
\end{minipage}
}
\scalebox{1.3}{
\begin{minipage}[c][0.6\textheight][t]{0.2\textwidth}
\begin{center}
\hskip2pt
\vrule width2.5pt height14cm
\hskip1mm
\vrule width1pt height14cm \\
\includegraphics[width=1.2\textwidth]{Logo-TecNM.pdf}
\end{center}
\end{minipage}
\begin{minipage}[c][0.6\textheight][t]{0.65\textwidth}
\vspace*{1cm}
\begin{center}
{\begingroup\color{Maroon}\scshape{\spacedallcaps{This is an extremely long title wich will span in multiple lines and with this margin setup won't look as good as it could}}
\endgroup}
\vspace{1cm}
\makebox[5cm][c]{\spacedlowsmallcaps{Memoria de Residencia Profesional}} \\[1cm]
{\spacedlowsmallcaps {que para obtener el título de:}}\\[5pt]
{\scshape{Overly Complicated Major}}\\[1cm]
{\spacedlowsmallcaps {presenta:}}\\[5pt]
{\scshape{Jhon Doe}}
\vfill
{\spacedlowsmallcaps {Somewhere, Sometime}}
\end{center}
\end{minipage}
}
\end{addmargin}
\end{titlepage}
\end{document}
答案1
您可以使用它\storeareas
来保存布局设置并在稍后恢复。
\documentclass[twoside,open=right,BCOR=5mm,
areasetadvanced% <- added
]{scrreprt}
\usepackage{classicthesis}% it is not recommended with a KOMA-Script class
\usepackage{showframe}% to show the page layout
\AfterSettingArea{%
\setlength{\marginparwidth}{7em}%
\setlength{\marginparsep}{2em}%
}
\areaset[current]{312pt}{761pt}
\BeforeRestoreareas{\clearpage}
\begin{document}
First page with main settings
\clearpage
Second page with main settings
\storeareas\mystoredareavalues
\areaset[0pt]{425pt}{761pt}
Page with changed areas
\mystoredareavalues
Page with restored areas
\end{document}
请注意,会自动scrreprt
加载包typearea
。包classicthesis
会加载并使用titlesec
与 KOMA-Script 不兼容的包。