我刚刚完成论文,想问一下有没有办法创建带书脊的前标题页(我不知道这是否是封面和封底之间的区域的正确术语)?我还想添加封底页。
以下是一些初步想法
我找到了一个名为的包zwpagelayout
,它允许以某种方式创建脊柱和襟翼。我尝试使用它
\documentclass[11pt]{book}
\usepackage[english,greek]{babel}
\usepackage[iso-8859-7]{inputenc}
\usepackage{kerkis}
\usepackage[pdftex]{graphicx}
\usepackage{colortbl}
\usepackage{xcolor}
\usepackage[papersize={,293mm}, topmargin=2mm, botmargin, strictheight, leftmargin=0mm, flap=50mm, textwidth=209mm, spine=13mm, cropmarks, cropframe, croptitle=Πρότυπο Εξωφύλλου]{zwpagelayout}
\linespread{1}
\begin{document}
Εξώφυλλο
\end{document}
使用此代码会产生错误spine is not defined
...有什么想法吗?
我编辑了之前的代码,结果是
现在我必须找到一种方法来“移动”页面...任何想法都将受到热烈欢迎!!!
我也用过这个
\documentclass[12pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{pstricks}
\pagestyle{empty}
\makeatletter
\def\La{%
L\kern-.36em{%
\setbox0\hbox{T}%
\vbox to\ht0{%
\hbox{$\m@th$%
\csname S@\f@size\endcsname
\fontsize\sf@size\z@
\math@fontsfalse\selectfont A}%
\vss%
}%
}%
}
\def\AllTeX{(\La\kern-.075em)\kern-.075em\TeX}
\makeatother
\begin{document}
\begin{titlepage}
\psset{unit=1in,linewidth=2pt}%
\psline(-0.75,2)(-0.75,-\paperheight)%
\psline(-0.25,2)(-0.25,-\paperheight)%
\rput[lb]{90}(-0.3,-0.75\paperheight){\red\Huge\textbf{Study}}%
\rput[lb]{90}(-0.4,-0.1\paperheight){\red\Huge\textbf{MicroMEGAS}}%
\vspace*{3cm}
\centerline{\Huge \textbf{P}ost\textbf{S}cript \textbf{T}ricks}
\vspace{2cm}
\centerline{\Large Athanasios Stamatopoulos}
\end{titlepage}
\end{document}
但我的编译器无法识别以下命令
\psline(-0.75,2)(-0.75,-\paperheight)%
此代码的输出为
如您所见,没有生成任何书脊。而是将书脊插入到首页中...
我已经找到了一种移动垫子的方法......完整且正确的代码是
\documentclass[11pt]{book}
\usepackage[english,greek]{babel}
\usepackage[iso-8859-7]{inputenc}
\usepackage{kerkis}
\usepackage[pdftex]{graphicx}
\usepackage{colortbl}
\usepackage{xcolor}
\usepackage[papersize={,293mm}, topmargin=2mm, botmargin, strictheight, leftmargin=0mm, flap=50mm, textwidth=209mm, spine=13mm, cropmarks, cropframe, croptitle=Πρότυπο Εξωφύλλου]{zwpagelayout}
\linespread{1}
\begin{document}
\hbox to \textwidth{%
\vbox to \textheight{\hsize \CropFlap \centering
Back flap\vfill}\hss
\vbox to \textheight{\hsize \UserWidth \centering
\begin{tikzpicture}\draw (0,0) --(5,5);\end{tikzpicture}\vfill \leavevmode ISBN+EAN}\hss
\vbox to \textheight{\hsize \CropSpine \centering
\vfill
\begin{sideways}Name Title\end{sideways}\vfill}\hss
\vbox to \textheight{\hsize \UserWidth \centering
Front cover\vfill \LaTeX}\hss
\vbox to \textheight{\hsize \CropFlap \centering
Front flap\vfill}}
\end{document}
答案1
我已经完成了三个封面。我的代码是
\documentclass{article}
\usepackage{pgfornament}
\usepackage[english,greek]{babel}
\usepackage[iso-8859-7]{inputenc}
\usepackage{kerkis}
\pagestyle{empty}
\usepackage{tikz}
\usetikzlibrary{decorations.fractals}
\usepackage[papersize={,297mm}, strictheight=false,topmargin=0mm, botmargin, flap=50mm, textwidth=209mm, spine=13mm, cropmarks, cropframe, croptitle=Εξώφυλλο Διπλωματικής]{zwpagelayout}
\usepackage{rotating}
\linespread{1}
\begin{document}
\hbox to \textwidth{%
\vbox to \textheight{\hsize \CropFlap \centering \textcolor{white}{Front Flap}
}\hss
\vbox to \textheight{\hsize \UserWidth \vfill \leavevmode \textcolor{white}{ISBN+EAN}}\hss
\vbox to \textheight{\hsize \CropSpine \vfill
\begin{sideways}\hspace{-10cm}Αθανάσιος Ν. Σταματόπουλος \hspace{5cm}{\Large Μελέτη Ανιχνευτή \latintext{MicroMEGAS}} \end{sideways}\vfill}\hss
\vbox to \textheight{\hsize \UserWidth \vspace{1cm}
\setlength{\unitlength}{1cm}
\begin{picture}(20,27)
\put(0.7,1){\pgfornament[width=1cm]{25}}
\put(1.7,1){\pgfornament[width=1cm]{25}}
\put(0.7,2){\pgfornament[width=1cm]{25}}
\put(1.7,2){\pgfornament[width=1cm]{25}}
\put(0.7,3){\pgfornament[width=1cm]{25}}
\put(1.7,3){\pgfornament[width=1cm]{25}}
\put(0.7,4){\pgfornament[width=1cm]{25}}
\put(1.7,4){\pgfornament[width=1cm]{25}}
\put(0.7,5){\pgfornament[width=1cm]{25}}
\put(1.7,5){\pgfornament[width=1cm]{25}}
\put(0.7,6){\pgfornament[width=1cm]{25}}
\put(1.7,6){\pgfornament[width=1cm]{25}}
\put(0.7,7){\pgfornament[width=1cm]{25}}
\put(1.7,7){\pgfornament[width=1cm]{25}}
\put(0.7,8){\pgfornament[width=1cm]{25}}
\put(1.7,8){\pgfornament[width=1cm]{25}}
\put(0.7,9){\pgfornament[width=1cm]{25}}
\put(1.7,9){\pgfornament[width=1cm]{25}}
\put(0.7,10){\pgfornament[width=1cm]{25}}
\put(1.7,10){\pgfornament[width=1cm]{25}}
\put(0.7,11){\pgfornament[width=1cm]{25}}
\put(1.7,11){\pgfornament[width=1cm]{25}}
\put(0.7,12){\pgfornament[width=1cm]{25}}
\put(1.7,12){\pgfornament[width=1cm]{25}}
\put(0.7,13){\pgfornament[width=1cm]{25}}
\put(1.7,13){\pgfornament[width=1cm]{25}}
\put(0.7,14){\pgfornament[width=1cm]{25}}
\put(1.7,14){\pgfornament[width=1cm]{25}}
\put(0.7,15){\pgfornament[width=1cm]{25}}
\put(1.7,15){\pgfornament[width=1cm]{25}}
\put(0.7,16){\pgfornament[width=1cm]{25}}
\put(1.7,16){\pgfornament[width=1cm]{25}}
\put(0.7,17){\pgfornament[width=1cm]{25}}
\put(1.7,17){\pgfornament[width=1cm]{25}}
\put(0.7,18){\pgfornament[width=1cm]{25}}
\put(1.7,18){\pgfornament[width=1cm]{25}}
\put(0.7,19){\pgfornament[width=1cm]{25}}
\put(1.7,19){\pgfornament[width=1cm]{25}}
\put(0.7,20){\pgfornament[width=1cm]{25}}
\put(1.7,20){\pgfornament[width=1cm]{25}}
\put(0.7,21){\pgfornament[width=1cm]{25}}
\put(1.7,21){\pgfornament[width=1cm]{25}}
\put(0.7,22){\pgfornament[width=1cm]{25}}
\put(1.7,22){\pgfornament[width=1cm]{25}}
\put(0.7,23){\pgfornament[width=1cm]{25}}
\put(1.7,23){\pgfornament[width=1cm]{25}}
\put(0.7,24){\pgfornament[width=1cm]{25}}
\put(1.7,24){\pgfornament[width=1cm]{25}}
\put(0.7,25){\pgfornament[width=1cm]{25}}
\put(1.7,25){\pgfornament[width=1cm]{25}}
\put(0.7,26){\pgfornament[width=1cm]{25}}
\put(1.7,26){\pgfornament[width=1cm]{25}}
%-----------------------------------------------------------
\put(3.4,23){\includegraphics[width=3.3cm]{ntua-logo}}
\put(7.1,25.4) {{\Large Εθνικό Μετσόβιο Πολυτεχνείο}}
\put(7.1,24.9) {{\Large Σχολή Εφαρμοσμένων Μαθηματικών\&Φυσικών Επιστημών}}
\put(7.1,24.4) {{\Large Τομέας Φυσικής}}
\put(7.1,23.9) {{\Large Εργαστήριο Πειραματικής Φυσικής Υψηλών Ενεργειών}}
\put(6,14){{\huge Μελέτη ανιχνευτή \latintext{MicroMEGAS}}}
\put(7.5,7.5){{\Large Σταματόπουλος Ν. Αθανάσιος}}
\put(9,1.5){{\Large Οκτώβριος 2012}}
\end{picture}}\hss
\vbox to \textheight{\hsize \CropFlap \textcolor{white}{Back Flap}
}}
\newpage
\hbox to \textwidth{%
\vbox to \textheight{\hsize \CropFlap \centering
\textcolor{white}{Back flap}\vfill}\hss
\vbox to \textheight{\hsize \UserWidth \vfill \leavevmode \textcolor{white}{ISBN+EAN}}\hss
\vbox to \textheight{\hsize \CropSpine \vfill
\begin{sideways}\hspace{-10cm}Αθανάσιος Ν. Σταματόπουλος \hspace{5cm}{\Large Μελέτη Ανιχνευτή \latintext{MicroMEGAS}} \end{sideways}\vfill}\hss
\vbox to \textheight{\hsize \UserWidth \vspace{1cm}
\setlength{\unitlength}{1cm}
\begin{picture}(20,27)
\put(0.7,1){\pgfornament[width=1cm]{25}}
\put(1.7,1){\pgfornament[width=1cm]{25}}
\put(0.7,2){\pgfornament[width=1cm]{25}}
\put(1.7,2){\pgfornament[width=1cm]{25}}
\put(0.7,3){\pgfornament[width=1cm]{25}}
\put(1.7,3){\pgfornament[width=1cm]{25}}
\put(0.7,4){\pgfornament[width=1cm]{25}}
\put(1.7,4){\pgfornament[width=1cm]{25}}
\put(0.7,5){\pgfornament[width=1cm]{25}}
\put(1.7,5){\pgfornament[width=1cm]{25}}
\put(0.7,6){\pgfornament[width=1cm]{25}}
\put(1.7,6){\pgfornament[width=1cm]{25}}
\put(0.7,7){\pgfornament[width=1cm]{25}}
\put(1.7,7){\pgfornament[width=1cm]{25}}
\put(0.7,8){\pgfornament[width=1cm]{25}}
\put(1.7,8){\pgfornament[width=1cm]{25}}
\put(0.7,9){\pgfornament[width=1cm]{25}}
\put(1.7,9){\pgfornament[width=1cm]{25}}
\put(0.7,10){\pgfornament[width=1cm]{25}}
\put(1.7,10){\pgfornament[width=1cm]{25}}
\put(0.7,11){\pgfornament[width=1cm]{25}}
\put(1.7,11){\pgfornament[width=1cm]{25}}
\put(0.7,12){\pgfornament[width=1cm]{25}}
\put(1.7,12){\pgfornament[width=1cm]{25}}
\put(0.7,13){\pgfornament[width=1cm]{25}}
\put(1.7,13){\pgfornament[width=1cm]{25}}
\put(0.7,14){\pgfornament[width=1cm]{25}}
\put(1.7,14){\pgfornament[width=1cm]{25}}
\put(0.7,15){\pgfornament[width=1cm]{25}}
\put(1.7,15){\pgfornament[width=1cm]{25}}
\put(0.7,16){\pgfornament[width=1cm]{25}}
\put(1.7,16){\pgfornament[width=1cm]{25}}
\put(0.7,17){\pgfornament[width=1cm]{25}}
\put(1.7,17){\pgfornament[width=1cm]{25}}
\put(0.7,18){\pgfornament[width=1cm]{25}}
\put(1.7,18){\pgfornament[width=1cm]{25}}
\put(0.7,19){\pgfornament[width=1cm]{25}}
\put(1.7,19){\pgfornament[width=1cm]{25}}
\put(0.7,20){\pgfornament[width=1cm]{25}}
\put(1.7,20){\pgfornament[width=1cm]{25}}
\put(0.7,21){\pgfornament[width=1cm]{25}}
\put(1.7,21){\pgfornament[width=1cm]{25}}
\put(0.7,22){\pgfornament[width=1cm]{25}}
\put(1.7,22){\pgfornament[width=1cm]{25}}
\put(0.7,23){\pgfornament[width=1cm]{25}}
\put(1.7,23){\pgfornament[width=1cm]{25}}
\put(0.7,24){\pgfornament[width=1cm]{25}}
\put(1.7,24){\pgfornament[width=1cm]{25}}
\put(0.7,25){\pgfornament[width=1cm]{25}}
\put(1.7,25){\pgfornament[width=1cm]{25}}
\put(0.7,26){\pgfornament[width=1cm]{25}}
\put(1.7,26){\pgfornament[width=1cm]{25}}
%-----------------------------------------------------------
\put(9.5,23){\includegraphics[width=3.3cm]{ntua-logo}}
\put(8,22) {{\Large Εθνικό Μετσόβιο Πολυτεχνείο}}
\put(5,21.5) {{\Large Σχολή Εφαρμοσμένων Μαθηματικών\&Φυσικών Επιστημών}}
\put(9.5,21) {{\Large Τομέας Φυσικής}}
\put(5.5,20.5) {{\Large Εργαστήριο Πειραματικής Φυσικής Υψηλών Ενεργειών}}
\put(6,14){{\huge Μελέτη ανιχνευτή \latintext{MicroMEGAS}}}
\put(7.5,7.5){{\Large Σταματόπουλος Ν. Αθανάσιος}}
\put(9,1.5){{\Large Οκτώβριος 2012}}
\end{picture}}\hss
\vbox to \textheight{\hsize \CropFlap \centering
\textcolor{white}{Front flap}\vfill}}
\newpage
\hbox to \textwidth{%
\vbox to \textheight{\hsize \CropFlap
\vspace{20.5cm} \begin{tikzpicture}\draw[color=gray!50,fill=gray!50] (0,0) rectangle (5,-2);\end{tikzpicture}\vfill}\hss
\vbox to \textheight{\hsize \UserWidth \vspace{20.5cm} \begin{tikzpicture}\draw[color=gray!50,fill=gray!50] (-2,0) rectangle (30,-2);\end{tikzpicture}}\hss
\vbox to \textheight{\hsize \CropSpine \vfill
\begin{sideways}\hspace{-10cm}Αθανάσιος Ν. Σταματόπουλος \hspace{5cm}{\Large Μελέτη Ανιχνευτή \latintext{MicroMEGAS}} \end{sideways}\vfill}\hss
\vbox to \textheight{\hsize \UserWidth \vspace{1cm} \line(1,0){40}{} \Large Σταματόπουλος Ν. Αθανάσιος \line(1,0){320}\\ \setlength{\unitlength}{1cm}\begin{picture}(27,17)
\put(1,7){\includegraphics[width=3.5cm]{ntua-logo}}
\put (5.5,9.5){\Large Εθνικό Μετσόβιο Πολυτεχνείο}
\put (5.5,9){\Large Σχολή Εφαρμοσμένων Μαθηματικών\&Φυσικών Επιστημών}
\put (5.5,8.5) {\Large Τομέας Φυσικής}
\put (5.5,8) {\Large Εργαστήριο Πειραματικής Φυσικής Υψηλών Ενεργειών}
\put (1,1) {\huge Μελέτη ανιχνευτή \latintext{MicroMEGAS}}\end{picture}
\begin{tikzpicture}
\draw[color=white,opacity=1] (0,2) -- (10,2);
\draw[color=gray!50,fill=gray!50] (0,0) rectangle (25,-2);
\node at (3,-6) {\large Οκτώβριος 2012};
\end{tikzpicture}
}\hss
\vbox to \textheight{\hsize \CropFlap \vspace{20.5cm} \begin{tikzpicture}\draw[color=gray!50,fill=gray!50] (0,0) rectangle (4.5,-2);\end{tikzpicture}\vfill}}
\end{document}
输出为
你们觉得怎么样?哪个更适合写论文?欢迎提出其他建议!!!
**编辑:**我还添加了彩色版本中最后一个封面的替代方案。
代码如下
\hbox to \textwidth{%
\vbox to \textheight{\hsize \CropFlap
\vspace{20.5cm} \begin{tikzpicture}\draw[color=red,fill=red] (0,0) rectangle (5,-2);\end{tikzpicture}\vfill}\hss
\vbox to \textheight{\hsize \UserWidth \vspace{20.5cm} \begin{tikzpicture}\draw[color=red,fill=red] (-2,0) rectangle (30,-2);\end{tikzpicture}}\hss
\vbox to \textheight{\hsize \CropSpine \vfill
\begin{sideways}\hspace{-10cm}\textcolor{blue}{Αθανάσιος Ν. Σταματόπουλος} \hspace{5cm} {\Large \textcolor{blue}{Μελέτη Ανιχνευτή \latintext{MicroMEGAS}}} \end{sideways}\vfill}\hss
\vbox to \textheight{\hsize \UserWidth \vspace{1cm} \begin{tikzpicture}\draw[red,very thick] (0,0) --(3,0); \node at (6.3,0) {\Large Σταματόπουλος Ν. Αθανάσιος}; \draw[red,very thick] (9.6,0) -- (20,0); \end{tikzpicture}\\ \setlength{\unitlength}{1cm}\begin{picture} (27,17)
\put(1,7){\includegraphics[width=3.5cm]{ntua-logo}}
\put (5.5,9.5){\Large Εθνικό Μετσόβιο Πολυτεχνείο}
\put (5.5,9){\Large Σχολή Εφαρμοσμένων Μαθηματικών\&Φυσικών Επιστημών}
\put (5.5,8.5) {\Large Τομέας Φυσικής}
\put (5.5,8) {\Large Εργαστήριο Πειραματικής Φυσικής Υψηλών Ενεργειών}
\put (1,1) {\huge Μελέτη ανιχνευτή \latintext{MicroMEGAS}}\end{picture}
\begin{tikzpicture}
\draw[color=white,opacity=1] (0,2) -- (10,2);
\draw[color=red,fill=red] (0,0.2) rectangle (25,-1.8);
\node at (3,-6) {\large Οκτώβριος 2012};
\end{tikzpicture}
}\hss
\vbox to \textheight{\hsize \CropFlap \vspace{20.5cm} \begin{tikzpicture}\draw[color=red,fill=red] (0,0) rectangle (4.5,-2);\end{tikzpicture}\vfill}}
该代码的输出如下
你们会选择什么?
答案2
答案3
另一种选择是在图形程序中创建封面和封底图。如果我没记错的话,这是 Koma-script 手册中的建议。一旦你有了封面和封底,你就可以使用 LaTeX bookcover 包来正确生成封面。
我相信可以使用 bookcover 包根据需要在页面上添加图形,但我还没有将它用于此目的。