Created
May 12, 2014 11:48
-
-
Save arnar/67db418deb87ccb389be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Chapter headers and other customizations (fold) | |
\newenvironment{pabstract}{{\sc abstract}\hspace{.5em}\small}{} | |
\usepackage{titlesec} | |
\titleformat{\section}{\large\bfseries}{\protect\makebox[0pt][r]{\thesection\quad}}{0pt}{} | |
\titleformat{\subsection}{\bfseries}{\protect\makebox[0pt][r]{\thesubsection\quad}}{0pt}{} | |
\titlespacing*{\paragraph}{0pt}{.7em}{1em} | |
\setcounter{chapter}{-1} | |
\renewcommand{\bibname}{References} | |
\newcommand\jointwith\relax | |
\newcommand{\TheAlphaChapter}{% | |
\ifcase\number\thechapter zero\or one\or two\or three\or four\or five\or six\or seven\fi} | |
\makeatletter | |
\def\@makechapterhead#1{% | |
%\vspace*{10\p@}% | |
{\parindent \z@ \raggedleft \normalfont | |
\ifnum \c@secnumdepth >\m@ne | |
\if@mainmatter | |
{\huge\sffamily\lseries\MakeLowercase{\@chapapp\space \TheAlphaChapter}} | |
\par\nobreak | |
\vskip 30\p@ | |
\fi | |
\fi | |
\interlinepenalty\@M | |
{\Huge\sffamily\sbseries #1\par\nobreak} | |
\if \jointwith \relax\relax \else | |
\vskip 10\p@ | |
{\Large\sffamily joint work with \jointwith\par\nobreak} | |
\fi | |
\vskip 40\p@ | |
}}% | |
\def\@makeschapterhead#1{% | |
\vspace*{30\p@}% | |
{\parindent \z@ \raggedleft | |
\normalfont | |
\interlinepenalty\@M | |
{\Huge\sffamily\sbseries #1\par\nobreak} | |
\vskip 40\p@ | |
}}% | |
\renewcommand\tableofcontents{% | |
\if@twocolumn | |
\@restonecoltrue\onecolumn | |
\else | |
\@restonecolfalse | |
\fi | |
\chapter*{\contentsname | |
\@mkboth{% | |
{\upshape\scshape\MakeLowercase\contentsname}}{{\upshape\scshape\MakeLowercase\contentsname}}}% | |
\@starttoc{toc}% | |
\if@restonecol\twocolumn\fi | |
} | |
\renewenvironment{thebibliography}[1] | |
{\section*{\bibname}% | |
\markright{\upshape\scshape\MakeLowercase\bibname}% | |
\list{\@biblabel{\@arabic\c@enumiv}}% | |
{\settowidth\labelwidth{\@biblabel{#1}}% | |
\leftmargin\labelwidth | |
\advance\leftmargin\labelsep | |
\@openbib@code | |
\usecounter{enumiv}% | |
\let\p@enumiv\@empty | |
\renewcommand\theenumiv{\@arabic\c@enumiv}}% | |
\sloppy\clubpenalty4000\widowpenalty4000% | |
\sfcode`\.\@m} | |
{\def\@noitemerr | |
{\@latex@warning{Empty `thebibliography' environment}}% | |
\endlist} | |
\renewcommand\@makefnmark{\@textsuperscript{\footnotesize\@thefnmark}} | |
\long\def\@makecaption#1#2{% | |
\vskip\abovecaptionskip | |
\hrule width \hsize height .33pt | |
\vspace{4pt} | |
\sbox\@tempboxa{#1: #2}% | |
\ifdim \wd\@tempboxa >\hsize | |
#1: #2\par | |
\else | |
\global \@minipagefalse | |
\hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% | |
\fi | |
\vskip\belowcaptionskip} | |
\makeatother | |
% (end) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\renewcommand{\jointwith}{Alejandro Russo and Andrei Sabelfeld} | |
\chapter[Unifying Facets of Information Integrity]{Unifying Facets \\ of Information Integrity} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment