summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/a4wide
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/a4wide
Initial commit
Diffstat (limited to 'macros/latex/contrib/a4wide')
-rw-r--r--macros/latex/contrib/a4wide/a4wide.pdfbin0 -> 133487 bytes
-rw-r--r--macros/latex/contrib/a4wide/a4wide.sty41
-rw-r--r--macros/latex/contrib/a4wide/a4wide.tex46
3 files changed, 87 insertions, 0 deletions
diff --git a/macros/latex/contrib/a4wide/a4wide.pdf b/macros/latex/contrib/a4wide/a4wide.pdf
new file mode 100644
index 0000000000..6eea31b469
--- /dev/null
+++ b/macros/latex/contrib/a4wide/a4wide.pdf
Binary files differ
diff --git a/macros/latex/contrib/a4wide/a4wide.sty b/macros/latex/contrib/a4wide/a4wide.sty
new file mode 100644
index 0000000000..93658c3219
--- /dev/null
+++ b/macros/latex/contrib/a4wide/a4wide.sty
@@ -0,0 +1,41 @@
+%NAME: a4wide.sty
+% "moretext" document style option.
+% Jean-Francois Lamy, July 86
+%
+% Redefines the margins so that they are more in line with
+% what we are used to see.
+%
+% [Minimally modified for LaTeX2e, Alexander Holt, August 1994]
+%
+% Released under the LPPL, version 1, or (at your option) any later version.
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{a4wide}[1994/08/30]
+\RequirePackage{a4}
+
+\ifcase \@ptsize
+ % mods for 10 pt
+ \oddsidemargin 0.15 in % Left margin on odd-numbered pages.
+ \evensidemargin 0.35 in % Left margin on even-numbered pages.
+ \marginparwidth 1 in % Width of marginal notes.
+ \oddsidemargin 0.25 in % Note that \oddsidemargin = \evensidemargin
+ \evensidemargin 0.25 in
+ \marginparwidth 0.75 in
+ \textwidth 5.875 in % Width of text line.
+\or % mods for 11 pt
+ \oddsidemargin 0.1 in % Left margin on odd-numbered pages.
+ \evensidemargin 0.15 in % Left margin on even-numbered pages.
+ \marginparwidth 1 in % Width of marginal notes.
+ \oddsidemargin 0.125 in % Note that \oddsidemargin = \evensidemargin
+ \evensidemargin 0.125 in
+ \marginparwidth 0.75 in
+ \textwidth 6.125 in % Width of text line.
+\or % mods for 12 pt
+ \oddsidemargin -10 pt % Left margin on odd-numbered pages.
+ \evensidemargin 10 pt % Left margin on even-numbered pages.
+ \marginparwidth 1 in % Width of marginal notes.
+ \oddsidemargin 0 in % Note that \oddsidemargin = \evensidemargin
+ \evensidemargin 0 in
+ \marginparwidth 0.75 in
+ \textwidth 6.375 true in % Width of text line.
+\fi
diff --git a/macros/latex/contrib/a4wide/a4wide.tex b/macros/latex/contrib/a4wide/a4wide.tex
new file mode 100644
index 0000000000..51fe8e3bb0
--- /dev/null
+++ b/macros/latex/contrib/a4wide/a4wide.tex
@@ -0,0 +1,46 @@
+\documentclass[parskip=true, pagesize=auto]{scrartcl}
+
+\usepackage{fixltx2e}
+\usepackage{lmodern}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage{booktabs}
+\usepackage{siunitx}
+
+\addtokomafont{disposition}{\rmfamily}
+\sisetup{obeybold}
+
+\newunit{\point}{pt}
+\newunit{\inch}{in}
+
+\title{The \textsf{a4wide} package}
+\author{Jean-François Lamy \and Alexander Holt}
+\date{August 1994}
+
+
+\begin{document}
+
+\maketitle
+
+The \textsf{a4wide} package redefines the margins so that they are more in line with what we are used to see.
+It was written by Jean-François Lamy in July 1986 and minimally modified for \LaTeXe\ by Alexander Holt, August 1994.
+
+The package is released under the LPPL, version 1, or (at your option)
+any later version.
+
+Depending on the base font size, it modifies the margins as follows:
+%
+\begin{center}
+ \begin{tabular}{@{}S[tabformat=2]S[tabformat=2]S[tabformat=1.3]S[tabformat=1.3]S[tabformat=1.2]@{}}
+ \toprule
+ {Base font} & {Number of lines} & {Width of} & {Width of left and} & {Width of} \\
+ {size (\si{\point})} & {in page body} & {text line (\si{\inch})} & {right margin (\si{\inch})} & {marginal notes (\si{\inch})} \\
+ \midrule
+ 10 & 53 & 5.875 & 0.25 & 0.75 \\
+ 11 & 46 & 6.125 & 0.125 & 0.75 \\
+ 12 & 42 & 6.375 & 0 & 0.75 \\
+ \bottomrule
+ \end{tabular}
+\end{center}
+
+\end{document}