diff options
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | examples/README.md | 3 | ||||
-rw-r--r-- | examples/mla8.tex (renamed from example.tex) | 0 | ||||
-rw-r--r-- | examples/notes.tex | 8 | ||||
-rw-r--r-- | notes.tex | 7 |
5 files changed, 21 insertions, 3 deletions
@@ -36,3 +36,9 @@ Internal options are: Python scripts alphabetize the citations. See `example.tex` for examples of how to use `mla8.tex` + +## Notes + +This is a 3-column format for note-taking, cheatsheets, etc (anything which needs a large amount of information in a small space). + +Other than the normal page setup, this adds 3 new dimensions. `\marghsize` is the width of the column with margin (`\hsize` becomes width of text only). `\fullhsize` is the dimension of the full page between all the columns because `\hsize` changed meaning. `\fullvsize` is the height of columns and thus the whole page, changing `\vsize` to height of text. diff --git a/examples/README.md b/examples/README.md new file mode 100644 index 0000000..f1f858e --- /dev/null +++ b/examples/README.md @@ -0,0 +1,3 @@ +# examples + +These are examples for all formats. `mla8.tex` shows the format for `mla8.tex`, for example. They try to make light of all features, but full documentation at root `README` is available. diff --git a/example.tex b/examples/mla8.tex index 0528d44..0528d44 100644 --- a/example.tex +++ b/examples/mla8.tex diff --git a/examples/notes.tex b/examples/notes.tex new file mode 100644 index 0000000..04d2bc9 --- /dev/null +++ b/examples/notes.tex @@ -0,0 +1,8 @@ +\input notes.tex +\sepcol %Makes the boxes + +\hoffset=-.8in \fullhsize=8.1in %these variables, as listed in 13-17, can be edited to change the page shape + +This is some text which should be long enough to trigger the linebreak. This is some math: $x=3y+4$. {\it And these words are italicized.} + +\bye @@ -13,9 +13,10 @@ \hoffset=-.9in \hsize=2.4in \newdimen\marghsize \marghsize=2.6in %margin hsize \newdimen\fullhsize \fullhsize=8.3in -\voffset=-.9in \vsize=10.6in \def\realpage{\vsize=10.8in} -\def\fullline{\hbox to \fullhsize} +\newdimen\fullvsize \fullvsize=10.8in +\voffset=-.9in \vsize=10.6in \emergencystretch=.15in +\def\fullline{\hbox to \fullhsize} % \def\makeheadline{% \vbox to 0pt{\vskip-22.5pt @@ -41,5 +42,5 @@ \ifnum\outputpenalty>-20000 \else\dosupereject\fi } \def\finformat{\shipout\vbox{\makeheadline -\fullline{\tracingall \realpage \bigstruct{\struct\columnone \hfil \struct\columntwo \hfil \struct\columnthree}} +\fullline{\tracingall \vsize=\fullvsize \bigstruct{\struct\columnone \hfil \struct\columntwo \hfil \struct\columnthree}} \makefootline} \advancepageno} |