thesis: fix format
This commit is contained in:
parent
cd8c39d119
commit
ffee4964e2
3 changed files with 64 additions and 33 deletions
|
@ -1,15 +1,18 @@
|
|||
\documentclass[11pt,a4paper]{report}
|
||||
\documentclass[12pt,a4paper]{report}
|
||||
|
||||
\usepackage[utf8]{inputenc}
|
||||
|
||||
\usepackage{titlesec,blindtext, color} % titleformat
|
||||
\usepackage{fancyhdr}
|
||||
\usepackage{titlesec} % titleformat
|
||||
\usepackage{blindtext,color,fancyhdr}
|
||||
|
||||
\usepackage{geometry}
|
||||
\geometry{a4paper, top=25mm, left=30mm, right=35mm, bottom=35mm, headsep=10mm, footskip=12mm}
|
||||
|
||||
\usepackage{multirow,tabularx,tabu}
|
||||
|
||||
\usepackage[hyphens]{url}
|
||||
\Urlmuskip = 0mu plus 1mu
|
||||
|
||||
\usepackage[numberedsection,toc,numberline,nopostdot]{glossaries}
|
||||
\makenoidxglossaries
|
||||
|
||||
|
@ -37,17 +40,47 @@
|
|||
|
||||
\author{authorOne}
|
||||
|
||||
\fancypagestyle{plain}{%
|
||||
\fancyhead[L]{\small \authorOneInit}
|
||||
\fancyhead[R]{}
|
||||
\fancyhead[C]{}
|
||||
|
||||
\fancyfoot[R]{\thepage{}}
|
||||
\fancyfoot[C]{}
|
||||
\usepackage{etoolbox}
|
||||
\patchcmd{\part}{\thispagestyle{plain}}{\thispagestyle{empty}}
|
||||
{}{\errmessage{Cannot patch \string\part}}
|
||||
|
||||
\fancypagestyle{empty}{%
|
||||
\renewcommand{\headrulewidth}{0pt}
|
||||
\renewcommand{\footrulewidth}{0pt}
|
||||
\fancyhf{}
|
||||
}
|
||||
|
||||
\newcommand{\hsp}{\hspace{20pt}}
|
||||
\titleformat{\chapter}[hang]{\vspace{-2cm}\Huge\bfseries}{\thechapter\hsp}{0cm}{}
|
||||
\fancypagestyle{front}{%
|
||||
\pagenumbering{roman}
|
||||
\renewcommand{\headrulewidth}{0pt}
|
||||
\renewcommand{\footrulewidth}{0pt}
|
||||
\fancyhf{}
|
||||
}
|
||||
|
||||
\fancypagestyle{preamble}{%
|
||||
\pagenumbering{roman}
|
||||
\renewcommand{\headrulewidth}{0pt}
|
||||
\renewcommand{\footrulewidth}{0pt}
|
||||
\fancyhf{}
|
||||
\fancyfoot[R]{\thepage{}}
|
||||
}
|
||||
|
||||
\fancypagestyle{main}{%
|
||||
\pagenumbering{arabic}
|
||||
\renewcommand{\headrulewidth}{0.25pt}
|
||||
\renewcommand{\footrulewidth}{0.25pt}
|
||||
\fancyhf{}
|
||||
\addtolength{\headwidth}{\marginparsep}
|
||||
\headheight=15pt
|
||||
\fancyhead[L]{\footnotesize\nouppercase{\leftmark}}
|
||||
\fancyhead[C]{}
|
||||
\fancyhead[R]{}
|
||||
\fancyfoot[R]{\thepage{}}
|
||||
}
|
||||
|
||||
%\titlespacing*{\chapter}{0pt}{0pt}{0pt}
|
||||
%\titleformat{\chapter}[hang]{\normalfont\Large\bfseries}{\thechapter}{10pt}{}
|
||||
|
||||
\makeatletter
|
||||
|
||||
\renewcommand\paragraph{\startsection{paragraph}{4}{\z}%
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue