|
21 | 21 | %SOFTWARE. |
22 | 22 | \documentclass{article} |
23 | 23 | \usepackage{pgfornament} |
24 | | -% \usepackage[english,greek]{babel} |
25 | 24 | \pagestyle{empty} |
26 | 25 | \usepackage{tikz} |
27 | 26 | \usepackage[calc]{picture} |
28 | 27 | \usetikzlibrary{decorations.fractals} |
29 | | -\usepackage{xstring} |
30 | | -\makeatletter |
31 | | -% first, need to fix a bug in xstring: |
32 | | -\@xs@newmacro\IfDecimal{}{1}{0}{% |
33 | | - \@xs@formatnumber{#1}\@xs@reserved@A |
34 | | - \decimalpart\z@ |
35 | | - \afterassignment\@xs@defafterinteger\integerpart\@xs@reserved@A\relax\@xs@nil |
36 | | - \expandafter\@xs@testdot\@xs@afterinteger\@xs@nil |
37 | | - \ifx\@empty\@xs@afterdecimal\expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi} |
38 | | - |
39 | | -\newcommand*\ExtractLeadingNumber[1]{% |
40 | | - \IfBeginWith{#1}{ }{\StrBehind{#1}{ }[\temp@@]}{\def\temp@@{#1}}% |
41 | | - \IfDecimal\temp@@{#1}{\StrBefore{#1}\@xs@afterdecimal}% |
42 | | -} |
43 | | -\newcommand*\ExtractTralingNonDigits[1]{% |
44 | | - \IfBeginWith{#1}{ }{\StrBehind{#1}{ }[\temp@@]}{\def\temp@@{#1}}% |
45 | | - \IfDecimal\temp@@{}\@xs@afterdecimal |
46 | | -} |
47 | | -\makeatother |
48 | 28 |
|
49 | 29 | \newcommand*{\university}[1]{\def\univname{#1}} |
50 | 30 | \newcommand*{\department}[1]{\def\deptname{#1}} |
|
53 | 33 |
|
54 | 34 | % ---- configure layout ---- |
55 | 35 | \usepackage[papersize={,297mm}, strictheight=false,topmargin=0mm, botmargin, flap=0mm, textwidth=210mm, spine=9mm, cropmarks, cropframe, croptitle=MAE thesis]{zwpagelayout} |
56 | | -\usepackage{rotating} |
| 36 | +% \usepackage{rotating} |
| 37 | +\usepackage[counterclockwise]{rotating} |
| 38 | + |
57 | 39 | \linespread{1} |
58 | 40 |
|
59 | 41 | % ---- configure name ----- |
60 | 42 | \department{\Large School of Mechanical and Aerospace Engineering} |
61 | | -\thesistitle{\textbf{Smart Three-Dimensional Machine Vision}} |
62 | | -\authors{\Large } |
| 43 | +\thesistitle{\LARGE The Greatest Thesis in the World} |
| 44 | +\authors{\Large Author Name} |
63 | 45 |
|
64 | 46 | \begin{document} |
65 | 47 | \hbox to \textwidth{% |
|
68 | 50 |
|
69 | 51 | %-------------------------- spine ------------------------------ |
70 | 52 | \vbox to \textheight{\hsize \CropSpine \vfill \centering |
71 | | -\begin{sideways}\hspace{-0.5cm}\Large \the\year\hspace{2cm} \authornames{} \hspace{3cm}{\ttitle} \end{sideways}\vfill}\hss |
| 53 | +\begin{sideways} |
| 54 | +\hspace{-0.5cm}\LARGE\ttitle |
| 55 | +\hspace{2cm} \authornames{} |
| 56 | +\hspace{3cm}{\Large \the\year} |
| 57 | +\end{sideways} |
| 58 | +\vfill}\hss |
72 | 59 |
|
73 | 60 | %-------------------------- cover page --------------------------------- |
74 | 61 | \vbox to \textheight{\hsize \UserWidth \centering \vspace{0cm} |
75 | 62 | \setlength{\unitlength}{1cm} |
76 | 63 | \begin{picture}(22,27) |
77 | 64 | \put(4.5,18){\includegraphics[width=12.8cm]{Styles/ntu_logo.png}} |
78 | 65 | % \put(8,15) {{\Large Nanyang Technological University}} |
79 | | -\put((21cm-\widthof{\LARGE \ttitle})/2,14){{\LARGE \ttitle}} |
| 66 | +\put((21cm-\widthof{\textbf{\Large\ttitle}})/2,14){{\Large\textbf{\ttitle}}} |
80 | 67 | \put((21cm-\widthof{\textbf{\deptname{}}})/2,4) {\textbf{\deptname{}}} |
81 | 68 | \put((21cm-\widthof{\textbf{\authornames{}}})/2,5) {\textbf{\authornames{}}} |
82 | 69 | \put((21cm-\widthof{\textbf{\Large \the\year}})/2,3){\textbf{\Large \the\year}} |
|
0 commit comments