Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \ProvidesPackage{mylayout}
- \setlength\paperheight{9in}
- \setlength\paperwidth{6in}
- \usepackage[cmyk]{xcolor}
- \usepackage{geometry}
- \geometry{
- paperwidth=6in,
- paperheight=9in,
- textwidth=4.5in,
- textheight=7in,
- inner=20mm
- }
- \definecolor{footnote}{gray}{0.2}
- \definecolor{footnoterule}{gray}{0.15}
- \usepackage[perpage,multiple,stable]{footmisc}
- \renewcommand\footnoterule{%
- \begingroup
- \vspace*{\baselineskip}%
- \kern-3\p@%
- \color{footnoterule}\hrule height 0.4pt width \columnwidth%
- \kern2.6\p@%
- \endgroup}
- % redefined from footmisc.sty, putting the footnote text in a \footwidth wide minipage
- \newlength{\footwidth}
- \long\def\@makefntext#1{%
- \parindent1em
- \noindent
- \ifdim\footnotemargin>\z@
- \hb@xt@ \footnotemargin{\hss\@makefnmark}%
- \else
- \ifdim\footnotemargin=\z@
- \llap{\@makefnmark}%
- \else
- \llap{\hb@xt@ -\footnotemargin{\@makefnmark\hss}}%
- \fi
- \fi
- \setlength{\footwidth}{\linewidth}%
- \addtolength{\footwidth}{-\footnotemargin}%
- \addtolength{\footwidth}{-0.3em}%
- \begin{minipage}[t]{\footwidth}\raggedright #1\end{minipage}%
- }
- % redefined from footmisc.sty, adding a color for the footnote text
- \renewcommand\@footnotetext[1]{%
- \insert\footins{%
- \ifFN@setspace
- \let\baselinestretch\FN@baselinestretch
- \fi
- \reset@font\footnotesize
- \interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox
- \floatingpenalty25000
- \hsize\columnwidth
- \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark
- }%
- \color@begingroup%
- \color{footnote}%
- \@makefntext{%
- \rule\z@\footnotesep
- \ignorespaces#1\@finalstrut\strutbox
- }%
- \color@endgroup
- }%
- \FN@mf@prepare
- }%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement