Skip to content

Instantly share code, notes, and snippets.

@alea12
Created May 21, 2013 02:57
Show Gist options
  • Save alea12/5617231 to your computer and use it in GitHub Desktop.
Save alea12/5617231 to your computer and use it in GitHub Desktop.
\documentclass{book}
\usepackage[dvipdfmx]{graphicx}
\pagestyle{empty}
%--preamble--
\makeatletter
\parsep = 0pt
\labelsep = .5zw
\def\@listi{%
\leftmargin = 2zw \rightmargin = 0pt
\labelwidth\leftmargin \advance\labelwidth-\labelsep
\topsep = .5\baselineskip
\partopsep = 0pt \itemsep = 0pt
\itemindent = 0pt \listparindent = 1zw}
\let\@listI\@listi
\@listi
\def\@listii{%
\leftmargin = 2zw \rightmargin = 0pt
\labelwidth\leftmargin \advance\labelwidth-\labelsep
\topsep = 0pt \partopsep = 0pt \itemsep = 0pt
\itemindent = 0pt \listparindent = 1zw}
\let\@listiii\@listii
\let\@listiv\@listii
\let\@listv\@listii
\let\@listvi\@listii
\makeatother
%--margin settings--
\setlength{\topmargin}{20mm}
\addtolength{\topmargin}{-1in}
\setlength{\oddsidemargin}{20mm}
\addtolength{\oddsidemargin}{-1in}
\setlength{\evensidemargin}{20mm}
\addtolength{\evensidemargin}{-1in}
\setlength{\textwidth}{170mm}
\setlength{\textheight}{254mm}
\setlength{\headsep}{0mm}
\setlength{\headheight}{0mm}
\setlength{\topskip}{0mm}
\setlength{\parindent}{0pt}
\setlength{\parskip}{2mm}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{ascmac}
\begin{document}
\setlength{\abovedisplayskip}{3pt}
\setlength{\belowdisplayskip}{10pt}
\renewcommand\thefootnote{\arabic{footnote}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment