]> pere.pagekite.me Git - text-free-culture-lessig.git/blob - scrreprtmargins.cls
Add dblatex setup to transform footnotes to endnotes in the notes chapter.
[text-free-culture-lessig.git] / scrreprtmargins.cls
1 %%
2 %% This style is derivated from the scrbook one. Partly based on
3 %% <URL: http://www.vetta.org/2008/07/latex-and-lulucom/ > and
4 %% <URL: http://dblatex.sourceforge.net/example/manual.pdf >.
5 %% http://tex.stackexchange.com/questions/19497/how-do-you-setup-a-tex-document-to-self-publish-a-book-online
6 %%
7 \NeedsTeXFormat{LaTeX2e}
8 \ProvidesPackage{book6x9}[2007/04/04 My 6'' x 9'' book Style]
9
10 %% Just use the original class and pass the options
11 \LoadClassWithOptions{scrreprt}
12 % report, book, memoir, scrreprt or scrbook ?
13
14 %\usepackage[margin=1in, paperwidth=6in, paperheight=9in]{geometry}
15 %\usepackage[margin=0.8in]{geometry}
16 \usepackage[inner=0.67in,outer=0.71in,top=0.71in,bottom=0.87in,pdftex]{geometry}
17
18 %% Replace footnotes par end notes
19 \usepackage{endnotes}
20 \let\footnote=\endnote
21
22 % Let user define its own endnote heading section(s)
23 \def\enoteheading{\mbox{}\par\vskip-\baselineskip }
24
25 % Insert this in the docbook code where the notes should be inserted
26 %<?latex \theendnotes ?>