-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtemplate.tex
85 lines (71 loc) · 1.35 KB
/
template.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
\documentclass[a4paper,12pt]{jsbook}
\usepackage[blue]{hamacro}
\usepackage{pxjahyper}
\usepackage{eso-pic}
\hypersetup{
pdfstartview={FitV},
pdftitle={$title$},
pdfsubject={$subtitle$},
pdfauthor={$authors$},
pdfkeywords={$keywords$},
}
% title
\title{$title$}
\author{$author$}
\date{\today}
\newcommand\CoverPage{
\put(9,-12){
\includegraphics[width=\paperwidth,height=\paperheight]{./images/cover.eps}
}
}
% document
\begin{document}
\begin{titlepage}
\begin{center}
\AddToShipoutPicture*{\CoverPage}
\end{center}
\clearpage
\thispagestyle{empty}
\begin{flushright}
{\sf 第$version$版}
\end{flushright}
\vspace*{3em}
\begin{center}
{\Huge\bf{$title$}}
\smallskip\\
{\huge\it{$subtitle$}}
\vspace{8em}\\
{\Large\bf{$author$ 著}}
\smallskip\\
{\Large\bf{$translator$ 訳}}
\vfill
{\Large\bf{$publisher$ 発行}}
\end{center}
\end{titlepage}
\frontmatter
\let\thesectionorig\thesection
\renewcommand{\thesection}{}
\let\thesubsectionorig\thesubsection
\renewcommand{\thesubsection}{}
$if(toc)$
\tableofcontents
$endif$
$body$
\clearpage
\thispagestyle{empty}
\vspace*{\fill}
{\noindent\Large{$title$}} \\
\rule[8pt]{14cm}{1pt} \\
{\noindent
\today $version$版発行
\noindent
}
\bigskip\\
\begin{tabular}{ll}
著者 & $author$ \\
翻訳 & $translator$ \\
出版 & $publisher$ \\
\end{tabular}
\bigskip\\
\rule[0pt]{14cm}{1pt} \\
\end{document}