├── .gitignore ├── Group_Allocator.xlsx ├── LICENSE.txt ├── README.md ├── Simplified GroupAllocator.xlsx ├── data_analysis ├── box_plots.R ├── data_gen.xlsx └── group_histograms.R ├── orsnz_paper ├── FAIRLEY_DOWSON_ORSNZ.pdf ├── FAIRLEY_DOWSON_ORSNZ.tex ├── ORSNZ.bib ├── ORSNZ.cls ├── ORSNZ.sty ├── README.txt ├── achicago.bst ├── achicago.sty ├── blkcntrl.sty ├── frankenstein │ ├── ChangeLog │ ├── Frankenfile │ ├── INSTALL │ ├── Makefile │ ├── README │ ├── abbrevs.cfg │ ├── abbrevs.dvi │ ├── abbrevs.ins │ ├── abbrevs.sty │ ├── abbrevs.tex │ ├── achicago-bst.dvi │ ├── achicago-bst.ins │ ├── achicago-bst.tex │ ├── achicago-bst.ver │ ├── achicago.bst │ ├── achicago.dvi │ ├── achicago.idx │ ├── achicago.ins │ ├── achicago.pdf │ ├── achicago.sty │ ├── achicago.tex │ ├── achicago.toc │ ├── allocate.sto │ ├── attrib.dvi │ ├── attrib.ins │ ├── attrib.sty │ ├── attrib.tex │ ├── blkcntrl.dvi │ ├── blkcntrl.ins │ ├── blkcntrl.sty │ ├── blkcntrl.tex │ ├── compsci.cfg │ ├── compsci.dvi │ ├── compsci.ins │ ├── compsci.sty │ ├── compsci.tex │ ├── dialogue.dvi │ ├── dialogue.ins │ ├── dialogue.sty │ ├── dialogue.tex │ ├── frankenstein.bib │ ├── lips.dvi │ ├── lips.ins │ ├── lips.sty │ ├── lips.tex │ ├── moredefs.dvi │ ├── moredefs.ins │ ├── moredefs.sty │ ├── moredefs.tex │ ├── newclude.dvi │ ├── newclude.ins │ ├── newclude.sty │ ├── newclude.tex │ ├── simple.sto │ ├── slemph.cfg │ ├── slemph.dvi │ ├── slemph.ins │ ├── slemph.sty │ ├── slemph.tex │ ├── tag.sto │ ├── titles.cfg │ ├── titles.dvi │ ├── titles.ins │ ├── titles.sty │ ├── titles.tex │ └── unsupported │ │ ├── README-unsupported │ │ ├── bits.cfg │ │ ├── bits.dvi │ │ ├── bits.ins │ │ ├── bits.sty │ │ ├── bits.tex │ │ ├── drama.dvi │ │ ├── drama.ins │ │ ├── drama.sty │ │ ├── drama.tex │ │ ├── includex-test.tex │ │ ├── includex.dvi │ │ ├── includex.ins │ │ ├── includex.sty │ │ └── includex.tex ├── gpa_plot.pdf ├── moredefs.sty ├── relsize.sty ├── slemph.sty ├── solverstudio_boxplot.pdf ├── solverstudio_boxplot_c.pdf ├── solverstudio_screenshot.pdf ├── solverstudio_screenshot.png ├── titles.sty └── vmargin.sty ├── orsnz_presentation ├── bar_chart.pdf ├── gpa.pdf ├── gpa_plot.pdf ├── group.JPG ├── group_allocator.pdf ├── group_allocator.tex └── screenshot.PNG └── solve_script.py /.gitignore: -------------------------------------------------------------------------------- 1 | ~$*.xlsx 2 | .Rproj.user 3 | .Rhistory 4 | Groups_Instructor* 5 | Groups_Student* 6 | .DS_Store 7 | *.aux 8 | *.bbl 9 | *.blg 10 | *.log 11 | *.gz 12 | Groups_InstructorView* 13 | Groups_StudentView* 14 | Output/.DS_Store 15 | -------------------------------------------------------------------------------- /Group_Allocator.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/Group_Allocator.xlsx -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Michael Fairley (mfai035@aucklanduni.ac.nz) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Group-Allocator 2 | =============== 3 | 4 | Group-Allocator is a solution developed by Oscar Dowson and Michael Fairley for allocating students to groups in a way that balances the characteristics of the students between the groups. It was first used to group 571 students for a systems engineering project at the University of Auckland with the goal to balance GPA, gender, engineering specialization and ethnicity between the groups. It is released under the MIT Licence. 5 | 6 | The solution is implemented in a Microsoft Excel interface so it makes it easy for administrators to download and use. It requires SolverStudio, an add-in for Excel that provides "an integrated environment for optimization using modeling languages within Excel". SolverStudio can be downloaded from http://solverstudio.org. For further details, please read the "Instructions" sheet in the "Group_Allocator.xlsx" spreadsheet. 7 | 8 | The solution has been set up for a University of Auckland context but it can be easily adapted to any situation involving group allocation. The authors are happy to provide support in customising the solution to your specific needs. 9 | 10 | ## Compatible Versions of Microsoft Excel and SolverStudio 11 | 12 | Group-Allocator has been tested on Microsoft Excel 2010 and 2013, and SolverStudio 0.08.01, 0.6.0 and 0.5.4. 13 | 14 | ## Technical Details 15 | 16 | Group-Allocator uses a mixed integer program to minimize the difference between the maximum and minimum GPA and GPA variance over all the groups, and uses relaxed constraints to spread individuals from different groups (such as a particular gender or ethnicity) over all the groups. For the full model please consult the source code within "Group_Allocator.xlsx" by using the "Show Model" function of SolverStudio. 17 | 18 | ## Files 19 | + **Group_Allocator.xlsx** - the main spreadsheet that contains everything necessary to run Group-Allocator with SolverStudio installed 20 | + **solve_script.py** - a copy of the source code contained within Group_Allocator.xlsx for easy editing in a text editor and commit history in Git 21 | + **data_analysis/data_gen.xlsx** - a spreadsheet with formulae to demonstrate how test data can be generated 22 | + **data_analysis/box_plots.R** - R script for generating box plots for each factor to check quality of result 23 | + **data_analysis/group_histograms.R** - R script for generating GPA histograms for each group 24 | + **orsnz_paper/** - contains a paper submitted to the 2014 Joint Conference of the NZ Statistical Association and Operations Research Society of NZ regarding the development, validation and application of Group-Allocator 25 | + **orsnz_presentation/** - contains slides for presentation at 2014 Joint Conference of the NZ Statistical Association and Operations Research Society of NZ 26 | 27 | ## Simplified GroupAllocator 28 | 29 | A simplified version of the spreadsheet is contained in the file **Simplified GroupAllocator.xlsx**. It doesn't contain the reporting features of the full version. 30 | -------------------------------------------------------------------------------- /Simplified GroupAllocator.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/Simplified GroupAllocator.xlsx -------------------------------------------------------------------------------- /data_analysis/box_plots.R: -------------------------------------------------------------------------------- 1 | # This script makes box plots for gpa, gpa variance, gender, specialisation and ethnicity 2 | 3 | man2013.df <- read.csv("2013_manual_summary_r.csv", header=TRUE) 4 | man2013.df["Type"] <- 1 5 | auto2013.df <- read.csv("2013_automatic_summary_r.csv", header=TRUE) 6 | auto2013.df["Type"] <- 2 7 | auto2014.df <- read.csv("2014_automatic_summary_r.csv", header=TRUE) 8 | auto2014.df["Type"] <- 3 9 | # Combine dataframes 10 | all.df <- rbind(man2013.df, auto2013.df, auto2014.df) 11 | all.df$Type <- factor(all.df$Type, levels=c(1,2,3), labels=c("Manual", "GA 2013", "GA 2014")) 12 | 13 | # GPA 14 | par(mfrow=c(1,2)) 15 | boxplot(Mean.GPA ~ Type, data=all.df, main="Mean GPA of Group") 16 | boxplot(GPA.Variance ~ Type, data=all.df, main="Variance of GPA within Group") 17 | mtext("GA = Group-Allocator", side = 3, line = -47, outer = TRUE) 18 | # Gender 19 | par(mfrow=c(1,2)) 20 | gen_ylim=c(0, 20) 21 | boxplot(Males ~ Type, data=all.df, main="Number of Males Per Group", ylim=gen_ylim) 22 | boxplot(Females ~ Type, data=all.df, main="Number of Females Per Group", ylim=gen_ylim) 23 | mtext("GA = Group-Allocator", side = 3, line = -47, outer = TRUE) 24 | 25 | # Discpline 26 | par(mfrow=c(3,3)) 27 | dis_ylim=c(0, 10) 28 | boxplot(Biomedical ~ Type, data=all.df, main="Number of Biomedical Students Per Group", ylim=dis_ylim) 29 | boxplot(Chemical...Materials ~ Type, data=all.df, main="Number of Chemmat Students Per Group", ylim=dis_ylim) 30 | boxplot(Civil ~ Type, data=all.df, main="Number of Civil Students Per Group", ylim=dis_ylim) 31 | boxplot(Computer.Systems ~ Type, data=all.df, main="Number of CompSys Students Per Group", ylim=dis_ylim) 32 | boxplot(Electrical ~ Type, data=all.df, main="Number of Electrical Students Per Group", ylim=dis_ylim) 33 | boxplot(Engineering.Science ~ Type, data=all.df, main="Number of Engineering Science Students Per Group", ylim=dis_ylim) 34 | boxplot(Mechanical ~ Type, data=all.df, main="Number of Mechanical Students Per Group", ylim=dis_ylim) 35 | boxplot(Mechatronics ~ Type, data=all.df, main="Number of Mechatronics Students Per Group", ylim=dis_ylim) 36 | boxplot(Software ~ Type, data=all.df, main="Number of Software Students Per Group", ylim=dis_ylim) 37 | mtext("GA = Group-Allocator", side = 3, line = -73, outer = TRUE) 38 | 39 | # Ethnicity 40 | par(mfrow=c(2,2)) 41 | eth_ylim=c(0, 15) 42 | boxplot(Pakeha ~ Type, data=all.df, main="Number of Pakeha Students Per Group", ylim=eth_ylim) 43 | boxplot(Maori ~ Type, data=all.df, main="Number of Maori Students Per Group", ylim=eth_ylim) 44 | boxplot(Asian ~ Type, data=all.df, main="Number of Asian Students Per Group", ylim=eth_ylim) 45 | boxplot(Other ~ Type, data=all.df, main="Number of Students of Other Ethnicity Per Group", ylim=eth_ylim) 46 | mtext("GA = Group-Allocator", side = 3, line = -56, outer = TRUE) 47 | -------------------------------------------------------------------------------- /data_analysis/data_gen.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/data_analysis/data_gen.xlsx -------------------------------------------------------------------------------- /data_analysis/group_histograms.R: -------------------------------------------------------------------------------- 1 | # This script uses a csv file with the group allocations and plots a histogram for GPA for each group 2 | library(lattice) 3 | gpa_bins=c(0,1,2,3,4,5,6,7,8,9) 4 | ylabp="Percent of Group" 5 | xlabp="GPA" 6 | ylimp=c(0,50) 7 | 8 | 9 | # 2013 Group Labels 10 | labels_2013=c("Group 1","Group 2","Group 3","Group 4","Group 5", 11 | "Group 6","Group 7","Group 8","Group 9","Group 10", 12 | "Group 11","Group 12","Group 13","Group 14","Group 15", 13 | "Group 16","Group 17","Group 18","Group 19","Group 20", 14 | "Group 21","Group 22","Group 23","Group 24") 15 | 16 | # 2013 Manual Allocation 17 | manv.df <- read.csv("2013_manual_allocation_r.csv",header=TRUE) 18 | histogram( ~ Cumulative.GPA | factor(Allocated.Group, labels=labels_2013), 19 | data=manv.df, breaks=gpa_bins, ylab=ylabp,xlab=xlabp, ylim=ylimp, 20 | main="Manual Allocation GPA Histogram for Groups in 2013") 21 | 22 | # 2013 Group-Allocator 23 | autov.df <- read.csv("2013_group_allocator_r.csv",header=TRUE) 24 | histogram( ~ Cumulative.GPA | factor(Allocated.Group, labels=labels_2013), 25 | data=autov.df, breaks=gpa_bins, ylab=ylabp,xlab=xlabp, ylim=ylimp, 26 | main="Automatic Allocation GPA Histogram for Groups using 2013 Data") 27 | 28 | # 2013 Group-Allocator GPA Only 29 | autov.df <- read.csv("2013_group_allocator_gpa_only_r.csv",header=TRUE) 30 | histogram( ~ Cumulative.GPA | factor(Allocated.Group, labels=labels_2013), 31 | data=autov.df, breaks=gpa_bins, ylab=ylabp,xlab=xlabp, ylim=ylimp, 32 | main="Automatic Allocation GPA Histogram for Groups using 2013 Data only optimising GPA") 33 | 34 | # 2013 Entire Class 35 | histogram( ~ Cumulative.GPA, data=manv.df, breaks=gpa_bins, ylab=ylabp,xlab=xlabp, ylim=ylimp, main="GPA Histogram for 2013 Class") 36 | 37 | # 2014 Group Labels 38 | labels_2014=c("Group 1","Group 2","Group 3","Group 4","Group 5", 39 | "Group 6","Group 7","Group 8","Group 9","Group 10", 40 | "Group 11","Group 12","Group 13","Group 14","Group 15", 41 | "Group 16","Group 17","Group 18","Group 19","Group 20", 42 | "Group 21","Group 22","Group 23") 43 | 44 | # 2014 Group-Allocator 45 | auto14.df <- read.csv("2014_group_allocator_r.csv",header=TRUE) 46 | histogram( ~ Cumulative.GPA | factor(Allocated.Group, labels=labels_2014), 47 | data=auto14.df, breaks=gpa_bins, ylab=ylabp,xlab=xlabp, ylim=ylimp, 48 | main="Automatic Allocation GPA Histogram for Groups in 2014") 49 | 50 | # 2014 Entire Class 51 | histogram( ~ Cumulative.GPA, data=auto14.df, breaks=gpa_bins, ylab=ylabp,xlab=xlabp, ylim=ylimp, main="GPA Histogram for 2014 Class") 52 | -------------------------------------------------------------------------------- /orsnz_paper/FAIRLEY_DOWSON_ORSNZ.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/FAIRLEY_DOWSON_ORSNZ.pdf -------------------------------------------------------------------------------- /orsnz_paper/ORSNZ.bib: -------------------------------------------------------------------------------- 1 | @article{solverstudio, 2 | author={Mason, A.}, 3 | year={2013}, 4 | title={SolverStudio: A New Tool for Better Optimisation and Simulation Modelling in Excel}, 5 | journal={INFORMS Transactions on Education}, 6 | volume={14}, 7 | number={1}, 8 | pages={45-52}, 9 | } 10 | 11 | 12 | @misc{pulp, 13 | author={PuLP}, 14 | year={2014}, 15 | title={An LP modelling system written in Python}, 16 | note={[Online; accessed 2014-10-10]}, 17 | url={https://projects.coin-or.org/PuLP} 18 | } 19 | 20 | @misc{ampl, 21 | author={AMPL}, 22 | year={2014}, 23 | title={A Modelling Language for Mathematical Programming}, 24 | note={[Online; accessed 2014-10-10]}, 25 | url={https://ampl.com} 26 | } 27 | 28 | @misc{gurobi, 29 | author={Gurobi}, 30 | year={2014}, 31 | title={Gurobi Optimisation}, 32 | note={[Online; accessed 2014-10-10]}, 33 | url={https://www.gurobi.com} 34 | } 35 | 36 | @misc{gams, 37 | author={GAMS}, 38 | year={2014}, 39 | title={GAMS Home page}, 40 | note={[Online; accessed 2014-10-10]}, 41 | url={https://www.gams.com} 42 | } 43 | 44 | 45 | @misc{CBC, 46 | author={CBC}, 47 | year={2014}, 48 | title={CBC Home page}, 49 | note={[Online; accessed 2014-10-29]}, 50 | url={https://projects.coin-or.org/Cbc} 51 | } 52 | -------------------------------------------------------------------------------- /orsnz_paper/README.txt: -------------------------------------------------------------------------------- 1 | This directory should contain the following files 2 | 3 | ORSNZ.cls - modification of standard article.cls 4 | ORSNZ.sty - simple modification of achicago.sty to work with ORSNZ.cls 5 | 6 | It is best not to change the name of these two. 7 | 8 | ORSNZ.tex - sample conference submission. Uses ORSNZ.sty and .cls. 9 | ORSNZ.bib - sample bibliography 10 | 11 | One can change the names of these two without problems, provided references to them are adjusted correctly. 12 | 13 | frankenstein - directory available from CTAN containing achicago package. 14 | The BiBTeX style file achicago.bst must be made available to BiBTeX. 15 | Several other files are used by ORSNZ.sty, so best is to install the 16 | entire frankenstein package as explained in the file INSTALL. 17 | 18 | Mark Wilson and Golbon Zakeri 2002 -------------------------------------------------------------------------------- /orsnz_paper/blkcntrl.sty: -------------------------------------------------------------------------------- 1 | %^^A* legal notices 2 | % \iffalse 3 | % 4 | % This program is part of the Frankenstein bundle for LaTeX. 5 | % 6 | % Copyright 1995-2001 Matt Swift . 7 | % 8 | % This file contains both the code and documentation for the 9 | % blkcntrl LaTeX package. It will work ONLY if it is placed in a 10 | % proper directory. Files called README, INSTALL, blkcntrl.tex 11 | % and blkcntrl.ins should have also been distributed to you 12 | % with this file. See them for more information on how to typeset 13 | % the documentation with LaTeX and how to generate a version of this 14 | % file that will work faster than this one. 15 | % 16 | % This program is free software; you may redistribute it and/or 17 | % modify it under the conditions of the LaTeX Project Public 18 | % License, either version 1.2 or (at your option) any later version. 19 | % The latest version of this license is in 20 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later is 21 | % part of all distributions of LaTeX version 1999/12/01 or later. 22 | % 23 | % This program is distributed in the hope that it will be useful, 24 | % but without any warranty; without even the implied warranty of 25 | % merchantability or fitness for a particular purpose. See the 26 | % LaTeX Project Public License for more details. 27 | % 28 | % \fi 29 | % 30 | %^^A* checks 31 | % 32 | %^^A NOTE: The character table, with two %'s, will get written to all files. 33 | %% \CharacterTable 34 | %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z 35 | %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z 36 | %% Digits \0\1\2\3\4\5\6\7\8\9 37 | %% Exclamation \! Double quote \" Hash (number) \# 38 | %% Dollar \$ Percent \% Ampersand \& 39 | %% Acute accent \' Left paren \( Right paren \) 40 | %% Asterisk \* Plus \+ Comma \, 41 | %% Minus \- Point \. Solidus \/ 42 | %% Colon \: Semicolon \; Less than \< 43 | %% Equals \= Greater than \> Question mark \? 44 | %% Commercial at \@ Left bracket \[ Backslash \\ 45 | %% Right bracket \] Circumflex \^ Underscore \_ 46 | %% Grave accent \` Left brace \{ Vertical bar \| 47 | %% Right brace \} Tilde \~} 48 | % 49 | % \CheckSum{97} 50 | % 51 | %^^A** abstract 52 | % \begin{abstract} 53 | % Inserts hooks into certain block elements and footnotes. Also provides a 54 | % command to set block quotations one size smaller than the main text. 55 | % \end{abstract} 56 | % \tableofcontents 57 | % 58 | % \part{Discussion} 59 | % 60 | % \section{General} 61 | % 62 | % This package has two purposes. First, it inserts several hooks into 63 | % constructs in the standard document classes so that other packages can use 64 | % the hooks. The \package{achicago}, \package{attrib}, \package{dialogue}, and 65 | % \package{bits} packages in the \Frankenstein bundle require 66 | % \package{blkcntrl}. Second, \package{blkcntrl} offers one option itself that 67 | % uses the hooks. The \option{smallblocks} option has the same effect as using 68 | % \cs\smallblocks in the preamble, for which see below. The 69 | % \option{normalblocks} option means no \cs\smallblocks, and is there simply 70 | % for completeness. 71 | % 72 | %% FIX; using smallblocks option gives option clash when other packages require 73 | % blkcntrl. Do thorough review of option passing. 74 | % 75 | % \DescribeMacro\smallblocks 76 | % When \cs\smallblocks is declared in the preamble, footnotes and the block 77 | % elements \env{quote}, \env{quotation}, and \env{verse} are set one size 78 | % smaller (i.e., \code{\relsize{-1}}). 79 | % 80 | % \DescribeMacro\normalblocks 81 | % 82 | % \section{Programmers' interface} 83 | % 84 | % \DescribeMacro\PreChunk 85 | % 86 | % \DescribeMacro\PreQuote 87 | % 88 | % \DescribeMacro\PreQuotation 89 | % 90 | % \DescribeMacro\PreVerse 91 | % 92 | % \DescribeMacro\PreFootnote 93 | % 94 | % \StopEventually{} 95 | % 96 | % \part{Implementation} 97 | % 98 | % \section{Version control} 99 | % 100 | % \begin{macro}{\fileinfo} 101 | % \begin{macro}{\DoXUsepackagE} 102 | % \begin{macro}{\HaveECitationS} 103 | % \begin{macro}{\fileversion} 104 | % \begin{macro}{\filedate} 105 | % \begin{macro}{\docdate} 106 | % \begin{macro}{\PPOptArg} 107 | % These definitions must be the first ones in the file. 108 | % \begin{macrocode} 109 | \def\fileinfo{block control} 110 | \def\DoXPackageS {} 111 | \def\fileversion{v1.2} 112 | \def\filedate{2001/08/31} 113 | \def\docdate{2001/08/31} 114 | \edef\PPOptArg {% 115 | \filedate\space \fileversion\space \fileinfo 116 | } 117 | % \end{macrocode} 118 | % \end{macro} 119 | % \end{macro} 120 | % \end{macro} 121 | % \end{macro} 122 | % \end{macro} 123 | % \end{macro} 124 | % \end{macro} 125 | % 126 | % If we're loading this file from a \cs\ProcessDTXFile command (see the 127 | % \package{compsci} package), then \cs\JusTLoaDInformatioN will be defined; 128 | % othewise we assume it is not (that's why the FunkY NamE). 129 | % 130 | % If we're loading from \cs\ProcessDTXFile, we want to load the packages listed 131 | % in \cs\DoXPackageS (needed to typeset the documentation for this file) and 132 | % then bail out. Otherwise, we're using this file in a normal way as a 133 | % package, so do nothing. \cs\DoXPackageS, if there are any, are declared in 134 | % the \ext{dtx} file, and, if you're reading the typeset documentation of this 135 | % package, would appear just above. (It's OK to call \cs\usepackage with an 136 | % empty argument or \cs\relax, by the way.) 137 | % \begin{macrocode} 138 | \makeatletter% A special comment to help create bst files. Don't change! 139 | \@ifundefined{JusTLoaDInformatioN} {% 140 | }{% ELSE (we know the compsci package is already loaded, too) 141 | \UndefineCS\JusTLoaDInformatioN 142 | \SaveDoXVarS 143 | \eExpand\csname DoXPackageS\endcsname\In {%use \csname in case it's undefined 144 | \usepackage{#1}% 145 | }% 146 | \RestoreDoXVarS 147 | \makeatother 148 | \endinput 149 | }% A special comment to help create bst files. Don't change! 150 | % \end{macrocode} 151 | % 152 | % Now we check for \LaTeX2e and declare the LaTeX package. 153 | % \begin{macrocode} 154 | \NeedsTeXFormat{LaTeX2e} 155 | \ProvidesPackage{blkcntrl}[\PPOptArg] 156 | % \end{macrocode}^^A special comment to help create bst files. Don't change! 157 | % 158 | % ^^A NOTE: We have to compensate for the above backslashes, which are not 159 | % ^^A actually in the .dtx file the author works on, by adding to the 160 | % ^^A CheckSum. 161 | %% 162 | % \AddToCheckSum{17}^^A `dtx-update-checksum' automatically handles this. 163 | % \AddToCheckSum{7}^^A The half a macrocode env. at the top is missed, however... 164 | % \AddToCheckSum{10}^^A ... and so are the 5 \defs from the .dtx file 165 | % ^^A that precede it. 166 | % \IfCitations {% 167 | % \AddToCheckSum{2}^^A When \initelyHavECitationS is defined in 168 | % } ^^A the .dtx file, we need 2 more in the CheckSum. 169 | % 170 | % 171 | % \section{Requirements} 172 | % 173 | % \begin{macrocode} 174 | \RequirePackage{moredefs,relsize} 175 | % \end{macrocode} 176 | % 177 | % \section{Options} 178 | % 179 | % \begin{macro}{\normalblocks} 180 | % \begin{macro}{\smallblocks} 181 | % \begin{macro}{\if@smallblocks@} 182 | % \begin{macro}{\@smallblocks@true} 183 | % \begin{macro}{\@smallblocks@false} 184 | % \mbox{} 185 | % \begin{macrocode} 186 | \DeclareBooleanUserOptions{smallblocks}{normalblocks} 187 | \@onlypreamble\smallblocks 188 | \@onlypreamble\normalblocks 189 | \ExecuteOptions{normalblocks} 190 | \ProcessOptions 191 | % \end{macrocode} 192 | % \end{macro} 193 | % \end{macro} 194 | % \end{macro} 195 | % \end{macro} 196 | % \end{macro} 197 | % 198 | % \section{General get-control hook hacks} 199 | % 200 | % \begin{macro}{\if@in@footnote@} 201 | % \begin{macro}{\@in@footnote@true} 202 | % \begin{macro}{\@in@footnote@false} 203 | % \begin{macro}{\PreFootnote} 204 | % \begin{macro}{\PreChunk} 205 | % \begin{macro}{\PreQuote} 206 | % \begin{macro}{\PreQuotation} 207 | % \begin{macro}{\PreVerse} 208 | % Additions to these hooks should be made with \cname{\addto@macro}. 209 | % Deletions should be accomplished by scoping. 210 | % 211 | % I think macros are much more convenient as hooks than tokens. I use the 212 | % prefixes |Pre| or |Post|. We want to add a hook to the usual definition 213 | % here, to gain some control over relative sizing in footnotes. 214 | % \begin{macrocode} 215 | \newboolean{@in@footnote@} 216 | \newcommand\PreFootnote {% 217 | \@in@footnote@true 218 | } 219 | \ReserveCS\PreChunk 220 | \newcommand\PreQuote {% 221 | \PreChunk 222 | } 223 | \newcommand\PreQuotation {% 224 | \PreChunk 225 | } 226 | \newcommand\PreVerse {% 227 | \PreChunk 228 | } 229 | % \end{macrocode} 230 | % \end{macro} 231 | % \end{macro} 232 | % \end{macro} 233 | % \end{macro} 234 | % \end{macro} 235 | % \end{macro} 236 | % \end{macro} 237 | % \end{macro} 238 | % 239 | % \begin{macro}{\@makefntext} 240 | % All we're doing is adding the \cs\PreFootnote hook. 241 | % \begin{macrocode} 242 | \defcommand\@makefntext [1] {% 243 | \setlength\parindent{\@ne em}% 244 | \noindent 245 | \hb@xt@ 1.8em{\hss\@makefnmark}% 246 | {\PreFootnote #1}% 247 | } 248 | % \end{macrocode} 249 | % \end{macro} 250 | % 251 | % \begin{environment}{verse} 252 | % \begin{environment}{quotation} 253 | % \begin{environment}{quote} 254 | % Again all we're doing to these environments is adding the hooks. 255 | % 256 | % The hook cannot be put into the second argument, which is called before the 257 | % paragraph preceding the environment has been ended (unless the environment 258 | % started a new one). 259 | % \begin{macrocode} 260 | \renewenvironment{verse} 261 | {\let\\\@centercr 262 | \relax\list{}{\setlength{\itemsep}{\z@}% 263 | \setlength{\itemindent}{-1.5em}% 264 | \setlength{\listparindent}{\itemindent}% 265 | \setlength{\rightmargin}{\leftmargin}% 266 | \addtolength{\leftmargin}{1.5em}}% 267 | \item\relax\PreVerse\relax} 268 | {\endlist} 269 | \renewenvironment{quotation} 270 | {\list{}{\setlength{\listparindent}{1.5em}% 271 | \setlength{\itemindent}{\listparindent}% 272 | \setlength{\rightmargin}{\leftmargin}% 273 | \setlength{\parsep}{\z@ \@plus\p@}}% 274 | \item\relax\PreQuotation\relax} 275 | {\endlist} 276 | \renewenvironment{quote} 277 | {\list{}{\setlength{\rightmargin}{\leftmargin}}% 278 | \item\relax\PreQuote\relax} 279 | {\endlist} 280 | % \end{macrocode} 281 | % \end{environment} 282 | % \end{environment} 283 | % \end{environment} 284 | % 285 | % \begin{macrocode} 286 | \AtBeginDocument {% 287 | \if@smallblocks@ 288 | \addto@macro\PreChunk {% 289 | \if@in@footnote@ 290 | \else 291 | \relsize{-1}% 292 | \fi 293 | }% 294 | \fi 295 | } 296 | % \end{macrocode} 297 | % 298 | % \Finale 299 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/Makefile: -------------------------------------------------------------------------------- 1 | ## DEAR USER, 2 | # 3 | # please review the top of this Makefile down to the 4 | # "END OF USER-CONFIGURABLE PARAMETERS". 5 | # 6 | # 7 | # Author: Matt Swift 8 | 9 | # 10 | ## User-configurable parameters 11 | # 12 | 13 | # MKTEXMF should point to the root of the TEXMF tree into which you want 14 | # the files installed. 15 | ifndef MKTEXMF 16 | MKTEXMF = /usr/local/lib/texmf 17 | endif 18 | 19 | # These directories are for Frankenstein filesets. 20 | # 21 | # MACRODIR = destination for LaTeX classes and packages 22 | # CONFIGDIR = destination for package and class configuration files 23 | # Some packages and classes in this bundle use configuration 24 | # files (with .cfg endings) in addition to the main macro 25 | # files ending with .sty or .cls. Normally, CONFIGDIR 26 | # should be the same as MACRODIR. If you want to alter the 27 | # configuration file, make a copy of it, put it the in the 28 | # LaTeX search path prior to the distributed configuration 29 | # file, and alter the copy. The CONFIGDIR variable is 30 | # provided in case you can't or don't want to follow this 31 | # advice. 32 | # BIBDIR = destination for BibTeX bibliography styles 33 | # MDVIDIR = destination for DVI documentation of LaTeX packages 34 | # BDVIDIR = destination for DVI documentation of BibTeX styles 35 | # (other documentation formats could be added) 36 | # SRCDIR = destination for distributed files not listed above 37 | 38 | # The default values are the TDS-compliant values. If you want to install in 39 | # alternative locations, given them different values. 40 | # 41 | # To see what the TDS-compliant values are, type "make" with no arguments to 42 | # see a message that includes them, or look down below just after the end of 43 | # the user-configurable variables, where they are defined. 44 | MACRODIR = $(TDS-MACRODIR) 45 | CONFIGDIR = $(TDS-MACRODIR) 46 | BIBDIR = $(TDS-BIBDIR) 47 | MDVIDIR = $(TDS-MDVIDIR) 48 | BDVIDIR = $(TDS-BDVIDIR) 49 | SRCDIR = $(TDS-SRCDIR) 50 | 51 | # If your TeX installation is NOT based on the web2c distribution of TeX, 52 | # comment out the assignment of HAVE_WEB2C below. That is, if you do not have 53 | # a program called "kpsewhich" on your system, comment the line out. Unix 54 | # installations based on teTeX or TeXLive are web2c-based. If you have web2c, 55 | # the Makefile will ensure your ls-R databases are kept up to date. 56 | ifndef HAVE_WEB2C 57 | HAVE_WEB2C = true 58 | endif 59 | 60 | # If you want to use the "unsupported" Frankenstein filesets (i.e., "beta" in 61 | # this Makefile), you must 1) move the contents of the "unsupported" directory 62 | # into this directory; and 2) uncomment the definition here. This value is 63 | # irrelevant if you're the developer (see below for what that means). 64 | 65 | # USE_UNSUP = true 66 | 67 | # The installation procedure needs to be able to change to a directory that is 68 | # NOT in the LaTeX inputs path. If you don't have web2c, it also needs to be 69 | # able to create a temporary file there. Your downloaded Frankenstein 70 | # directory should NOT be in the LaTeX inputs path if you want to run this 71 | # Makefile (otherwise it's fine, that's one easy way to install Frankenstein, 72 | # as explained in the file INSTALL). 73 | ifndef TMPDIR 74 | TMPDIR = /tmp 75 | endif 76 | 77 | # The $USER envariable is compared to $(DEVELOPER). If they match, you are 78 | # assumed to be the developer of Frankenstein, rather than the end user, in 79 | # which case you have more targets, and some targets do different things. If 80 | # you just happen to have 'swift' as a login name, and you don't want to play 81 | # developer, change this value to anything but the value of your $USER 82 | # envariable. 83 | DEVELOPER = swift 84 | ####### 85 | ####### END OF USER-CONFIGURABLE PARAMETERS. 86 | ####### 87 | # 88 | ## TDS-compliant installation directories 89 | # 90 | 91 | # Frankenstein filesets. 92 | TDS-MACRODIR = $(MKTEXMF)/tex/latex/$(bundle-name) 93 | TDS-BIBDIR = $(MKTEXMF)/bibtex/bst/achicago 94 | # The right BIBDIR depends on what's in your bundle. The following are 95 | # plausible possibilities: 96 | # TDS-BIBDIR = $(MKTEXMF)/bibtex/bst/$(bundle-name) 97 | # TDS-BIBDIR = $(MKTEXMF)/bibtex/bst/misc 98 | TDS-MDVIDIR = $(MKTEXMF)/doc/latex/$(bundle-name) 99 | TDS-BDVIDIR = $(MKTEXMF)/doc/bibtex 100 | TDS-SRCDIR = $(MKTEXMF)/source/latex/$(bundle-name) 101 | 102 | # 103 | ## bundle parameters 104 | # 105 | 106 | ifeq ($(USER),$(DEVELOPER)) 107 | # If you change the location of the original "frankenbundle/make" subdirectory, set 108 | # make-dir to point to it relative to this directory. 109 | make-dir = make 110 | else 111 | # Don't change this: it's always . for the end user. 112 | make-dir = . 113 | endif 114 | 115 | # the name of this file 116 | calling-makefile = Makefile 117 | 118 | # Used as a directory name. Should be monocase. 119 | bundle-name = frankenstein 120 | 121 | # The root name (i.e. no extension) of the archive file. Defaults to the last 122 | # segment of stable-dir. (So this example is redundant.) 123 | bundle-filename = $(bundle-name) 124 | 125 | # title of the bundle in English 126 | bundle-title = Frankenstein 127 | 128 | # Value should be either `LPPL' or `GPL' unless you have extended Frankenbundle 129 | # (easy to do). For now, any value other than `LPPL' means `GPL'. 130 | #bundle-license = GPL 131 | bundle-license = LPPL 132 | 133 | # The file $(bundle-bib).bib in the working directory will be a symlink to the 134 | # file $(master-bib.bib). DON'T name an already-existing .bib file containing 135 | # data in bundle-bib! It will be deleted by the clean target! The 136 | # master-bib.bib file will never be deleted; this is what should contain your 137 | # data. The reason we separate these two is so that your master-bib can be in 138 | # a different directory than your development directory. 139 | # 140 | # If you don't have a bundle .bib file, comment these two definitions out. 141 | bundle-bib = $(bundle-name) 142 | master-bib.bib = /home/swift/library/TeX/texmf/bibtex/bib/Bib.bib 143 | 144 | # Both stable and beta files are distributed. They can live in different 145 | # directories on CTAN, but are installed into the same directory in TDS. I may 146 | # rethink this in the future; I invite comments. Alpha files are not 147 | # distributed. 148 | 149 | # CTAN directories under tex-archive/ 150 | # NOTE: *-dir variables should neither begin nor end with a slash. 151 | # NOTE: Although in the case of Frankenstein beta-dir is a subdirectory of 152 | # stable-dir, this need not be true. 153 | stable-dir = macros/latex/contrib/supported/frankenstein 154 | beta-dir = macros/latex/contrib/supported/frankenstein/unsupported 155 | 156 | # Extra files to put on CTAN (two different directories) and TDS (one 157 | # directory). This file, Frankenfile, and the bundle-bib (if defined) will 158 | # be automatically included, so you don't need to list them. 159 | # You may want to include file(s) corresponding to your $(bundle-license). 160 | stable-extra-files = README INSTALL ChangeLog 161 | # don't get rid of includex just yet 162 | # beta-extra-files = README-unsupported includex-test.tex 163 | beta-extra-files = README-unsupported includex-test.tex 164 | 165 | stable-packages = abbrevs achicago attrib blkcntrl compsci dialogue lips \ 166 | moredefs newclude slemph titles 167 | beta-packages = bits drama includex 168 | alpha-packages = dblefig epigraph footnote quotes \ 169 | margins new-margins nimbus-cmb nimbus-mdtb verse letterhead 170 | 171 | # For each package with style option files (.sto files), define a variable like 172 | # this: -stos = ... 173 | newclude-stos = allocate simple tag # group 174 | 175 | stable-classes = 176 | beta-classes = 177 | alpha-classes = myletter 178 | 179 | # For each class with class option files (.clo files), define a variable like 180 | # this: -clos = ... 181 | # (There are none in Frankenstein.) 182 | 183 | stable-bibstyles = achicago 184 | beta-bibstyles = 185 | # FIX: I think Frankenfile needs revision to accommodate alpha-bibstyles 186 | # alpha-bibstyles = mla 187 | 188 | stable-configs = abbrevs compsci slemph titles 189 | beta-configs = bits 190 | # NOTE: monster.cfg is a config that doesn't belong to any fileset...hmm. 191 | alpha-configs = monster letterhead 192 | 193 | # These bundle macro files are required to generate the DVI documentation for 194 | # all bundle macro files. You don't need to list the bundle-bib if you have 195 | # one. 196 | dox-requirements = abbrevs.sty attrib.sty blkcntrl.sty compsci.sty lips.sty \ 197 | moredefs.sty slemph.sty titles.sty achicago.sty achicago.bst 198 | 199 | # 200 | ## fileset dependencies 201 | # 202 | 203 | # For each fileset with dependencies X, define a variable -deps to be 204 | # a list of other filesets on which it directly depends. Just list the other 205 | # filesets that the first fileset DIRECTLY depends on, that is, appears in the 206 | # argument of a \RequirePackage (\LoadClass, etc.) or \DoXPackageS command. 207 | # (If a direct dependency in turn depends on another fileset, you should be 208 | # defining a variable for it as well, and Make will recognize it needs to build 209 | # all of them.) 210 | 211 | # Stable filesets must not depend on beta or alpha filesets; beta filesets must 212 | # not depend on alpha filesets. 213 | 214 | # stable 215 | abbrevs-deps = moredefs,relsize,slemph 216 | achicago-deps = blkcntrl moredefs titles 217 | achicago-bst-deps = achicago 218 | attrib-deps = dialogue moredefs 219 | blkcntrl-deps = moredefs 220 | compsci-deps = abbrevs lips moredefs slemph titles 221 | dialogue-deps = blkcntrl moredefs 222 | newclude-deps = moredefs 223 | titles-deps = moredefs slemph 224 | 225 | # beta 226 | bits-deps = blkcntrl moredefs 227 | drama-deps = abbrevs bits dialogue moredefs 228 | includex-deps = moredefs 229 | 230 | # alpha 231 | dblefig-deps = blkcntrl moredefs 232 | epigraph-deps = attrib blkcntrl moredefs 233 | footnote-deps = blkcntrl moredefs 234 | margins-deps = moredefs 235 | new-margins-deps = moredefs 236 | quotes-deps = blkcntrl 237 | 238 | # 239 | ## include Frankenfile 240 | # 241 | 242 | # this must come before any rules in this Makefile 243 | include $(make-dir)/Frankenfile 244 | 245 | # 246 | ## Emacs file variables 247 | # Local Variables: 248 | # outline-regexp: "##+" 249 | # End: 250 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/README: -------------------------------------------------------------------------------- 1 | 2 | FRANKENSTEIN 3 | 4 | A Collection of Macros for LaTeX and BibTeX 5 | 6 | available at 7 | 8 | CTAN:/macros/latex/contrib/supported/frankenstein/* 9 | 10 | ------------------------------------------------------------------------ 11 | CONTENTS 12 | 13 | OVERVIEW 14 | DOCUMENTATION 15 | PACKAGE DESCRIPTIONS 16 | abbrevs 17 | compsci 18 | dialogue 19 | achicago 20 | titles 21 | attrib 22 | lips 23 | moredefs 24 | slemph 25 | blkcntrl 26 | NOTES 27 | configuration files 28 | unsupported packages 29 | DISTRIBUTION CONDITIONS 30 | TERMINOLOGY 31 | AUTHOR 32 | 33 | ------------------------------------------------------------------------ 34 | OVERVIEW 35 | 36 | "Frankenstein" is the whimsical name for a collection of 14 LaTeX 37 | packages and a BibTeX bibliography style that I have written. 38 | Frankenstein helps you do a variety of things with LaTeX. You can 39 | use just a part of Frankenstein if you want, or you can use all the 40 | parts together. You should download this whole directory, however, 41 | to make sure you will have all the parts you might need. To use 42 | certain packages, you will also need the non-Frankenstein packages 43 | "relsize.sty", "url.sty", and/or "verbatim.sty". See the file 44 | INSTALL for full details. 45 | 46 | The package descriptions below will tell you briefly what they can 47 | help you do. Happy TeXing! 48 | 49 | ------------------------------------------------------------------------ 50 | DOCUMENTATION 51 | 52 | This file contains general information on the Frankenstein bundle 53 | and brief descriptions of its packages and bibstyle. 54 | 55 | Installation instructions are in the file INSTALL. 56 | 57 | Full documentation of each LaTeX package X is in the file X.dvi: 58 | CTAN:/macros/latex/contrib/supported/frankenstein/X.dvi 59 | TDS:/texmf/doc/latex/frankenstein/X.dvi 60 | 61 | Full documentation of the achicago BibTeX bibliography style is in 62 | the file achicago-bst.dvi: 63 | CTAN:/macros/latex/contrib/supported/frankenstein/achicago-bst.dvi 64 | TDS:/texmf/doc/bibtex/achicago-bst.dvi 65 | 66 | ------------------------------------------------------------------------ 67 | PACKAGE DESCRIPTIONS 68 | 69 | ------------------------------------------------------------------------ 70 | abbrevs 71 | abbreviation macros 72 | (Frankenstein's briefs) 73 | 74 | "Abbreviation macros" expand to defined text and insert following 75 | space intelligently, based on context. They can also expand to one 76 | thing the first time they are used and another thing on subsequent 77 | invocations. Thus they can be abbreviations in two senses, in the 78 | source and in the document. Useful applications include the 79 | abstraction of textual elements such as names without fussing over 80 | spacing and the automatic expansion of abbreviations and acronyms at 81 | their first use. The initial and subsequent expansions of an 82 | abbreviation macro are available at any time via explicit commands. 83 | Abbreviation macros are grouped into categories; there are hooks 84 | applicable to each category. Categories can be reset so that 85 | subsequent abbreviation macros in that category behave as if used 86 | for the first time again. 87 | 88 | A generic facility is also provided for suffixes like 1900 B.C. and 89 | 6:00 P.M., which correctly handles following periods. 90 | 91 | ------------------------------------------------------------------------ 92 | compsci 93 | macros for writing about macros 94 | (Frankenstein's conscience) 95 | 96 | Compsci is useful whenever writing about programming, but especially 97 | when writing about TeX and especially when used as a supplement to 98 | the ltxdoc class to document LaTeX macros in a literate programming 99 | style with .dtx files. 100 | 101 | ------------------------------------------------------------------------ 102 | dialogue 103 | dialogue environment 104 | (Frankenstein's mouth) 105 | 106 | The dialogue environment is for citing short passages of scripted 107 | dialogue. It is not for typsetting a long script. 108 | 109 | ------------------------------------------------------------------------ 110 | achicago 111 | Chicago Manual A-style (but author-date) citations 112 | (Frankenstein's references) 113 | 114 | A bibliography style based on _The Chicago Manual of Style_. The 115 | style is mostly style A, but borrows the author-date reference 116 | system from style B. Requires accompanying BibTeX bibliography 117 | style "achicago". 118 | 119 | ------------------------------------------------------------------------ 120 | titles 121 | titling macros 122 | (Frankenstein's pedigree) 123 | 124 | Macros that typeset the titles of books, journals, etc. and handle 125 | following spacing and punctuation intelligently, based on context. 126 | Useful for bibliographic databases. Also includes other markup like 127 | \word, \defn, \phrase, etc. 128 | 129 | ------------------------------------------------------------------------ 130 | attrib 131 | attribution of block elements 132 | (Frankenstein's hat) 133 | 134 | \attrib attributes block elements, for example when citing a 135 | reference after a block quotation. 136 | 137 | ------------------------------------------------------------------------ 138 | lips 139 | text ellipses 140 | (Frankenstein's lips) 141 | 142 | The \lips command generates text ellipses that are closer to what 143 | _The Chicago Manual of Style_ suggests than what \dots produces. It 144 | does the right thing in most circumstances, and so is easy to use. 145 | 146 | ------------------------------------------------------------------------ 147 | moredefs 148 | more defining commands 149 | (Frankenstein's brain) 150 | 151 | A collection of defining, expansion, and debugging commands for 152 | programming in LaTeX and writing LaTeX packages and classes. 153 | 154 | ------------------------------------------------------------------------ 155 | newclude 156 | a new system for including files 157 | (Frankenstein's backbone) 158 | 159 | Provides a backwards-compatible reimplementation of \include and 160 | \includeonly. The principal new features are: (1) the restriction 161 | that \clearpage's must surround an included file is removed, (2) the 162 | restriction that \include's cannot be nested is removed, and (3) the 163 | provision of hooks executed before and after the contents of an 164 | included file. Newclude accomplishes the first two by using a 165 | single .aux file instead of many. Newclude also provides the 166 | experimental functionality of the former package includex, which 167 | allows you to include partial contents of independent LaTeX files 168 | that can also be processed on their own (that is, files that contain 169 | \documentclass, \begin{document}, etc.). 170 | 171 | ------------------------------------------------------------------------ 172 | slemph 173 | slanted emphasis 174 | (Frankenstein's gait) 175 | 176 | Defines \itswitch, \slswitch, \textitswitch, and \textslswitch, 177 | which switch between slanted or italic type and upright type. Can 178 | be used to represent emphasis with slanted type. 179 | 180 | ------------------------------------------------------------------------ 181 | blkcntrl 182 | block element hooks 183 | 184 | Inserts hooks into certain block elements and footnotes. Also 185 | provides a command to set block quotations one size smaller than the 186 | main text. 187 | 188 | ------------------------------------------------------------------------ 189 | NOTES 190 | 191 | configuration files 192 | 193 | A standard configuration file .cfg is included in the 194 | abbrevs, compsci, slemph, and titles package filesets. If you want 195 | to alter a configuration file, make a copy of it, put it the copy in 196 | the LaTeX search path prior to the distributed configuration file, 197 | and alter the copy. 198 | 199 | 200 | unsupported packages 201 | 202 | Several additional unsupported Frankenstein package filesets are in 203 | the subdirectory: 204 | 205 | CTAN:/macros/latex/contrib/supported/frankenstein/unsupported 206 | 207 | See the file README-unsupported in that directory for further 208 | information. 209 | 210 | ------------------------------------------------------------------------ 211 | DISTRIBUTION CONDITIONS 212 | 213 | All Frankenstein filesets are copyrighted by Matthew Swift and 214 | released under the conditions of the GNU General Public License 215 | contained in the file COPYING. 216 | 217 | I am willing to specially license this code; please simply contact 218 | me with your proposal. 219 | 220 | ------------------------------------------------------------------------ 221 | TERMINOLOGY 222 | 223 | fileset: A group of files related to a single LaTeX package, LaTeX 224 | class, or BibTeX bibliography style and any accompanying 225 | option or configuration files. The files in a package or 226 | class fileset have the same root name but different 227 | filename extensions. In bibstyle filesets, some root names 228 | differ by a "-bst" suffix. 229 | 230 | CTAN: Comprehensive TeX Archive Network: a system of TeX-related 231 | file archives available via FTP (see 232 | ftp://ctan.tug.org/tex-archive/CTAN.sites) and often 233 | reproduced on CDROMs. 234 | 235 | TDS: TeX Directory Structure: a recommended directory structure 236 | for TeX installations. See 237 | ftp://ctan.tug.org/tex-archive/tds. 238 | 239 | ------------------------------------------------------------------------ 240 | AUTHOR 241 | 242 | Matt Swift 243 | 244 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/abbrevs.cfg: -------------------------------------------------------------------------------- 1 | % \iffalse 2 | %% 3 | % Even if you don't want any code in this file, leave the empty file, or else 4 | % loading the \package{abbrevs} package will consume extra time as it searches 5 | % for this file. 6 | %% 7 | % \fi 8 | % \begin{macrocode} 9 | \def\fileinfo{Abbrevs package configuration} 10 | \def\fileversion{v1.2} 11 | \def\filedate{2001/08/31} 12 | \def\docdate{1997/10/18} 13 | % \end{macrocode} 14 | % 15 | % \begin{macrocode} 16 | \ProvidesFile{abbrevs.cfg} 17 | % \end{macrocode} 18 | % 19 | % \AddToCheckSum{25} 20 | % 21 | % \section{\cname{DateMarkSize}} 22 | % 23 | % \begin{macro}{\DateMarkSize} 24 | % I like to use this definition instead of the one in the main file, but I 25 | % didn't want to require \package{abbrevs} to depend on \package{relsize}. 26 | % \begin{macrocode} 27 | \RequirePackage{relsize} 28 | \def\DateMarkSize {% 29 | \relsize{-1}% 30 | } 31 | % \end{macrocode} 32 | % \end{macro} 33 | % 34 | % \section{Backwards compatibility} 35 | % 36 | % \begin{macro}{\TMNewCategory} 37 | % \begin{macro}{\TMDefineAbbrevPlain} 38 | % This can be uncommented to deal with anything you might have written that 39 | % referred to these variables before I changed their names. 40 | % \begin{macrocode} 41 | % \newlet\TMNewCategory\NewAbbrevCategory 42 | % \newlet\TMDefineAbbrevPlain\TMDefineAbbrevStandard 43 | % \end{macrocode} 44 | % \end{macro} 45 | % \end{macro} 46 | % 47 | % \section{Suggestions} 48 | % 49 | % Here are ideas commented out that you might want to try. 50 | % 51 | % You can learn a helpful general strategy about how to work with hooks in 52 | % \LaTeX{} from this example. If you put the inhibitor directly into 53 | % \cs\PreFootnote, you could never take it out without either losing whatever 54 | % else had been put into \cs\PreFootnote, or using some thorny procedure that 55 | % stepped through the macro and removed just the inhibitor (you don't want to 56 | % try that). If you add a ``subhook'' to \cs\PreFootnote, you can turn the 57 | % subhook on or off without even knowing what else in in \cs\PreFootnote. You 58 | % can't redefine \cs\TMInhibitSwitchingtrue. A \cs\newcommand would work as 59 | % well as the \cs\newlet here, a tad less efficient. 60 | % \begin{macrocode} 61 | % \newlet\FootnoteTMHook\TMInhibitSwitchingtrue 62 | % \addto@macro\PreFootnote {% 63 | % \FootnoteTMHook 64 | % } 65 | % \end{macrocode} 66 | % To undo the effect later, say \code{\let\FootnoteTMHook\relax} or 67 | % \code{\global\let}\lips as appropriate. 68 | % 69 | % \part{Testing} 70 | % 71 | % \ResetAbbrevs{All} 72 | % 73 | % I'm presently writing a dissertation on \beckett. Although there is 74 | % comparatively little biographical material available, it is well known that 75 | % he spent several years under the wing of \joyce, another of the great writers 76 | % in English this century. \joyce and \beckett, it is curious, like other 77 | % great writers, both had trouble with their vision, and both were exiles in 78 | % some sense. One of my favorite pieces by \beckett is \worst, a short work 79 | % written in the 1980's not long before his death: ``Fail again. Fail 80 | % better.'' \worst is lyric and exalting to me. A work I feel is underrated 81 | % is the radio play \fall (all but his three long plays are collected in \csp). 82 | % It's extremely funny, and very touchingly compassionate. Because it is a 83 | % radio play, it loses less from performance to reading. I would recommend 84 | % \fall to anyone. His later plays (and fiction) are famously enigmatic, but 85 | % with a little practice, it is not hard to see the same lyric beauty and 86 | % compassion. Take the brief television play \nacht (in \csp of course), which 87 | % has no dialogue, only a few murmured bars of the Schubert song, also brief, 88 | % and also called \nacht---it's one of the most hauntingly beautiful few 89 | % minutes of music I've ever heard, and I particularly recommend Cheryl 90 | % Studer's recording on Deutsche Grammophone. Every other recording I've heard 91 | % plays too fast. 92 | % 93 | % \ResetAbbrevs{All} 94 | % 95 | % \joyceshort is short for \joyce, not \joyce Smith. 96 | % 97 | % \ResetAbbrevs{All} 98 | % 99 | % Now some more rigious and boring testing. Each pair should be identical. 100 | % 101 | % \newbook\aaa{initial}[subsequent] 102 | % \newname\www{tmacro}[tmacro-subsequent] 103 | % 104 | % {\parindent0pt 105 | % 106 | % ^^A\def\ldebug#1{\tracingmacros#1\tracingcommands#1\VerboseErrors\relax} 107 | % \let\ldebug\Gobble 108 | % 109 | % \textit{\textitswitch{initial} hello}\\ 110 | % \ldebug1\relax 111 | % \textit{\aaa hello} 112 | % \ldebug0\relax 113 | % 114 | % \textup{\textitswitch{subsequent} hello}\\ 115 | % \ldebug1\relax 116 | % \textup{\aaa hello} 117 | % \ldebug0\relax 118 | % 119 | % \textit{subsequent}~tie\\ 120 | % \ldebug1\relax 121 | % \aaa~tie 122 | % \ldebug0\relax 123 | % 124 | % \textit{subsequent} regular text\\ 125 | % \ldebug1\relax 126 | % \aaa regular text 127 | % \ldebug0\relax 128 | % 129 | % \textit{subsequent}: colon\\ 130 | % \ldebug1\relax 131 | % \aaa: colon 132 | % \ldebug0\relax 133 | % 134 | % \textit{subsequent}; semicolon\\ 135 | % \ldebug1\relax 136 | % \aaa; semicolon 137 | % \ldebug0\relax 138 | % 139 | % \textit{subsequent}. Period.\\ 140 | % \ldebug1\relax 141 | % \aaa. Period. 142 | % \ldebug0\relax 143 | % 144 | % \textit{subsequent}! Exclamation point.\\ 145 | % \ldebug1\relax 146 | % \aaa! Exclamation point. 147 | % \ldebug0\relax 148 | % 149 | % \textit{subsequent}? Question mark.\\ 150 | % \ldebug1\relax 151 | % \aaa? Question mark. 152 | % \ldebug0\relax 153 | % 154 | % \textit{subsequent}-hyphen.\\ 155 | % \ldebug1\relax 156 | % \aaa-hyphen. 157 | % \ldebug0\relax 158 | % 159 | % \textit{subsequent} \texttt{texttt}\\ 160 | % \ldebug1\relax 161 | % \aaa \texttt{texttt} 162 | % \ldebug0\relax 163 | % 164 | % \textit{subsequent} (leftparen)\\ 165 | % \ldebug1\relax 166 | % \aaa (leftparen) 167 | % \ldebug0\relax 168 | % 169 | % (\textit{subsequent}) rightparen\\ 170 | % \ldebug1\relax 171 | % (\aaa) rightparen 172 | % \ldebug0\relax 173 | % 174 | % \textit{subsequent}, comma\\ 175 | % \ldebug1\relax 176 | % \aaa, comma. 177 | % \ldebug0\relax 178 | % 179 | % \textit{subsequent} tmacro\\ 180 | % \ldebug1\relax 181 | % \aaa \www 182 | % \ldebug0\relax 183 | % 184 | % \textit{subsequent}'s face\\ 185 | % \ldebug1\relax 186 | % \aaa's face 187 | % \ldebug0\relax 188 | % 189 | % \textit{subsequent} ``quote''\\ 190 | % \ldebug1\relax 191 | % \aaa ``quote'' 192 | % \ldebug0\relax 193 | % 194 | % \textit{subsequent} [leftbracket]\\ 195 | % \ldebug1\relax 196 | % \aaa [leftbracket] 197 | % \ldebug0\relax 198 | % 199 | % [\textit{subsequent}] rightbracket\\ 200 | % \ldebug1\relax 201 | % [\aaa] rightbracket 202 | % \ldebug0\relax 203 | % 204 | % \textit{subsequent}{open group}\\ 205 | % \ldebug1\relax 206 | % \aaa {opengroup} 207 | % \ldebug0\relax 208 | % 209 | % {\textit{subsequent}} close group\\ 210 | % \ldebug1\relax 211 | % {\aaa} close group 212 | % \ldebug0\relax 213 | % 214 | % \textit{subsequent} \{realbrace\}\\ 215 | % \ldebug1\relax 216 | % \aaa \{realbrace\} 217 | % \ldebug0\relax 218 | % 219 | % \textit{subsequent} 666 number\\ 220 | % \ldebug1\relax 221 | % \aaa 666 number 222 | % \ldebug0\relax 223 | % 224 | % \textit{subsequent} $x=y^2$ math\\ 225 | % \ldebug1\relax 226 | % \aaa $x=y^2$ math 227 | % \ldebug0\relax 228 | % 229 | % \textit{subsequent} \$realdollar\\ 230 | % \ldebug1\relax 231 | % \aaa \$realdollar 232 | % \ldebug0\relax 233 | % 234 | % \textit{subsequent} \#numbersign\\ 235 | % \ldebug1\relax 236 | % \aaa \#numbersign 237 | % \ldebug0\relax 238 | % 239 | % \textit{subsequent}/slash\\ 240 | % \ldebug1\relax 241 | % \aaa /slash 242 | % \ldebug0\relax 243 | % 244 | % \textit{subsequent}\/ italic correction\\ 245 | % \ldebug1\relax 246 | % \aaa \/ italic correction 247 | % \ldebug0\relax 248 | % 249 | % \textit{subsequent}\ explicit space\\ 250 | % \ldebug1\relax 251 | % \aaa \ explicit space 252 | % \ldebug0\relax 253 | % 254 | % \textit{subsequent}\space \cs\space\\ 255 | % \ldebug1\relax 256 | % \aaa \space \cs\space 257 | % \ldebug0\relax 258 | % 259 | % \makeatletter 260 | % 261 | % \textit{subsequent}\@xobeysp \cname{@xobeysp}\\ 262 | % \ldebug1\relax 263 | % \aaa \@xobeysp \cname{@xobeysp} 264 | % \ldebug0\relax 265 | % 266 | % \def\ACRcnta{1} 267 | % \def\ACRcntb{3} 268 | % \acromake{CIA}{{\ttfamily CIA}}{Central Intelligence Agency} 269 | % \newcommand\TMacromakebugit {% 270 | % \Debug1 271 | % \typeout{CIA \expandafter\meaning\csname CIA\endcsname} 272 | % \typeout{LONG \expandafter\meaning\csname CIAlong \endcsname} 273 | % \typeout{SHORT \expandafter\meaning\csname CIAshort \endcsname} 274 | % \typeout{secondary \expandafter\meaning\csname CIAsecondary \endcsname} 275 | % } 276 | % 277 | % The \CIA is overthrowing Nigeria. 278 | % 279 | % The \CIA is watching in your window right now. 280 | % 281 | % The \CIA will stop that missile. 282 | % 283 | % The \CIA! The \CIA! The \CIA. The \CIA guys. 284 | % 285 | % Resetting Acromake abbrevs. 286 | % \TMResetAcromake 287 | % 288 | % The \CIA! The \CIA! The \CIA. The \CIA guys. 289 | % 290 | % } ^^A closes testing group? 291 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/abbrevs.dvi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/frankenstein/abbrevs.dvi -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/abbrevs.ins: -------------------------------------------------------------------------------- 1 | % abbrevs.ins -- docstrip driver for the abbrevs LaTeX package 2 | % 3 | % Copyright (C) 1995-2001 Matthew Swift 4 | % Please see the copyright notice in \preamble below. 5 | 6 | % This file, when run through TeX or LaTeX, will generate fast loadable files 7 | % from the .sty, .cls, or .bst files mentioned below. 8 | 9 | \input docstrip 10 | \keepsilent 11 | 12 | \preamble 13 | 14 | This program is part of the Frankenstein bundle for LaTeX. 15 | 16 | Copyright (C) 1995-2001 Matthew Swift 17 | 18 | This file may have one of TWO names, either 19 | abbrevs.sty or abbrevs.stq. This 20 | LaTeX package will work ONLY if it is called abbrevs.sty 21 | and placed in a proper directory. This file should have been 22 | distributed to you with a DIFFERENT file (also) called 23 | abbrevs.sty which functions identically to this one 24 | but contains documentation in comments. This file works faster, 25 | but the other should be kept because it contains the documentation 26 | for this LaTeX package. Files called README and INSTALL should have 27 | also been distributed to you with this file; see them for more 28 | information. 29 | 30 | This program is free software; you may redistribute it and/or 31 | modify it under the conditions of the LaTeX Project Public 32 | License, either version 1.2 or (at your option) any later version. 33 | The latest version of this license is in 34 | http://www.latex-project.org/lppl.txt, and version 1.2 or later is 35 | part of all distributions of LaTeX version 1999/12/01 or later. 36 | 37 | This program is distributed in the hope that it will be useful, 38 | but WITHOUT ANY WARRANTY; without even the implied warranty of 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 | LaTeX Project Public License for more details. 41 | 42 | \endpreamble 43 | 44 | \askforoverwritefalse 45 | 46 | % This will get changed to either nothing or \nopostamble. 47 | 48 | 49 | \generate{\file{abbrevs.stq}{\from{abbrevs.sty}{}}} 50 | 51 | \Msg{} 52 | \Msg{***********************************************************************} 53 | \Msg{*} 54 | \Msg{* The file abbrevs.stq is a faster replacement for the file} 55 | \Msg{* abbrevs.sty.} 56 | \Msg{*} 57 | \Msg{* abbrevs.stq is stripped of comments (documentation) and must be} 58 | \Msg{* renamed abbrevs.sty and placed where LaTeX can find it} 59 | \Msg{* before it may be used.} 60 | \Msg{*} 61 | \Msg{***********************************************************************} 62 | \Msg{} 63 | 64 | \endbatchfile 65 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/abbrevs.tex: -------------------------------------------------------------------------------- 1 | % abbrevs.tex -- documentation for the abbrevs LaTeX package. 2 | % 3 | % This program is part of the Frankenstein bundle for LaTeX2e. 4 | % 5 | % Copyright (C) 1995-2001 Matt Swift 6 | % 7 | % This program is free software; you may redistribute it and/or 8 | % modify it under the conditions of the LaTeX Project Public 9 | % License, either version 1.2 or (at your option) any later 10 | % version. The latest version of this license is in 11 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later 12 | % is part of all distributions of LaTeX version 1999/12/01 or 13 | % later. 14 | % 15 | % This program is distributed in the hope that it will be useful, 16 | % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | % LaTeX Project Public License for more details. 19 | % 20 | \documentclass{ltxdoc} 21 | \makeatletter 22 | \def\part {% 23 | \clearpage 24 | \@afterindentfalse 25 | \secdef\@part\@spart 26 | } 27 | \def\StripV #1{\E@cdr #1\@nil} 28 | \makeatother 29 | \usepackage{attrib,compsci} 30 | \newbook\manual {Chicago\nocite{chicago:14} Manual of Style}[Chicago Manual] 31 | \newbook\MLAman {The\nocite{mlaman} MLA Style Manual and Guide to Scholarly Publishing} 32 | [The MLA Style Manual] 33 | \newtheorem{lessoninternal}{Lesson} 34 | \newenvironment{lesson} {% 35 | \let\AttribInit\sffamily 36 | \let\PreTrib\textsection 37 | \let\PostTrib\ShortEmpty 38 | \lessoninternal 39 | } {% 40 | \endlessoninternal 41 | } 42 | \newcommand\manualref [1] {\textsf{\S #1}} 43 | \ProcessDTXFile{abbrevs.sty} 44 | \newlet\MaybeABib\relax 45 | \IfCitations { 46 | \def\MaybeABib {% 47 | \newpage 48 | \bibliographystyle{achicago}% 49 | \bibliography{frankenstein}% 50 | } 51 | \SaveDoXVarS 52 | \usepackage{achicago} 53 | \RestoreDoXVarS 54 | } 55 | \CodelineIndex 56 | \EnableCrossrefs 57 | \begin{document} 58 | \date{Version: \StripV\fileversion \qquad Date: \filedate\\ 59 | \relsize{-2}Documentation revision: \docdate} 60 | \author{Matt Swift \email{swift@alum.mit.edu}} 61 | \title{The \textsf{abbrevs} LaTeX package \\\smaller \fileinfo} 62 | \maketitle 63 | \DocInput{abbrevs.sty} 64 | \MaybeABib 65 | \newpage 66 | \PrintIndex 67 | \end{document} 68 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/achicago-bst.dvi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/frankenstein/achicago-bst.dvi -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/achicago-bst.ins: -------------------------------------------------------------------------------- 1 | % achicago-bst.ins -- docstrip driver for the achicago BibTeX style 2 | % 3 | % Copyright (C) 1995-2001 Matthew Swift 4 | % Please see the copyright notice in \preamble below. 5 | 6 | % This file, when run through TeX or LaTeX, will generate fast loadable files 7 | % from the .sty, .cls, or .bst files mentioned below. 8 | 9 | \input docstrip 10 | \keepsilent 11 | 12 | \preamble 13 | 14 | This program is part of the Frankenstein bundle for LaTeX. 15 | 16 | Copyright (C) 1995-2001 Matthew Swift 17 | 18 | This file may have one of TWO names, either 19 | achicago.bst or achicago.bsq. This 20 | BibTeX style will work ONLY if it is called achicago.bst 21 | and placed in a proper directory. This file should have been 22 | distributed to you with a DIFFERENT file (also) called 23 | achicago.bst which functions identically to this one 24 | but contains documentation in comments. This file works faster, 25 | but the other should be kept because it contains the documentation 26 | for this BibTeX style. Files called README and INSTALL should have 27 | also been distributed to you with this file; see them for more 28 | information. 29 | 30 | This program is free software; you may redistribute it and/or 31 | modify it under the conditions of the LaTeX Project Public 32 | License, either version 1.2 or (at your option) any later version. 33 | The latest version of this license is in 34 | http://www.latex-project.org/lppl.txt, and version 1.2 or later is 35 | part of all distributions of LaTeX version 1999/12/01 or later. 36 | 37 | This program is distributed in the hope that it will be useful, 38 | but WITHOUT ANY WARRANTY; without even the implied warranty of 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 | LaTeX Project Public License for more details. 41 | 42 | \endpreamble 43 | 44 | \askforoverwritefalse 45 | 46 | % This will get changed to either nothing or \nopostamble. 47 | \nopostamble 48 | 49 | \generate{\file{achicago.bsq}{\from{achicago.bst}{}}} 50 | 51 | \Msg{} 52 | \Msg{***********************************************************************} 53 | \Msg{*} 54 | \Msg{* The file achicago.bsq is a faster replacement for the file} 55 | \Msg{* achicago.bst.} 56 | \Msg{*} 57 | \Msg{* achicago.bsq is stripped of comments (documentation) and must be} 58 | \Msg{* renamed achicago.bst and placed where BibTeX can find it} 59 | \Msg{* before it may be used.} 60 | \Msg{*} 61 | \Msg{***********************************************************************} 62 | \Msg{} 63 | 64 | \endbatchfile 65 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/achicago-bst.tex: -------------------------------------------------------------------------------- 1 | % achicago-bst.tex -- documentation for the achicago BibTeX style. 2 | % 3 | % This program is part of the Frankenstein bundle for LaTeX2e. 4 | % 5 | % Copyright (C) 1995-2001 Matt Swift 6 | % 7 | % This program is free software; you may redistribute it and/or 8 | % modify it under the conditions of the LaTeX Project Public 9 | % License, either version 1.2 or (at your option) any later 10 | % version. The latest version of this license is in 11 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later 12 | % is part of all distributions of LaTeX version 1999/12/01 or 13 | % later. 14 | % 15 | % This program is distributed in the hope that it will be useful, 16 | % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | % LaTeX Project Public License for more details. 19 | % 20 | \documentclass{ltxdoc} 21 | \makeatletter 22 | \def\part {% 23 | \clearpage 24 | \@afterindentfalse 25 | \secdef\@part\@spart 26 | } 27 | \def\StripV #1{\E@cdr #1\@nil} 28 | \makeatother 29 | \usepackage{attrib,compsci} 30 | \newbook\manual {Chicago\nocite{chicago:14} Manual of Style}[Chicago Manual] 31 | \newbook\MLAman {The\nocite{mlaman} MLA Style Manual and Guide to Scholarly Publishing} 32 | [The MLA Style Manual] 33 | \newtheorem{lessoninternal}{Lesson} 34 | \newenvironment{lesson} {% 35 | \let\AttribInit\sffamily 36 | \let\PreTrib\textsection 37 | \let\PostTrib\ShortEmpty 38 | \lessoninternal 39 | } {% 40 | \endlessoninternal 41 | } 42 | \newcommand\manualref [1] {\textsf{\S #1}} 43 | \ProcessDTXFile{achicago-bst.ver} 44 | \newlet\MaybeABib\relax 45 | \IfCitations { 46 | \def\MaybeABib {% 47 | \newpage 48 | \bibliographystyle{achicago}% 49 | \bibliography{frankenstein}% 50 | } 51 | \SaveDoXVarS 52 | \usepackage{achicago} 53 | \RestoreDoXVarS 54 | } 55 | \CodelineIndex 56 | \EnableCrossrefs 57 | \begin{document} 58 | \date{Version: \StripV\fileversion \qquad Date: \filedate\\ 59 | \relsize{-2}Documentation revision: \docdate} 60 | \author{Matt Swift \email{swift@alum.mit.edu}} 61 | \title{The \textsf{achicago} BibTeX style \\\smaller \fileinfo} 62 | \maketitle 63 | \DocInput{achicago.bst} 64 | \MaybeABib 65 | \newpage 66 | \PrintIndex 67 | \end{document} 68 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/achicago-bst.ver: -------------------------------------------------------------------------------- 1 | \def\fileinfo{A Chicago Manual BibTeX style} 2 | \def\DoXPackageS {longtable} 3 | \def\initelyHavECitationS {} 4 | \def\fileversion{v1} 5 | \def\filedate{2001/08/31} 6 | \def\docdate{2001/08/31} 7 | \makeatletter% A special comment to help create bst files. Don't change! 8 | \@ifundefined{JusTLoaDInformatioN} {% 9 | }{% ELSE (we know the compsci package is already loaded, too) 10 | \UndefineCS\JusTLoaDInformatioN 11 | \SaveDoXVarS 12 | \eExpand\csname DoXPackageS\endcsname\In {%use \csname in case it's undefined 13 | \usepackage{#1}% 14 | }% 15 | \RestoreDoXVarS 16 | \makeatother 17 | \endinput 18 | }% A special comment to help create bst files. Don't change! 19 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/achicago.dvi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/frankenstein/achicago.dvi -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/achicago.ins: -------------------------------------------------------------------------------- 1 | % achicago.ins -- docstrip driver for the achicago LaTeX package 2 | % 3 | % Copyright (C) 1995-2001 Matthew Swift 4 | % Please see the copyright notice in \preamble below. 5 | 6 | % This file, when run through TeX or LaTeX, will generate fast loadable files 7 | % from the .sty, .cls, or .bst files mentioned below. 8 | 9 | \input docstrip 10 | \keepsilent 11 | 12 | \preamble 13 | 14 | This program is part of the Frankenstein bundle for LaTeX. 15 | 16 | Copyright (C) 1995-2001 Matthew Swift 17 | 18 | This file may have one of TWO names, either 19 | achicago.sty or achicago.stq. This 20 | LaTeX package will work ONLY if it is called achicago.sty 21 | and placed in a proper directory. This file should have been 22 | distributed to you with a DIFFERENT file (also) called 23 | achicago.sty which functions identically to this one 24 | but contains documentation in comments. This file works faster, 25 | but the other should be kept because it contains the documentation 26 | for this LaTeX package. Files called README and INSTALL should have 27 | also been distributed to you with this file; see them for more 28 | information. 29 | 30 | This program is free software; you may redistribute it and/or 31 | modify it under the conditions of the LaTeX Project Public 32 | License, either version 1.2 or (at your option) any later version. 33 | The latest version of this license is in 34 | http://www.latex-project.org/lppl.txt, and version 1.2 or later is 35 | part of all distributions of LaTeX version 1999/12/01 or later. 36 | 37 | This program is distributed in the hope that it will be useful, 38 | but WITHOUT ANY WARRANTY; without even the implied warranty of 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 | LaTeX Project Public License for more details. 41 | 42 | \endpreamble 43 | 44 | \askforoverwritefalse 45 | 46 | % This will get changed to either nothing or \nopostamble. 47 | 48 | 49 | \generate{\file{achicago.stq}{\from{achicago.sty}{}}} 50 | 51 | \Msg{} 52 | \Msg{***********************************************************************} 53 | \Msg{*} 54 | \Msg{* The file achicago.stq is a faster replacement for the file} 55 | \Msg{* achicago.sty.} 56 | \Msg{*} 57 | \Msg{* achicago.stq is stripped of comments (documentation) and must be} 58 | \Msg{* renamed achicago.sty and placed where LaTeX can find it} 59 | \Msg{* before it may be used.} 60 | \Msg{*} 61 | \Msg{***********************************************************************} 62 | \Msg{} 63 | 64 | \endbatchfile 65 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/achicago.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/frankenstein/achicago.pdf -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/achicago.tex: -------------------------------------------------------------------------------- 1 | % achicago.tex -- documentation for the achicago LaTeX package. 2 | % 3 | % This program is part of the Frankenstein bundle for LaTeX2e. 4 | % 5 | % Copyright (C) 1995-2001 Matt Swift 6 | % 7 | % This program is free software; you may redistribute it and/or 8 | % modify it under the conditions of the LaTeX Project Public 9 | % License, either version 1.2 or (at your option) any later 10 | % version. The latest version of this license is in 11 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later 12 | % is part of all distributions of LaTeX version 1999/12/01 or 13 | % later. 14 | % 15 | % This program is distributed in the hope that it will be useful, 16 | % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | % LaTeX Project Public License for more details. 19 | % 20 | \documentclass{ltxdoc} 21 | \makeatletter 22 | \def\part {% 23 | \clearpage 24 | \@afterindentfalse 25 | \secdef\@part\@spart 26 | } 27 | \def\StripV #1{\E@cdr #1\@nil} 28 | \makeatother 29 | \usepackage{attrib,compsci} 30 | \newbook\manual {Chicago\nocite{chicago:14} Manual of Style}[Chicago Manual] 31 | \newbook\MLAman {The\nocite{mlaman} MLA Style Manual and Guide to Scholarly Publishing} 32 | [The MLA Style Manual] 33 | \newtheorem{lessoninternal}{Lesson} 34 | \newenvironment{lesson} {% 35 | \let\AttribInit\sffamily 36 | \let\PreTrib\textsection 37 | \let\PostTrib\ShortEmpty 38 | \lessoninternal 39 | } {% 40 | \endlessoninternal 41 | } 42 | \newcommand\manualref [1] {\textsf{\S #1}} 43 | \ProcessDTXFile{achicago.sty} 44 | \newlet\MaybeABib\relax 45 | \IfCitations { 46 | \def\MaybeABib {% 47 | \newpage 48 | \bibliographystyle{achicago}% 49 | \bibliography{frankenstein}% 50 | } 51 | \SaveDoXVarS 52 | \usepackage{achicago} 53 | \RestoreDoXVarS 54 | } 55 | \CodelineIndex 56 | \EnableCrossrefs 57 | \begin{document} 58 | \date{Version: \StripV\fileversion \qquad Date: \filedate\\ 59 | \relsize{-2}Documentation revision: \docdate} 60 | \author{Matt Swift \email{swift@alum.mit.edu}} 61 | \title{The \textsf{achicago} LaTeX package \\\smaller \fileinfo} 62 | \maketitle 63 | \DocInput{achicago.sty} 64 | \MaybeABib 65 | \newpage 66 | \PrintIndex 67 | \end{document} 68 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/achicago.toc: -------------------------------------------------------------------------------- 1 | \contentsline {part}{I\hspace {1em}Discussion}{2} 2 | \contentsline {section}{\numberline {1}General}{2} 3 | \contentsline {section}{\numberline {2}Notes on the future of this package and bibstyle}{2} 4 | \contentsline {section}{\numberline {3}Pros and cons of this style}{2} 5 | \contentsline {section}{\numberline {4}Usage}{3} 6 | \contentsline {subsection}{\numberline {4.1}Short citation labels}{4} 7 | \contentsline {section}{\numberline {5}Some technical notes}{4} 8 | \contentsline {section}{\numberline {6}History}{5} 9 | \contentsline {part}{II\hspace {1em}Implementation}{6} 10 | \contentsline {section}{\numberline {7}Version control}{6} 11 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/attrib.dvi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/frankenstein/attrib.dvi -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/attrib.ins: -------------------------------------------------------------------------------- 1 | % attrib.ins -- docstrip driver for the attrib LaTeX package 2 | % 3 | % Copyright (C) 1995-2001 Matthew Swift 4 | % Please see the copyright notice in \preamble below. 5 | 6 | % This file, when run through TeX or LaTeX, will generate fast loadable files 7 | % from the .sty, .cls, or .bst files mentioned below. 8 | 9 | \input docstrip 10 | \keepsilent 11 | 12 | \preamble 13 | 14 | This program is part of the Frankenstein bundle for LaTeX. 15 | 16 | Copyright (C) 1995-2001 Matthew Swift 17 | 18 | This file may have one of TWO names, either 19 | attrib.sty or attrib.stq. This 20 | LaTeX package will work ONLY if it is called attrib.sty 21 | and placed in a proper directory. This file should have been 22 | distributed to you with a DIFFERENT file (also) called 23 | attrib.sty which functions identically to this one 24 | but contains documentation in comments. This file works faster, 25 | but the other should be kept because it contains the documentation 26 | for this LaTeX package. Files called README and INSTALL should have 27 | also been distributed to you with this file; see them for more 28 | information. 29 | 30 | This program is free software; you may redistribute it and/or 31 | modify it under the conditions of the LaTeX Project Public 32 | License, either version 1.2 or (at your option) any later version. 33 | The latest version of this license is in 34 | http://www.latex-project.org/lppl.txt, and version 1.2 or later is 35 | part of all distributions of LaTeX version 1999/12/01 or later. 36 | 37 | This program is distributed in the hope that it will be useful, 38 | but WITHOUT ANY WARRANTY; without even the implied warranty of 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 | LaTeX Project Public License for more details. 41 | 42 | \endpreamble 43 | 44 | \askforoverwritefalse 45 | 46 | % This will get changed to either nothing or \nopostamble. 47 | 48 | 49 | \generate{\file{attrib.stq}{\from{attrib.sty}{}}} 50 | 51 | \Msg{} 52 | \Msg{***********************************************************************} 53 | \Msg{*} 54 | \Msg{* The file attrib.stq is a faster replacement for the file} 55 | \Msg{* attrib.sty.} 56 | \Msg{*} 57 | \Msg{* attrib.stq is stripped of comments (documentation) and must be} 58 | \Msg{* renamed attrib.sty and placed where LaTeX can find it} 59 | \Msg{* before it may be used.} 60 | \Msg{*} 61 | \Msg{***********************************************************************} 62 | \Msg{} 63 | 64 | \endbatchfile 65 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/attrib.tex: -------------------------------------------------------------------------------- 1 | % attrib.tex -- documentation for the attrib LaTeX package. 2 | % 3 | % This program is part of the Frankenstein bundle for LaTeX2e. 4 | % 5 | % Copyright (C) 1995-2001 Matt Swift 6 | % 7 | % This program is free software; you may redistribute it and/or 8 | % modify it under the conditions of the LaTeX Project Public 9 | % License, either version 1.2 or (at your option) any later 10 | % version. The latest version of this license is in 11 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later 12 | % is part of all distributions of LaTeX version 1999/12/01 or 13 | % later. 14 | % 15 | % This program is distributed in the hope that it will be useful, 16 | % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | % LaTeX Project Public License for more details. 19 | % 20 | \documentclass{ltxdoc} 21 | \makeatletter 22 | \def\part {% 23 | \clearpage 24 | \@afterindentfalse 25 | \secdef\@part\@spart 26 | } 27 | \def\StripV #1{\E@cdr #1\@nil} 28 | \makeatother 29 | \usepackage{attrib,compsci} 30 | \newbook\manual {Chicago\nocite{chicago:14} Manual of Style}[Chicago Manual] 31 | \newbook\MLAman {The\nocite{mlaman} MLA Style Manual and Guide to Scholarly Publishing} 32 | [The MLA Style Manual] 33 | \newtheorem{lessoninternal}{Lesson} 34 | \newenvironment{lesson} {% 35 | \let\AttribInit\sffamily 36 | \let\PreTrib\textsection 37 | \let\PostTrib\ShortEmpty 38 | \lessoninternal 39 | } {% 40 | \endlessoninternal 41 | } 42 | \newcommand\manualref [1] {\textsf{\S #1}} 43 | \ProcessDTXFile{attrib.sty} 44 | \newlet\MaybeABib\relax 45 | \IfCitations { 46 | \def\MaybeABib {% 47 | \newpage 48 | \bibliographystyle{achicago}% 49 | \bibliography{frankenstein}% 50 | } 51 | \SaveDoXVarS 52 | \usepackage{achicago} 53 | \RestoreDoXVarS 54 | } 55 | \CodelineIndex 56 | \EnableCrossrefs 57 | \begin{document} 58 | \date{Version: \StripV\fileversion \qquad Date: \filedate\\ 59 | \relsize{-2}Documentation revision: \docdate} 60 | \author{Matt Swift \email{swift@alum.mit.edu}} 61 | \title{The \textsf{attrib} LaTeX package \\\smaller \fileinfo} 62 | \maketitle 63 | \DocInput{attrib.sty} 64 | \MaybeABib 65 | \newpage 66 | \PrintIndex 67 | \end{document} 68 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/blkcntrl.dvi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/frankenstein/blkcntrl.dvi -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/blkcntrl.ins: -------------------------------------------------------------------------------- 1 | % blkcntrl.ins -- docstrip driver for the blkcntrl LaTeX package 2 | % 3 | % Copyright (C) 1995-2001 Matthew Swift 4 | % Please see the copyright notice in \preamble below. 5 | 6 | % This file, when run through TeX or LaTeX, will generate fast loadable files 7 | % from the .sty, .cls, or .bst files mentioned below. 8 | 9 | \input docstrip 10 | \keepsilent 11 | 12 | \preamble 13 | 14 | This program is part of the Frankenstein bundle for LaTeX. 15 | 16 | Copyright (C) 1995-2001 Matthew Swift 17 | 18 | This file may have one of TWO names, either 19 | blkcntrl.sty or blkcntrl.stq. This 20 | LaTeX package will work ONLY if it is called blkcntrl.sty 21 | and placed in a proper directory. This file should have been 22 | distributed to you with a DIFFERENT file (also) called 23 | blkcntrl.sty which functions identically to this one 24 | but contains documentation in comments. This file works faster, 25 | but the other should be kept because it contains the documentation 26 | for this LaTeX package. Files called README and INSTALL should have 27 | also been distributed to you with this file; see them for more 28 | information. 29 | 30 | This program is free software; you may redistribute it and/or 31 | modify it under the conditions of the LaTeX Project Public 32 | License, either version 1.2 or (at your option) any later version. 33 | The latest version of this license is in 34 | http://www.latex-project.org/lppl.txt, and version 1.2 or later is 35 | part of all distributions of LaTeX version 1999/12/01 or later. 36 | 37 | This program is distributed in the hope that it will be useful, 38 | but WITHOUT ANY WARRANTY; without even the implied warranty of 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 | LaTeX Project Public License for more details. 41 | 42 | \endpreamble 43 | 44 | \askforoverwritefalse 45 | 46 | % This will get changed to either nothing or \nopostamble. 47 | 48 | 49 | \generate{\file{blkcntrl.stq}{\from{blkcntrl.sty}{}}} 50 | 51 | \Msg{} 52 | \Msg{***********************************************************************} 53 | \Msg{*} 54 | \Msg{* The file blkcntrl.stq is a faster replacement for the file} 55 | \Msg{* blkcntrl.sty.} 56 | \Msg{*} 57 | \Msg{* blkcntrl.stq is stripped of comments (documentation) and must be} 58 | \Msg{* renamed blkcntrl.sty and placed where LaTeX can find it} 59 | \Msg{* before it may be used.} 60 | \Msg{*} 61 | \Msg{***********************************************************************} 62 | \Msg{} 63 | 64 | \endbatchfile 65 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/blkcntrl.sty: -------------------------------------------------------------------------------- 1 | %^^A* legal notices 2 | % \iffalse 3 | % 4 | % This program is part of the Frankenstein bundle for LaTeX. 5 | % 6 | % Copyright 1995-2001 Matt Swift . 7 | % 8 | % This file contains both the code and documentation for the 9 | % blkcntrl LaTeX package. It will work ONLY if it is placed in a 10 | % proper directory. Files called README, INSTALL, blkcntrl.tex 11 | % and blkcntrl.ins should have also been distributed to you 12 | % with this file. See them for more information on how to typeset 13 | % the documentation with LaTeX and how to generate a version of this 14 | % file that will work faster than this one. 15 | % 16 | % This program is free software; you may redistribute it and/or 17 | % modify it under the conditions of the LaTeX Project Public 18 | % License, either version 1.2 or (at your option) any later version. 19 | % The latest version of this license is in 20 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later is 21 | % part of all distributions of LaTeX version 1999/12/01 or later. 22 | % 23 | % This program is distributed in the hope that it will be useful, 24 | % but without any warranty; without even the implied warranty of 25 | % merchantability or fitness for a particular purpose. See the 26 | % LaTeX Project Public License for more details. 27 | % 28 | % \fi 29 | % 30 | %^^A* checks 31 | % 32 | %^^A NOTE: The character table, with two %'s, will get written to all files. 33 | %% \CharacterTable 34 | %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z 35 | %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z 36 | %% Digits \0\1\2\3\4\5\6\7\8\9 37 | %% Exclamation \! Double quote \" Hash (number) \# 38 | %% Dollar \$ Percent \% Ampersand \& 39 | %% Acute accent \' Left paren \( Right paren \) 40 | %% Asterisk \* Plus \+ Comma \, 41 | %% Minus \- Point \. Solidus \/ 42 | %% Colon \: Semicolon \; Less than \< 43 | %% Equals \= Greater than \> Question mark \? 44 | %% Commercial at \@ Left bracket \[ Backslash \\ 45 | %% Right bracket \] Circumflex \^ Underscore \_ 46 | %% Grave accent \` Left brace \{ Vertical bar \| 47 | %% Right brace \} Tilde \~} 48 | % 49 | % \CheckSum{97} 50 | % 51 | %^^A** abstract 52 | % \begin{abstract} 53 | % Inserts hooks into certain block elements and footnotes. Also provides a 54 | % command to set block quotations one size smaller than the main text. 55 | % \end{abstract} 56 | % \tableofcontents 57 | % 58 | % \part{Discussion} 59 | % 60 | % \section{General} 61 | % 62 | % This package has two purposes. First, it inserts several hooks into 63 | % constructs in the standard document classes so that other packages can use 64 | % the hooks. The \package{achicago}, \package{attrib}, \package{dialogue}, and 65 | % \package{bits} packages in the \Frankenstein bundle require 66 | % \package{blkcntrl}. Second, \package{blkcntrl} offers one option itself that 67 | % uses the hooks. The \option{smallblocks} option has the same effect as using 68 | % \cs\smallblocks in the preamble, for which see below. The 69 | % \option{normalblocks} option means no \cs\smallblocks, and is there simply 70 | % for completeness. 71 | % 72 | %% FIX; using smallblocks option gives option clash when other packages require 73 | % blkcntrl. Do thorough review of option passing. 74 | % 75 | % \DescribeMacro\smallblocks 76 | % When \cs\smallblocks is declared in the preamble, footnotes and the block 77 | % elements \env{quote}, \env{quotation}, and \env{verse} are set one size 78 | % smaller (i.e., \code{\relsize{-1}}). 79 | % 80 | % \DescribeMacro\normalblocks 81 | % 82 | % \section{Programmers' interface} 83 | % 84 | % \DescribeMacro\PreChunk 85 | % 86 | % \DescribeMacro\PreQuote 87 | % 88 | % \DescribeMacro\PreQuotation 89 | % 90 | % \DescribeMacro\PreVerse 91 | % 92 | % \DescribeMacro\PreFootnote 93 | % 94 | % \StopEventually{} 95 | % 96 | % \part{Implementation} 97 | % 98 | % \section{Version control} 99 | % 100 | % \begin{macro}{\fileinfo} 101 | % \begin{macro}{\DoXUsepackagE} 102 | % \begin{macro}{\HaveECitationS} 103 | % \begin{macro}{\fileversion} 104 | % \begin{macro}{\filedate} 105 | % \begin{macro}{\docdate} 106 | % \begin{macro}{\PPOptArg} 107 | % These definitions must be the first ones in the file. 108 | % \begin{macrocode} 109 | \def\fileinfo{block control} 110 | \def\DoXPackageS {} 111 | \def\fileversion{v1.2} 112 | \def\filedate{2001/08/31} 113 | \def\docdate{2001/08/31} 114 | \edef\PPOptArg {% 115 | \filedate\space \fileversion\space \fileinfo 116 | } 117 | % \end{macrocode} 118 | % \end{macro} 119 | % \end{macro} 120 | % \end{macro} 121 | % \end{macro} 122 | % \end{macro} 123 | % \end{macro} 124 | % \end{macro} 125 | % 126 | % If we're loading this file from a \cs\ProcessDTXFile command (see the 127 | % \package{compsci} package), then \cs\JusTLoaDInformatioN will be defined; 128 | % othewise we assume it is not (that's why the FunkY NamE). 129 | % 130 | % If we're loading from \cs\ProcessDTXFile, we want to load the packages listed 131 | % in \cs\DoXPackageS (needed to typeset the documentation for this file) and 132 | % then bail out. Otherwise, we're using this file in a normal way as a 133 | % package, so do nothing. \cs\DoXPackageS, if there are any, are declared in 134 | % the \ext{dtx} file, and, if you're reading the typeset documentation of this 135 | % package, would appear just above. (It's OK to call \cs\usepackage with an 136 | % empty argument or \cs\relax, by the way.) 137 | % \begin{macrocode} 138 | \makeatletter% A special comment to help create bst files. Don't change! 139 | \@ifundefined{JusTLoaDInformatioN} {% 140 | }{% ELSE (we know the compsci package is already loaded, too) 141 | \UndefineCS\JusTLoaDInformatioN 142 | \SaveDoXVarS 143 | \eExpand\csname DoXPackageS\endcsname\In {%use \csname in case it's undefined 144 | \usepackage{#1}% 145 | }% 146 | \RestoreDoXVarS 147 | \makeatother 148 | \endinput 149 | }% A special comment to help create bst files. Don't change! 150 | % \end{macrocode} 151 | % 152 | % Now we check for \LaTeX2e and declare the LaTeX package. 153 | % \begin{macrocode} 154 | \NeedsTeXFormat{LaTeX2e} 155 | \ProvidesPackage{blkcntrl}[\PPOptArg] 156 | % \end{macrocode}^^A special comment to help create bst files. Don't change! 157 | % 158 | % ^^A NOTE: We have to compensate for the above backslashes, which are not 159 | % ^^A actually in the .dtx file the author works on, by adding to the 160 | % ^^A CheckSum. 161 | %% 162 | % \AddToCheckSum{17}^^A `dtx-update-checksum' automatically handles this. 163 | % \AddToCheckSum{7}^^A The half a macrocode env. at the top is missed, however... 164 | % \AddToCheckSum{10}^^A ... and so are the 5 \defs from the .dtx file 165 | % ^^A that precede it. 166 | % \IfCitations {% 167 | % \AddToCheckSum{2}^^A When \initelyHavECitationS is defined in 168 | % } ^^A the .dtx file, we need 2 more in the CheckSum. 169 | % 170 | % 171 | % \section{Requirements} 172 | % 173 | % \begin{macrocode} 174 | \RequirePackage{moredefs,relsize} 175 | % \end{macrocode} 176 | % 177 | % \section{Options} 178 | % 179 | % \begin{macro}{\normalblocks} 180 | % \begin{macro}{\smallblocks} 181 | % \begin{macro}{\if@smallblocks@} 182 | % \begin{macro}{\@smallblocks@true} 183 | % \begin{macro}{\@smallblocks@false} 184 | % \mbox{} 185 | % \begin{macrocode} 186 | \DeclareBooleanUserOptions{smallblocks}{normalblocks} 187 | \@onlypreamble\smallblocks 188 | \@onlypreamble\normalblocks 189 | \ExecuteOptions{normalblocks} 190 | \ProcessOptions 191 | % \end{macrocode} 192 | % \end{macro} 193 | % \end{macro} 194 | % \end{macro} 195 | % \end{macro} 196 | % \end{macro} 197 | % 198 | % \section{General get-control hook hacks} 199 | % 200 | % \begin{macro}{\if@in@footnote@} 201 | % \begin{macro}{\@in@footnote@true} 202 | % \begin{macro}{\@in@footnote@false} 203 | % \begin{macro}{\PreFootnote} 204 | % \begin{macro}{\PreChunk} 205 | % \begin{macro}{\PreQuote} 206 | % \begin{macro}{\PreQuotation} 207 | % \begin{macro}{\PreVerse} 208 | % Additions to these hooks should be made with \cname{\addto@macro}. 209 | % Deletions should be accomplished by scoping. 210 | % 211 | % I think macros are much more convenient as hooks than tokens. I use the 212 | % prefixes |Pre| or |Post|. We want to add a hook to the usual definition 213 | % here, to gain some control over relative sizing in footnotes. 214 | % \begin{macrocode} 215 | \newboolean{@in@footnote@} 216 | \newcommand\PreFootnote {% 217 | \@in@footnote@true 218 | } 219 | \ReserveCS\PreChunk 220 | \newcommand\PreQuote {% 221 | \PreChunk 222 | } 223 | \newcommand\PreQuotation {% 224 | \PreChunk 225 | } 226 | \newcommand\PreVerse {% 227 | \PreChunk 228 | } 229 | % \end{macrocode} 230 | % \end{macro} 231 | % \end{macro} 232 | % \end{macro} 233 | % \end{macro} 234 | % \end{macro} 235 | % \end{macro} 236 | % \end{macro} 237 | % \end{macro} 238 | % 239 | % \begin{macro}{\@makefntext} 240 | % All we're doing is adding the \cs\PreFootnote hook. 241 | % \begin{macrocode} 242 | \defcommand\@makefntext [1] {% 243 | \setlength\parindent{\@ne em}% 244 | \noindent 245 | \hb@xt@ 1.8em{\hss\@makefnmark}% 246 | {\PreFootnote #1}% 247 | } 248 | % \end{macrocode} 249 | % \end{macro} 250 | % 251 | % \begin{environment}{verse} 252 | % \begin{environment}{quotation} 253 | % \begin{environment}{quote} 254 | % Again all we're doing to these environments is adding the hooks. 255 | % 256 | % The hook cannot be put into the second argument, which is called before the 257 | % paragraph preceding the environment has been ended (unless the environment 258 | % started a new one). 259 | % \begin{macrocode} 260 | \renewenvironment{verse} 261 | {\let\\\@centercr 262 | \relax\list{}{\setlength{\itemsep}{\z@}% 263 | \setlength{\itemindent}{-1.5em}% 264 | \setlength{\listparindent}{\itemindent}% 265 | \setlength{\rightmargin}{\leftmargin}% 266 | \addtolength{\leftmargin}{1.5em}}% 267 | \item\relax\PreVerse\relax} 268 | {\endlist} 269 | \renewenvironment{quotation} 270 | {\list{}{\setlength{\listparindent}{1.5em}% 271 | \setlength{\itemindent}{\listparindent}% 272 | \setlength{\rightmargin}{\leftmargin}% 273 | \setlength{\parsep}{\z@ \@plus\p@}}% 274 | \item\relax\PreQuotation\relax} 275 | {\endlist} 276 | \renewenvironment{quote} 277 | {\list{}{\setlength{\rightmargin}{\leftmargin}}% 278 | \item\relax\PreQuote\relax} 279 | {\endlist} 280 | % \end{macrocode} 281 | % \end{environment} 282 | % \end{environment} 283 | % \end{environment} 284 | % 285 | % \begin{macrocode} 286 | \AtBeginDocument {% 287 | \if@smallblocks@ 288 | \addto@macro\PreChunk {% 289 | \if@in@footnote@ 290 | \else 291 | \relsize{-1}% 292 | \fi 293 | }% 294 | \fi 295 | } 296 | % \end{macrocode} 297 | % 298 | % \Finale 299 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/blkcntrl.tex: -------------------------------------------------------------------------------- 1 | % blkcntrl.tex -- documentation for the blkcntrl LaTeX package. 2 | % 3 | % This program is part of the Frankenstein bundle for LaTeX2e. 4 | % 5 | % Copyright (C) 1995-2001 Matt Swift 6 | % 7 | % This program is free software; you may redistribute it and/or 8 | % modify it under the conditions of the LaTeX Project Public 9 | % License, either version 1.2 or (at your option) any later 10 | % version. The latest version of this license is in 11 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later 12 | % is part of all distributions of LaTeX version 1999/12/01 or 13 | % later. 14 | % 15 | % This program is distributed in the hope that it will be useful, 16 | % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | % LaTeX Project Public License for more details. 19 | % 20 | \documentclass{ltxdoc} 21 | \makeatletter 22 | \def\part {% 23 | \clearpage 24 | \@afterindentfalse 25 | \secdef\@part\@spart 26 | } 27 | \def\StripV #1{\E@cdr #1\@nil} 28 | \makeatother 29 | \usepackage{attrib,compsci} 30 | \newbook\manual {Chicago\nocite{chicago:14} Manual of Style}[Chicago Manual] 31 | \newbook\MLAman {The\nocite{mlaman} MLA Style Manual and Guide to Scholarly Publishing} 32 | [The MLA Style Manual] 33 | \newtheorem{lessoninternal}{Lesson} 34 | \newenvironment{lesson} {% 35 | \let\AttribInit\sffamily 36 | \let\PreTrib\textsection 37 | \let\PostTrib\ShortEmpty 38 | \lessoninternal 39 | } {% 40 | \endlessoninternal 41 | } 42 | \newcommand\manualref [1] {\textsf{\S #1}} 43 | \ProcessDTXFile{blkcntrl.sty} 44 | \newlet\MaybeABib\relax 45 | \IfCitations { 46 | \def\MaybeABib {% 47 | \newpage 48 | \bibliographystyle{achicago}% 49 | \bibliography{frankenstein}% 50 | } 51 | \SaveDoXVarS 52 | \usepackage{achicago} 53 | \RestoreDoXVarS 54 | } 55 | \CodelineIndex 56 | \EnableCrossrefs 57 | \begin{document} 58 | \date{Version: \StripV\fileversion \qquad Date: \filedate\\ 59 | \relsize{-2}Documentation revision: \docdate} 60 | \author{Matt Swift \email{swift@alum.mit.edu}} 61 | \title{The \textsf{blkcntrl} LaTeX package \\\smaller \fileinfo} 62 | \maketitle 63 | \DocInput{blkcntrl.sty} 64 | \MaybeABib 65 | \newpage 66 | \PrintIndex 67 | \end{document} 68 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/compsci.cfg: -------------------------------------------------------------------------------- 1 | % \iffalse 2 | %% 3 | % Even if you don't want any code in this file, leave the empty file, or else 4 | % loading the \package{compsci} package will consume extra time as it searches 5 | % for this file. 6 | %% 7 | % \fi 8 | % \begin{macrocode} 9 | \def\fileinfo{Compsci package configuration} 10 | \def\fileversion{v1.2} 11 | \def\filedate{2001/08/31} 12 | \def\docdate{2001/08/31} 13 | % \end{macrocode} 14 | % 15 | % \AddToCheckSum{45} 16 | % 17 | % \begin{macrocode} 18 | \ProvidesFile{compsci.cfg} 19 | % \end{macrocode} 20 | % 21 | % \begin{macro}{\ALaTeX} 22 | % \begin{macro}{\Frankenstein} 23 | % \begin{macro}{\monster} 24 | % \begin{macro}{\CTAN} 25 | % \begin{macro}{\kpse} 26 | % \begin{macro}{\gemacs} 27 | % \begin{macro}{\auctex} 28 | % \begin{macro}{\nts} 29 | % \begin{macro}{\MakeIndex} 30 | % \begin{macro}{\etex} 31 | % \begin{macro}{\LaTeXiii} 32 | % \begin{macro}{\idvi} 33 | % Various program names. 34 | % \begin{macrocode} 35 | \newprogram\Frankenstein{Frankenstein} 36 | \newlet\monster\Frankenstein 37 | % \end{macrocode} 38 | % \todo{Hmm, \ALaTeX{} kernel uses \cs\DeclareRobustCommand. What does 39 | % \LaTeX{} kernel do?} 40 | % \begin{macrocode} 41 | %\requirecommand\ALaTeX {% 42 | \defcommand\ALaTeX {% 43 | A\LaTeX% 44 | } 45 | \newabbrev\ctan{CTAN} 46 | \newprogram\kpse{kpathsea} 47 | \newprogram\gemacs{\textrm{GNU} Emacs} 48 | \newprogram\auctex{AUC-\TeX} 49 | \newprogram\nts{$\cal NTS$} 50 | \newprogram\MakeIndex{{\normalshape\em Makeindex\/}} 51 | \newprogram\etex{e-\TeX} 52 | \newprogram\LaTeXiii{\LaTeX~3} 53 | \newprogram\idvi{IDVI} 54 | % \end{macrocode} 55 | % \end{macro} 56 | % \end{macro} 57 | % \end{macro} 58 | % \end{macro} 59 | % \end{macro} 60 | % \end{macro} 61 | % \end{macro} 62 | % \end{macro} 63 | % \end{macro} 64 | % \end{macro} 65 | % \end{macro} 66 | % \end{macro} 67 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/compsci.dvi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/frankenstein/compsci.dvi -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/compsci.ins: -------------------------------------------------------------------------------- 1 | % compsci.ins -- docstrip driver for the compsci LaTeX package 2 | % 3 | % Copyright (C) 1995-2001 Matthew Swift 4 | % Please see the copyright notice in \preamble below. 5 | 6 | % This file, when run through TeX or LaTeX, will generate fast loadable files 7 | % from the .sty, .cls, or .bst files mentioned below. 8 | 9 | \input docstrip 10 | \keepsilent 11 | 12 | \preamble 13 | 14 | This program is part of the Frankenstein bundle for LaTeX. 15 | 16 | Copyright (C) 1995-2001 Matthew Swift 17 | 18 | This file may have one of TWO names, either 19 | compsci.sty or compsci.stq. This 20 | LaTeX package will work ONLY if it is called compsci.sty 21 | and placed in a proper directory. This file should have been 22 | distributed to you with a DIFFERENT file (also) called 23 | compsci.sty which functions identically to this one 24 | but contains documentation in comments. This file works faster, 25 | but the other should be kept because it contains the documentation 26 | for this LaTeX package. Files called README and INSTALL should have 27 | also been distributed to you with this file; see them for more 28 | information. 29 | 30 | This program is free software; you may redistribute it and/or 31 | modify it under the conditions of the LaTeX Project Public 32 | License, either version 1.2 or (at your option) any later version. 33 | The latest version of this license is in 34 | http://www.latex-project.org/lppl.txt, and version 1.2 or later is 35 | part of all distributions of LaTeX version 1999/12/01 or later. 36 | 37 | This program is distributed in the hope that it will be useful, 38 | but WITHOUT ANY WARRANTY; without even the implied warranty of 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 | LaTeX Project Public License for more details. 41 | 42 | \endpreamble 43 | 44 | \askforoverwritefalse 45 | 46 | % This will get changed to either nothing or \nopostamble. 47 | 48 | 49 | \generate{\file{compsci.stq}{\from{compsci.sty}{}}} 50 | 51 | \Msg{} 52 | \Msg{***********************************************************************} 53 | \Msg{*} 54 | \Msg{* The file compsci.stq is a faster replacement for the file} 55 | \Msg{* compsci.sty.} 56 | \Msg{*} 57 | \Msg{* compsci.stq is stripped of comments (documentation) and must be} 58 | \Msg{* renamed compsci.sty and placed where LaTeX can find it} 59 | \Msg{* before it may be used.} 60 | \Msg{*} 61 | \Msg{***********************************************************************} 62 | \Msg{} 63 | 64 | \endbatchfile 65 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/compsci.tex: -------------------------------------------------------------------------------- 1 | % compsci.tex -- documentation for the compsci LaTeX package. 2 | % 3 | % This program is part of the Frankenstein bundle for LaTeX2e. 4 | % 5 | % Copyright (C) 1995-2001 Matt Swift 6 | % 7 | % This program is free software; you may redistribute it and/or 8 | % modify it under the conditions of the LaTeX Project Public 9 | % License, either version 1.2 or (at your option) any later 10 | % version. The latest version of this license is in 11 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later 12 | % is part of all distributions of LaTeX version 1999/12/01 or 13 | % later. 14 | % 15 | % This program is distributed in the hope that it will be useful, 16 | % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | % LaTeX Project Public License for more details. 19 | % 20 | \documentclass{ltxdoc} 21 | \makeatletter 22 | \def\part {% 23 | \clearpage 24 | \@afterindentfalse 25 | \secdef\@part\@spart 26 | } 27 | \def\StripV #1{\E@cdr #1\@nil} 28 | \makeatother 29 | \usepackage{attrib,compsci} 30 | \newbook\manual {Chicago\nocite{chicago:14} Manual of Style}[Chicago Manual] 31 | \newbook\MLAman {The\nocite{mlaman} MLA Style Manual and Guide to Scholarly Publishing} 32 | [The MLA Style Manual] 33 | \newtheorem{lessoninternal}{Lesson} 34 | \newenvironment{lesson} {% 35 | \let\AttribInit\sffamily 36 | \let\PreTrib\textsection 37 | \let\PostTrib\ShortEmpty 38 | \lessoninternal 39 | } {% 40 | \endlessoninternal 41 | } 42 | \newcommand\manualref [1] {\textsf{\S #1}} 43 | \ProcessDTXFile{compsci.sty} 44 | \newlet\MaybeABib\relax 45 | \IfCitations { 46 | \def\MaybeABib {% 47 | \newpage 48 | \bibliographystyle{achicago}% 49 | \bibliography{frankenstein}% 50 | } 51 | \SaveDoXVarS 52 | \usepackage{achicago} 53 | \RestoreDoXVarS 54 | } 55 | \CodelineIndex 56 | \EnableCrossrefs 57 | \begin{document} 58 | \date{Version: \StripV\fileversion \qquad Date: \filedate\\ 59 | \relsize{-2}Documentation revision: \docdate} 60 | \author{Matt Swift \email{swift@alum.mit.edu}} 61 | \title{The \textsf{compsci} LaTeX package \\\smaller \fileinfo} 62 | \maketitle 63 | \DocInput{compsci.sty} 64 | \MaybeABib 65 | \newpage 66 | \PrintIndex 67 | \end{document} 68 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/dialogue.dvi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/frankenstein/dialogue.dvi -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/dialogue.ins: -------------------------------------------------------------------------------- 1 | % dialogue.ins -- docstrip driver for the dialogue LaTeX package 2 | % 3 | % Copyright (C) 1995-2001 Matthew Swift 4 | % Please see the copyright notice in \preamble below. 5 | 6 | % This file, when run through TeX or LaTeX, will generate fast loadable files 7 | % from the .sty, .cls, or .bst files mentioned below. 8 | 9 | \input docstrip 10 | \keepsilent 11 | 12 | \preamble 13 | 14 | This program is part of the Frankenstein bundle for LaTeX. 15 | 16 | Copyright (C) 1995-2001 Matthew Swift 17 | 18 | This file may have one of TWO names, either 19 | dialogue.sty or dialogue.stq. This 20 | LaTeX package will work ONLY if it is called dialogue.sty 21 | and placed in a proper directory. This file should have been 22 | distributed to you with a DIFFERENT file (also) called 23 | dialogue.sty which functions identically to this one 24 | but contains documentation in comments. This file works faster, 25 | but the other should be kept because it contains the documentation 26 | for this LaTeX package. Files called README and INSTALL should have 27 | also been distributed to you with this file; see them for more 28 | information. 29 | 30 | This program is free software; you may redistribute it and/or 31 | modify it under the conditions of the LaTeX Project Public 32 | License, either version 1.2 or (at your option) any later version. 33 | The latest version of this license is in 34 | http://www.latex-project.org/lppl.txt, and version 1.2 or later is 35 | part of all distributions of LaTeX version 1999/12/01 or later. 36 | 37 | This program is distributed in the hope that it will be useful, 38 | but WITHOUT ANY WARRANTY; without even the implied warranty of 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 | LaTeX Project Public License for more details. 41 | 42 | \endpreamble 43 | 44 | \askforoverwritefalse 45 | 46 | % This will get changed to either nothing or \nopostamble. 47 | 48 | 49 | \generate{\file{dialogue.stq}{\from{dialogue.sty}{}}} 50 | 51 | \Msg{} 52 | \Msg{***********************************************************************} 53 | \Msg{*} 54 | \Msg{* The file dialogue.stq is a faster replacement for the file} 55 | \Msg{* dialogue.sty.} 56 | \Msg{*} 57 | \Msg{* dialogue.stq is stripped of comments (documentation) and must be} 58 | \Msg{* renamed dialogue.sty and placed where LaTeX can find it} 59 | \Msg{* before it may be used.} 60 | \Msg{*} 61 | \Msg{***********************************************************************} 62 | \Msg{} 63 | 64 | \endbatchfile 65 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/dialogue.sty: -------------------------------------------------------------------------------- 1 | %^^A* legal notices 2 | % \iffalse 3 | % 4 | % This program is part of the Frankenstein bundle for LaTeX. 5 | % 6 | % Copyright 1995-2001 Matt Swift . 7 | % 8 | % This file contains both the code and documentation for the 9 | % dialogue LaTeX package. It will work ONLY if it is placed in a 10 | % proper directory. Files called README, INSTALL, dialogue.tex 11 | % and dialogue.ins should have also been distributed to you 12 | % with this file. See them for more information on how to typeset 13 | % the documentation with LaTeX and how to generate a version of this 14 | % file that will work faster than this one. 15 | % 16 | % This program is free software; you may redistribute it and/or 17 | % modify it under the conditions of the LaTeX Project Public 18 | % License, either version 1.2 or (at your option) any later version. 19 | % The latest version of this license is in 20 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later is 21 | % part of all distributions of LaTeX version 1999/12/01 or later. 22 | % 23 | % This program is distributed in the hope that it will be useful, 24 | % but without any warranty; without even the implied warranty of 25 | % merchantability or fitness for a particular purpose. See the 26 | % LaTeX Project Public License for more details. 27 | % 28 | % \fi 29 | % 30 | %^^A* checks 31 | % 32 | %^^A NOTE: The character table, with two %'s, will get written to all files. 33 | %% \CharacterTable 34 | %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z 35 | %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z 36 | %% Digits \0\1\2\3\4\5\6\7\8\9 37 | %% Exclamation \! Double quote \" Hash (number) \# 38 | %% Dollar \$ Percent \% Ampersand \& 39 | %% Acute accent \' Left paren \( Right paren \) 40 | %% Asterisk \* Plus \+ Comma \, 41 | %% Minus \- Point \. Solidus \/ 42 | %% Colon \: Semicolon \; Less than \< 43 | %% Equals \= Greater than \> Question mark \? 44 | %% Commercial at \@ Left bracket \[ Backslash \\ 45 | %% Right bracket \] Circumflex \^ Underscore \_ 46 | %% Grave accent \` Left brace \{ Vertical bar \| 47 | %% Right brace \} Tilde \~} 48 | % 49 | % \CheckSum{43} 50 | % 51 | %^^A** abstract 52 | % \begin{abstract} 53 | % The \env{dialogue} environment is for citing short passages of scripted 54 | % dialogue. It is not for typsetting a long script. 55 | % \end{abstract} 56 | % \tableofcontents 57 | % 58 | % \part{Discussion} 59 | % 60 | % \section{Dialogue} 61 | % 62 | % An example will have to suffice for most documentation at the moment. 63 | % \cs\attrib is defined in the \package{attrib} package, also in the 64 | % \Frankenstein bundle. 65 | % \begin{bothexample} 66 | % \begin{dialogue} 67 | % \speak{Vladimir} Whare are all these corpses from? 68 | % \speak{Estragon} These skeletons. 69 | % \par\lips\par 70 | % \speak{Vladimir} A charnel-house! A charnel-house! 71 | % 72 | % \attrib{\play{Waiting for Godot}, 41 \normalcitations\cite{beckett:godot}} 73 | % 74 | % \medskip 75 | % \direct{ 76 | % Estragon has exited offstage to right and left and come ``panting'' back 77 | % and fallen into Vladimir's arms. \emph{---Ed.} 78 | % } 79 | % \speak{Estragon} I'm in hell! 80 | % \speak{Vladimir} Where were you? 81 | % \speak{Estragon} They're coming there too! 82 | % \speak{Vladimir} We're surrounded! \direct{\refer{Estragon} makes a rush 83 | % towards back.} Imbecile! There's no way out there. 84 | % \direct{\refer{He} takes \refer{Estragon} by the arms 85 | % and drags him towards front. Gesture towards front.} 86 | % There! Not a soul in sight! Off you go! Quick! 87 | % \direct{\refer{He} pushes \refer{Estragon} towards 88 | % auditorium. \refer{Estragon} recoils in horror.} You 89 | % won't? \direct{\refer{He} contemplates auditorium.} 90 | % Well I can understand that. Wait till I see. 91 | % \direct{\refer{He} reflects.} Your only hope left is to 92 | % disappear. 93 | % 94 | % \attrib{47} 95 | % \end{dialogue} 96 | % \end{bothexample} 97 | % 98 | % \DescribeMacro\direct 99 | % \cs\direct\marg{directions} Inline stage directions. Can be used anywhere. 100 | % 101 | % \DescribeMacro\refer 102 | % \cs\refer\marg{speaker} Refer to a character in a play. Can be used anywhere. 103 | % 104 | % \DescribeEnv{dialogue} 105 | % Inside the \env{dialogue} environment, commands \cs\direct, and \cs\refer 106 | % behave differently, but have the same function. 107 | % 108 | % \DescribeMacro\speak 109 | % \cs\speak\marg{speaker} Introduce the speech of speaker \meta{speaker} 110 | % within a \env{dialogue} environment. 111 | % 112 | % \section{Programmer's interface} 113 | % 114 | % \DescribeMacro\ReferStyle 115 | % \DescribeMacro\DirectStyle 116 | % \DescribeMacro\DialogueLabel 117 | % \DescribeMacro\PreDialogue 118 | % 119 | % These macros are available for adjusting the behavior of the user 120 | % commands. I'm afraid you'll have to read the (easy) code until I write 121 | % better documentation. 122 | % 123 | % \StopEventually{} 124 | % 125 | % \part{Implementation} 126 | % 127 | % \section{Version control} 128 | % 129 | % \begin{macro}{\fileinfo} 130 | % \begin{macro}{\DoXUsepackagE} 131 | % \begin{macro}{\HaveECitationS} 132 | % \begin{macro}{\fileversion} 133 | % \begin{macro}{\filedate} 134 | % \begin{macro}{\docdate} 135 | % \begin{macro}{\PPOptArg} 136 | % These definitions must be the first ones in the file. 137 | % \begin{macrocode} 138 | \def\fileinfo{dialogue environment (Frankenstein's mouth)} 139 | \def\DoXPackageS {dialogue,attrib} 140 | \def\initelyHavECitationS {} 141 | \def\fileversion{v1.1} 142 | \def\filedate{1999/03/01} 143 | \def\docdate{1996/04/11} 144 | \edef\PPOptArg {% 145 | \filedate\space \fileversion\space \fileinfo 146 | } 147 | % \end{macrocode} 148 | % \end{macro} 149 | % \end{macro} 150 | % \end{macro} 151 | % \end{macro} 152 | % \end{macro} 153 | % \end{macro} 154 | % \end{macro} 155 | % 156 | % If we're loading this file from a \cs\ProcessDTXFile command (see the 157 | % \package{compsci} package), then \cs\JusTLoaDInformatioN will be defined; 158 | % othewise we assume it is not (that's why the FunkY NamE). 159 | % 160 | % If we're loading from \cs\ProcessDTXFile, we want to load the packages listed 161 | % in \cs\DoXPackageS (needed to typeset the documentation for this file) and 162 | % then bail out. Otherwise, we're using this file in a normal way as a 163 | % package, so do nothing. \cs\DoXPackageS, if there are any, are declared in 164 | % the \ext{dtx} file, and, if you're reading the typeset documentation of this 165 | % package, would appear just above. (It's OK to call \cs\usepackage with an 166 | % empty argument or \cs\relax, by the way.) 167 | % \begin{macrocode} 168 | \makeatletter% A special comment to help create bst files. Don't change! 169 | \@ifundefined{JusTLoaDInformatioN} {% 170 | }{% ELSE (we know the compsci package is already loaded, too) 171 | \UndefineCS\JusTLoaDInformatioN 172 | \SaveDoXVarS 173 | \eExpand\csname DoXPackageS\endcsname\In {%use \csname in case it's undefined 174 | \usepackage{#1}% 175 | }% 176 | \RestoreDoXVarS 177 | \makeatother 178 | \endinput 179 | }% A special comment to help create bst files. Don't change! 180 | % \end{macrocode} 181 | % 182 | % Now we check for \LaTeX2e and declare the LaTeX package. 183 | % \begin{macrocode} 184 | \NeedsTeXFormat{LaTeX2e} 185 | \ProvidesPackage{dialogue}[\PPOptArg] 186 | % \end{macrocode}^^A special comment to help create bst files. Don't change! 187 | % 188 | % ^^A NOTE: We have to compensate for the above backslashes, which are not 189 | % ^^A actually in the .dtx file the author works on, by adding to the 190 | % ^^A CheckSum. 191 | %% 192 | % \AddToCheckSum{17}^^A `dtx-update-checksum' automatically handles this. 193 | % \AddToCheckSum{7}^^A The half a macrocode env. at the top is missed, however... 194 | % \AddToCheckSum{10}^^A ... and so are the 5 \defs from the .dtx file 195 | % ^^A that precede it. 196 | % \IfCitations {% 197 | % \AddToCheckSum{2}^^A When \initelyHavECitationS is defined in 198 | % } ^^A the .dtx file, we need 2 more in the CheckSum. 199 | % 200 | % 201 | % \section{Requirements} 202 | % 203 | % \begin{macrocode} 204 | \RequirePackage{blkcntrl,moredefs,relsize} 205 | % \end{macrocode} 206 | % 207 | % \section{The macros} 208 | % 209 | % The standard classes set \cs\partopsep, \cs\parsep, \cs\topsep, and 210 | % \cs\itemsep to positive values. \cs\leftmargin goes to |2.5em| in 211 | % onecolumn. \cs\labelsep is |.5em|; \cs\labelwidth = \cs\leftmargin - 212 | % \cs\labelsep. 213 | % 214 | % \begin{macro}{\refer} 215 | % \begin{macro}{\ReferStyle} 216 | % \begin{macro}{\direct} 217 | % \begin{macro}{\DirectStyle} 218 | % \mbox{} 219 | % \begin{macrocode} 220 | \NewTextFontCommand\refer\ReferStyle 221 | 222 | \newcommand\ReferStyle {% 223 | \scshape 224 | } 225 | \newcommand\direct [1] {% 226 | [{\DirectStyle #1}]% 227 | } 228 | \newcommand\DirectStyle {% 229 | \relsize{-1}% 230 | \slshape 231 | } 232 | % \end{macrocode} 233 | % \end{macro} 234 | % \end{macro} 235 | % \end{macro} 236 | % \end{macro} 237 | % 238 | % \begin{macro}{\DialogueLabel} 239 | % \begin{macro}{\PreDialogue} 240 | % \begin{environment}{dialogue} 241 | % The first line of a new speaker has the speaker's name flush with the left 242 | % margin of the surrounding text, then the default \cs\labelsep, then the 243 | % first line of dialogue. Subsequent lines all begin |2.5em| in, and end 244 | % |2.5em| before the surrounding text. Interparagraph space is the same as 245 | % the surrounding text's. Extra positive stretchability of |.5ex| is added 246 | % between speakers. \todo{Ensure that the units will be relative to the current 247 | % size \emph{in} the environment, not the current size when the setting is 248 | % done.} 249 | % \begin{macrocode} 250 | \newcommand*\DialogueLabel [1] {% 251 | \scshape\lowercase{#1}:\hfil 252 | } 253 | \newcommand\PreDialogue {% 254 | \PreChunk 255 | } 256 | \newenvironment{dialogue} {% 257 | \begin{list}{} {% 258 | \setlength\itemsep{\z@ \@plus .5ex}% 259 | \setlength\parsep{\parskip}% 260 | \setlength\rightmargin{\leftmargin}% 261 | \defcommand\speak [1] {\item[{##1}]}% 262 | \let\makelabel\DialogueLabel 263 | }% 264 | \PreDialogue\relax 265 | }{% 266 | \end{list}% 267 | } 268 | % \end{macrocode} 269 | % \end{environment} 270 | % \end{macro} 271 | % \end{macro} 272 | % 273 | % \Finale 274 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/dialogue.tex: -------------------------------------------------------------------------------- 1 | % dialogue.tex -- documentation for the dialogue LaTeX package. 2 | % 3 | % This program is part of the Frankenstein bundle for LaTeX2e. 4 | % 5 | % Copyright (C) 1995-2001 Matt Swift 6 | % 7 | % This program is free software; you may redistribute it and/or 8 | % modify it under the conditions of the LaTeX Project Public 9 | % License, either version 1.2 or (at your option) any later 10 | % version. The latest version of this license is in 11 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later 12 | % is part of all distributions of LaTeX version 1999/12/01 or 13 | % later. 14 | % 15 | % This program is distributed in the hope that it will be useful, 16 | % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | % LaTeX Project Public License for more details. 19 | % 20 | \documentclass{ltxdoc} 21 | \makeatletter 22 | \def\part {% 23 | \clearpage 24 | \@afterindentfalse 25 | \secdef\@part\@spart 26 | } 27 | \def\StripV #1{\E@cdr #1\@nil} 28 | \makeatother 29 | \usepackage{attrib,compsci} 30 | \newbook\manual {Chicago\nocite{chicago:14} Manual of Style}[Chicago Manual] 31 | \newbook\MLAman {The\nocite{mlaman} MLA Style Manual and Guide to Scholarly Publishing} 32 | [The MLA Style Manual] 33 | \newtheorem{lessoninternal}{Lesson} 34 | \newenvironment{lesson} {% 35 | \let\AttribInit\sffamily 36 | \let\PreTrib\textsection 37 | \let\PostTrib\ShortEmpty 38 | \lessoninternal 39 | } {% 40 | \endlessoninternal 41 | } 42 | \newcommand\manualref [1] {\textsf{\S #1}} 43 | \ProcessDTXFile{dialogue.sty} 44 | \newlet\MaybeABib\relax 45 | \IfCitations { 46 | \def\MaybeABib {% 47 | \newpage 48 | \bibliographystyle{achicago}% 49 | \bibliography{frankenstein}% 50 | } 51 | \SaveDoXVarS 52 | \usepackage{achicago} 53 | \RestoreDoXVarS 54 | } 55 | \CodelineIndex 56 | \EnableCrossrefs 57 | \begin{document} 58 | \date{Version: \StripV\fileversion \qquad Date: \filedate\\ 59 | \relsize{-2}Documentation revision: \docdate} 60 | \author{Matt Swift \email{swift@alum.mit.edu}} 61 | \title{The \textsf{dialogue} LaTeX package \\\smaller \fileinfo} 62 | \maketitle 63 | \DocInput{dialogue.sty} 64 | \MaybeABib 65 | \newpage 66 | \PrintIndex 67 | \end{document} 68 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/lips.dvi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/frankenstein/lips.dvi -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/lips.ins: -------------------------------------------------------------------------------- 1 | % lips.ins -- docstrip driver for the lips LaTeX package 2 | % 3 | % Copyright (C) 1995-2001 Matthew Swift 4 | % Please see the copyright notice in \preamble below. 5 | 6 | % This file, when run through TeX or LaTeX, will generate fast loadable files 7 | % from the .sty, .cls, or .bst files mentioned below. 8 | 9 | \input docstrip 10 | \keepsilent 11 | 12 | \preamble 13 | 14 | This program is part of the Frankenstein bundle for LaTeX. 15 | 16 | Copyright (C) 1995-2001 Matthew Swift 17 | 18 | This file may have one of TWO names, either 19 | lips.sty or lips.stq. This 20 | LaTeX package will work ONLY if it is called lips.sty 21 | and placed in a proper directory. This file should have been 22 | distributed to you with a DIFFERENT file (also) called 23 | lips.sty which functions identically to this one 24 | but contains documentation in comments. This file works faster, 25 | but the other should be kept because it contains the documentation 26 | for this LaTeX package. Files called README and INSTALL should have 27 | also been distributed to you with this file; see them for more 28 | information. 29 | 30 | This program is free software; you may redistribute it and/or 31 | modify it under the conditions of the LaTeX Project Public 32 | License, either version 1.2 or (at your option) any later version. 33 | The latest version of this license is in 34 | http://www.latex-project.org/lppl.txt, and version 1.2 or later is 35 | part of all distributions of LaTeX version 1999/12/01 or later. 36 | 37 | This program is distributed in the hope that it will be useful, 38 | but WITHOUT ANY WARRANTY; without even the implied warranty of 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 | LaTeX Project Public License for more details. 41 | 42 | \endpreamble 43 | 44 | \askforoverwritefalse 45 | 46 | % This will get changed to either nothing or \nopostamble. 47 | 48 | 49 | \generate{\file{lips.stq}{\from{lips.sty}{}}} 50 | 51 | \Msg{} 52 | \Msg{***********************************************************************} 53 | \Msg{*} 54 | \Msg{* The file lips.stq is a faster replacement for the file} 55 | \Msg{* lips.sty.} 56 | \Msg{*} 57 | \Msg{* lips.stq is stripped of comments (documentation) and must be} 58 | \Msg{* renamed lips.sty and placed where LaTeX can find it} 59 | \Msg{* before it may be used.} 60 | \Msg{*} 61 | \Msg{***********************************************************************} 62 | \Msg{} 63 | 64 | \endbatchfile 65 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/lips.tex: -------------------------------------------------------------------------------- 1 | % lips.tex -- documentation for the lips LaTeX package. 2 | % 3 | % This program is part of the Frankenstein bundle for LaTeX2e. 4 | % 5 | % Copyright (C) 1995-2001 Matt Swift 6 | % 7 | % This program is free software; you may redistribute it and/or 8 | % modify it under the conditions of the LaTeX Project Public 9 | % License, either version 1.2 or (at your option) any later 10 | % version. The latest version of this license is in 11 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later 12 | % is part of all distributions of LaTeX version 1999/12/01 or 13 | % later. 14 | % 15 | % This program is distributed in the hope that it will be useful, 16 | % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | % LaTeX Project Public License for more details. 19 | % 20 | \documentclass{ltxdoc} 21 | \makeatletter 22 | \def\part {% 23 | \clearpage 24 | \@afterindentfalse 25 | \secdef\@part\@spart 26 | } 27 | \def\StripV #1{\E@cdr #1\@nil} 28 | \makeatother 29 | \usepackage{attrib,compsci} 30 | \newbook\manual {Chicago\nocite{chicago:14} Manual of Style}[Chicago Manual] 31 | \newbook\MLAman {The\nocite{mlaman} MLA Style Manual and Guide to Scholarly Publishing} 32 | [The MLA Style Manual] 33 | \newtheorem{lessoninternal}{Lesson} 34 | \newenvironment{lesson} {% 35 | \let\AttribInit\sffamily 36 | \let\PreTrib\textsection 37 | \let\PostTrib\ShortEmpty 38 | \lessoninternal 39 | } {% 40 | \endlessoninternal 41 | } 42 | \newcommand\manualref [1] {\textsf{\S #1}} 43 | \ProcessDTXFile{lips.sty} 44 | \newlet\MaybeABib\relax 45 | \IfCitations { 46 | \def\MaybeABib {% 47 | \newpage 48 | \bibliographystyle{achicago}% 49 | \bibliography{frankenstein}% 50 | } 51 | \SaveDoXVarS 52 | \usepackage{achicago} 53 | \RestoreDoXVarS 54 | } 55 | \CodelineIndex 56 | \EnableCrossrefs 57 | \begin{document} 58 | \date{Version: \StripV\fileversion \qquad Date: \filedate\\ 59 | \relsize{-2}Documentation revision: \docdate} 60 | \author{Matt Swift \email{swift@alum.mit.edu}} 61 | \title{The \textsf{lips} LaTeX package \\\smaller \fileinfo} 62 | \maketitle 63 | \DocInput{lips.sty} 64 | \MaybeABib 65 | \newpage 66 | \PrintIndex 67 | \end{document} 68 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/moredefs.dvi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/frankenstein/moredefs.dvi -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/moredefs.ins: -------------------------------------------------------------------------------- 1 | % moredefs.ins -- docstrip driver for the moredefs LaTeX package 2 | % 3 | % Copyright (C) 1995-2001 Matthew Swift 4 | % Please see the copyright notice in \preamble below. 5 | 6 | % This file, when run through TeX or LaTeX, will generate fast loadable files 7 | % from the .sty, .cls, or .bst files mentioned below. 8 | 9 | \input docstrip 10 | \keepsilent 11 | 12 | \preamble 13 | 14 | This program is part of the Frankenstein bundle for LaTeX. 15 | 16 | Copyright (C) 1995-2001 Matthew Swift 17 | 18 | This file may have one of TWO names, either 19 | moredefs.sty or moredefs.stq. This 20 | LaTeX package will work ONLY if it is called moredefs.sty 21 | and placed in a proper directory. This file should have been 22 | distributed to you with a DIFFERENT file (also) called 23 | moredefs.sty which functions identically to this one 24 | but contains documentation in comments. This file works faster, 25 | but the other should be kept because it contains the documentation 26 | for this LaTeX package. Files called README and INSTALL should have 27 | also been distributed to you with this file; see them for more 28 | information. 29 | 30 | This program is free software; you may redistribute it and/or 31 | modify it under the conditions of the LaTeX Project Public 32 | License, either version 1.2 or (at your option) any later version. 33 | The latest version of this license is in 34 | http://www.latex-project.org/lppl.txt, and version 1.2 or later is 35 | part of all distributions of LaTeX version 1999/12/01 or later. 36 | 37 | This program is distributed in the hope that it will be useful, 38 | but WITHOUT ANY WARRANTY; without even the implied warranty of 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 | LaTeX Project Public License for more details. 41 | 42 | \endpreamble 43 | 44 | \askforoverwritefalse 45 | 46 | % This will get changed to either nothing or \nopostamble. 47 | 48 | 49 | \generate{\file{moredefs.stq}{\from{moredefs.sty}{}}} 50 | 51 | \Msg{} 52 | \Msg{***********************************************************************} 53 | \Msg{*} 54 | \Msg{* The file moredefs.stq is a faster replacement for the file} 55 | \Msg{* moredefs.sty.} 56 | \Msg{*} 57 | \Msg{* moredefs.stq is stripped of comments (documentation) and must be} 58 | \Msg{* renamed moredefs.sty and placed where LaTeX can find it} 59 | \Msg{* before it may be used.} 60 | \Msg{*} 61 | \Msg{***********************************************************************} 62 | \Msg{} 63 | 64 | \endbatchfile 65 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/moredefs.tex: -------------------------------------------------------------------------------- 1 | % moredefs.tex -- documentation for the moredefs LaTeX package. 2 | % 3 | % This program is part of the Frankenstein bundle for LaTeX2e. 4 | % 5 | % Copyright (C) 1995-2001 Matt Swift 6 | % 7 | % This program is free software; you may redistribute it and/or 8 | % modify it under the conditions of the LaTeX Project Public 9 | % License, either version 1.2 or (at your option) any later 10 | % version. The latest version of this license is in 11 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later 12 | % is part of all distributions of LaTeX version 1999/12/01 or 13 | % later. 14 | % 15 | % This program is distributed in the hope that it will be useful, 16 | % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | % LaTeX Project Public License for more details. 19 | % 20 | \documentclass{ltxdoc} 21 | \makeatletter 22 | \def\part {% 23 | \clearpage 24 | \@afterindentfalse 25 | \secdef\@part\@spart 26 | } 27 | \def\StripV #1{\E@cdr #1\@nil} 28 | \makeatother 29 | \usepackage{attrib,compsci} 30 | \newbook\manual {Chicago\nocite{chicago:14} Manual of Style}[Chicago Manual] 31 | \newbook\MLAman {The\nocite{mlaman} MLA Style Manual and Guide to Scholarly Publishing} 32 | [The MLA Style Manual] 33 | \newtheorem{lessoninternal}{Lesson} 34 | \newenvironment{lesson} {% 35 | \let\AttribInit\sffamily 36 | \let\PreTrib\textsection 37 | \let\PostTrib\ShortEmpty 38 | \lessoninternal 39 | } {% 40 | \endlessoninternal 41 | } 42 | \newcommand\manualref [1] {\textsf{\S #1}} 43 | \ProcessDTXFile{moredefs.sty} 44 | \newlet\MaybeABib\relax 45 | \IfCitations { 46 | \def\MaybeABib {% 47 | \newpage 48 | \bibliographystyle{achicago}% 49 | \bibliography{frankenstein}% 50 | } 51 | \SaveDoXVarS 52 | \usepackage{achicago} 53 | \RestoreDoXVarS 54 | } 55 | \CodelineIndex 56 | \EnableCrossrefs 57 | \begin{document} 58 | \date{Version: \StripV\fileversion \qquad Date: \filedate\\ 59 | \relsize{-2}Documentation revision: \docdate} 60 | \author{Matt Swift \email{swift@alum.mit.edu}} 61 | \title{The \textsf{moredefs} LaTeX package \\\smaller \fileinfo} 62 | \maketitle 63 | \DocInput{moredefs.sty} 64 | \MaybeABib 65 | \newpage 66 | \PrintIndex 67 | \end{document} 68 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/newclude.dvi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/frankenstein/newclude.dvi -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/newclude.ins: -------------------------------------------------------------------------------- 1 | % newclude.ins -- docstrip driver for the newclude LaTeX package 2 | % 3 | % Copyright (C) 1995-2001 Matthew Swift 4 | % Please see the copyright notice in \preamble below. 5 | 6 | % This file, when run through TeX or LaTeX, will generate fast loadable files 7 | % from the .sty, .cls, or .bst files mentioned below. 8 | 9 | \input docstrip 10 | \keepsilent 11 | 12 | \preamble 13 | 14 | This program is part of the Frankenstein bundle for LaTeX. 15 | 16 | Copyright (C) 1995-2001 Matthew Swift 17 | 18 | This file may have one of TWO names, either 19 | newclude.sty or newclude.stq. This 20 | LaTeX package will work ONLY if it is called newclude.sty 21 | and placed in a proper directory. This file should have been 22 | distributed to you with a DIFFERENT file (also) called 23 | newclude.sty which functions identically to this one 24 | but contains documentation in comments. This file works faster, 25 | but the other should be kept because it contains the documentation 26 | for this LaTeX package. Files called README and INSTALL should have 27 | also been distributed to you with this file; see them for more 28 | information. 29 | 30 | This program is free software; you may redistribute it and/or 31 | modify it under the conditions of the LaTeX Project Public 32 | License, either version 1.2 or (at your option) any later version. 33 | The latest version of this license is in 34 | http://www.latex-project.org/lppl.txt, and version 1.2 or later is 35 | part of all distributions of LaTeX version 1999/12/01 or later. 36 | 37 | This program is distributed in the hope that it will be useful, 38 | but WITHOUT ANY WARRANTY; without even the implied warranty of 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 | LaTeX Project Public License for more details. 41 | 42 | \endpreamble 43 | 44 | \askforoverwritefalse 45 | 46 | % This will get changed to either nothing or \nopostamble. 47 | 48 | 49 | \generate{\file{newclude.stq}{\from{newclude.sty}{}}} 50 | 51 | \Msg{} 52 | \Msg{***********************************************************************} 53 | \Msg{*} 54 | \Msg{* The file newclude.stq is a faster replacement for the file} 55 | \Msg{* newclude.sty.} 56 | \Msg{*} 57 | \Msg{* newclude.stq is stripped of comments (documentation) and must be} 58 | \Msg{* renamed newclude.sty and placed where LaTeX can find it} 59 | \Msg{* before it may be used.} 60 | \Msg{*} 61 | \Msg{***********************************************************************} 62 | \Msg{} 63 | 64 | \endbatchfile 65 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/newclude.tex: -------------------------------------------------------------------------------- 1 | % newclude.tex -- documentation for the newclude LaTeX package. 2 | % 3 | % This program is part of the Frankenstein bundle for LaTeX2e. 4 | % 5 | % Copyright (C) 1995-2001 Matt Swift 6 | % 7 | % This program is free software; you may redistribute it and/or 8 | % modify it under the conditions of the LaTeX Project Public 9 | % License, either version 1.2 or (at your option) any later 10 | % version. The latest version of this license is in 11 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later 12 | % is part of all distributions of LaTeX version 1999/12/01 or 13 | % later. 14 | % 15 | % This program is distributed in the hope that it will be useful, 16 | % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | % LaTeX Project Public License for more details. 19 | % 20 | \documentclass{ltxdoc} 21 | \makeatletter 22 | \def\part {% 23 | \clearpage 24 | \@afterindentfalse 25 | \secdef\@part\@spart 26 | } 27 | \def\StripV #1{\E@cdr #1\@nil} 28 | \makeatother 29 | \usepackage{attrib,compsci} 30 | \newbook\manual {Chicago\nocite{chicago:14} Manual of Style}[Chicago Manual] 31 | \newbook\MLAman {The\nocite{mlaman} MLA Style Manual and Guide to Scholarly Publishing} 32 | [The MLA Style Manual] 33 | \newtheorem{lessoninternal}{Lesson} 34 | \newenvironment{lesson} {% 35 | \let\AttribInit\sffamily 36 | \let\PreTrib\textsection 37 | \let\PostTrib\ShortEmpty 38 | \lessoninternal 39 | } {% 40 | \endlessoninternal 41 | } 42 | \newcommand\manualref [1] {\textsf{\S #1}} 43 | \ProcessDTXFile{newclude.sty} 44 | \newlet\MaybeABib\relax 45 | \IfCitations { 46 | \def\MaybeABib {% 47 | \newpage 48 | \bibliographystyle{achicago}% 49 | \bibliography{frankenstein}% 50 | } 51 | \SaveDoXVarS 52 | \usepackage{achicago} 53 | \RestoreDoXVarS 54 | } 55 | \CodelineIndex 56 | \EnableCrossrefs 57 | \begin{document} 58 | \date{Version: \StripV\fileversion \qquad Date: \filedate\\ 59 | \relsize{-2}Documentation revision: \docdate} 60 | \author{Matt Swift \email{swift@alum.mit.edu}} 61 | \title{The \textsf{newclude} LaTeX package \\\smaller \fileinfo} 62 | \maketitle 63 | \DocInput{newclude.sty} 64 | \MaybeABib 65 | \newpage 66 | \PrintIndex 67 | \end{document} 68 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/simple.sto: -------------------------------------------------------------------------------- 1 | % \AddToCheckSum{67} 2 | % 3 | % The \option{simple} option adds the optional argument to \cs\include, and 4 | % does nothing else. 5 | % 6 | % \begin{macro}{\include} 7 | % I'm not really sure why the \cs\relax is there; I'm imitating the kernel's 8 | % command. 9 | % \begin{macrocode} 10 | \defcommand\include {% 11 | \relax 12 | \ifnum\@auxout=\@partaux 13 | \@latex@error{\string\include\space cannot be nested}\@eha 14 | \else 15 | \expandafter\@include 16 | \fi 17 | } 18 | % \end{macrocode} 19 | % \end{macro} 20 | % 21 | % \begin{macro}{\@include} 22 | % \mbox{} 23 | % \begin{macrocode} 24 | \defcommand\@include [2][] {% 25 | \clearpage 26 | \if@filesw 27 | \immediate\write\@mainaux{\string\@input{#2.aux}}% 28 | \fi 29 | \@tempswatrue 30 | \if@partsw 31 | \@tempswafalse 32 | \edef\reserved@b{#2}% 33 | \@for\reserved@a:=\@partlist\do 34 | {\ifx\reserved@a\reserved@b\@tempswatrue\fi}% 35 | \fi 36 | \if@tempswa 37 | \let\@auxout\@partaux 38 | \if@filesw 39 | \immediate\openout\@partaux #2.aux 40 | \immediate\write\@partaux{\relax}% 41 | \fi 42 | % \end{macrocode} 43 | % All we did was change |#1| to |#2| and add the next line. 44 | % \begin{macrocode} 45 | #1% 46 | \@input@{#2.tex}% 47 | \clearpage 48 | \@writeckpt{#2}% 49 | \if@filesw 50 | \immediate\closeout\@partaux 51 | \fi 52 | \else 53 | \@nameuse{cp@#2}% 54 | \fi 55 | \let\@auxout\@mainaux 56 | } 57 | % \end{macrocode} 58 | % \end{macro} 59 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/slemph.cfg: -------------------------------------------------------------------------------- 1 | % \iffalse 2 | %% 3 | % Even if you don't want any code in this file, leave the empty file, or else 4 | % loading the \package{slemph} package will consume extra time as it searches 5 | % for this file. 6 | %% 7 | % \fi 8 | % \begin{macrocode} 9 | \def\fileinfo{slemph package configuration} 10 | \def\fileversion{v1.0} 11 | \def\filedate{1996/01/24} 12 | \def\docdate{1996/01/24} 13 | % \end{macrocode} 14 | % 15 | % \AddToCheckSum{12} 16 | % 17 | % \begin{macrocode} 18 | \ProvidesFile{slemph.cfg} 19 | % \end{macrocode} 20 | % 21 | % \begin{macro}{\em} 22 | % Slanted emphasis. 23 | % \begin{macrocode} 24 | \let\em\slswitch 25 | % \end{macrocode} 26 | % \end{macro} 27 | 28 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/slemph.dvi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/frankenstein/slemph.dvi -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/slemph.ins: -------------------------------------------------------------------------------- 1 | % slemph.ins -- docstrip driver for the slemph LaTeX package 2 | % 3 | % Copyright (C) 1995-2001 Matthew Swift 4 | % Please see the copyright notice in \preamble below. 5 | 6 | % This file, when run through TeX or LaTeX, will generate fast loadable files 7 | % from the .sty, .cls, or .bst files mentioned below. 8 | 9 | \input docstrip 10 | \keepsilent 11 | 12 | \preamble 13 | 14 | This program is part of the Frankenstein bundle for LaTeX. 15 | 16 | Copyright (C) 1995-2001 Matthew Swift 17 | 18 | This file may have one of TWO names, either 19 | slemph.sty or slemph.stq. This 20 | LaTeX package will work ONLY if it is called slemph.sty 21 | and placed in a proper directory. This file should have been 22 | distributed to you with a DIFFERENT file (also) called 23 | slemph.sty which functions identically to this one 24 | but contains documentation in comments. This file works faster, 25 | but the other should be kept because it contains the documentation 26 | for this LaTeX package. Files called README and INSTALL should have 27 | also been distributed to you with this file; see them for more 28 | information. 29 | 30 | This program is free software; you may redistribute it and/or 31 | modify it under the conditions of the LaTeX Project Public 32 | License, either version 1.2 or (at your option) any later version. 33 | The latest version of this license is in 34 | http://www.latex-project.org/lppl.txt, and version 1.2 or later is 35 | part of all distributions of LaTeX version 1999/12/01 or later. 36 | 37 | This program is distributed in the hope that it will be useful, 38 | but WITHOUT ANY WARRANTY; without even the implied warranty of 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 | LaTeX Project Public License for more details. 41 | 42 | \endpreamble 43 | 44 | \askforoverwritefalse 45 | 46 | % This will get changed to either nothing or \nopostamble. 47 | 48 | 49 | \generate{\file{slemph.stq}{\from{slemph.sty}{}}} 50 | 51 | \Msg{} 52 | \Msg{***********************************************************************} 53 | \Msg{*} 54 | \Msg{* The file slemph.stq is a faster replacement for the file} 55 | \Msg{* slemph.sty.} 56 | \Msg{*} 57 | \Msg{* slemph.stq is stripped of comments (documentation) and must be} 58 | \Msg{* renamed slemph.sty and placed where LaTeX can find it} 59 | \Msg{* before it may be used.} 60 | \Msg{*} 61 | \Msg{***********************************************************************} 62 | \Msg{} 63 | 64 | \endbatchfile 65 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/slemph.sty: -------------------------------------------------------------------------------- 1 | %^^A* legal notices 2 | % \iffalse 3 | % 4 | % This program is part of the Frankenstein bundle for LaTeX. 5 | % 6 | % Copyright 1995-2001 Matt Swift . 7 | % 8 | % This file contains both the code and documentation for the 9 | % slemph LaTeX package. It will work ONLY if it is placed in a 10 | % proper directory. Files called README, INSTALL, slemph.tex 11 | % and slemph.ins should have also been distributed to you 12 | % with this file. See them for more information on how to typeset 13 | % the documentation with LaTeX and how to generate a version of this 14 | % file that will work faster than this one. 15 | % 16 | % This program is free software; you may redistribute it and/or 17 | % modify it under the conditions of the LaTeX Project Public 18 | % License, either version 1.2 or (at your option) any later version. 19 | % The latest version of this license is in 20 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later is 21 | % part of all distributions of LaTeX version 1999/12/01 or later. 22 | % 23 | % This program is distributed in the hope that it will be useful, 24 | % but without any warranty; without even the implied warranty of 25 | % merchantability or fitness for a particular purpose. See the 26 | % LaTeX Project Public License for more details. 27 | % 28 | % \fi 29 | % 30 | %^^A* checks 31 | % 32 | %^^A NOTE: The character table, with two %'s, will get written to all files. 33 | %% \CharacterTable 34 | %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z 35 | %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z 36 | %% Digits \0\1\2\3\4\5\6\7\8\9 37 | %% Exclamation \! Double quote \" Hash (number) \# 38 | %% Dollar \$ Percent \% Ampersand \& 39 | %% Acute accent \' Left paren \( Right paren \) 40 | %% Asterisk \* Plus \+ Comma \, 41 | %% Minus \- Point \. Solidus \/ 42 | %% Colon \: Semicolon \; Less than \< 43 | %% Equals \= Greater than \> Question mark \? 44 | %% Commercial at \@ Left bracket \[ Backslash \\ 45 | %% Right bracket \] Circumflex \^ Underscore \_ 46 | %% Grave accent \` Left brace \{ Vertical bar \| 47 | %% Right brace \} Tilde \~} 48 | % 49 | % \CheckSum{41} 50 | % 51 | % \begin{abstract} 52 | % The \package{slemph} package defines the commands \cs\itswitch, \cs\slswitch, 53 | % \cs\textitswitch, and \cs\textslswitch, which switch between slanted or 54 | % italic type and upright type. They can be used to represent emphasis with 55 | % slanted type. 56 | % \end{abstract} 57 | % \tableofcontents 58 | % 59 | % \part{Discussion} 60 | % 61 | % \DescribeMacro\itswitch 62 | % \cs\itswitch calls \cs\itshape if the current font is not italic, and 63 | % \cs\upshape if the current font is italic. 64 | % 65 | % \DescribeMacro\slswitch 66 | % \cs\slswitch calls \cs\slshape if the current font is not slanted, and 67 | % \cs\upshape if the current font is slanted. 68 | % 69 | % \DescribeMacro\textitswitch 70 | % \cs\textitswitch\marg{text} sets its argument with \cs\itshape if the 71 | % current font is not italic, or \cs\upshape if the current font is italic. 72 | % 73 | % \DescribeMacro\textslswitch 74 | % \cs\textslswitch\marg{text} sets its argument with \cs\slshape if the 75 | % current font is not slanted, or \cs\upshape if the current font is slanted. 76 | % 77 | % Regarding all four commands above, notice that the factory definition of 78 | % \cs\em would switch based on whether the current font was \emph{sloped}, 79 | % which includes both slanted and italic type. I think slanted and italic type 80 | % are different enough that you can leave, say, an italic word in the midst of 81 | % a slanted context and it will still communicate to the reader whatever italic 82 | % type signifies in an upright context. 83 | % 84 | % \StopEventually{} 85 | % 86 | % \part{Implementation} 87 | % 88 | % \section{Version control} 89 | % 90 | % \begin{macro}{\fileinfo} 91 | % \begin{macro}{\DoXUsepackagE} 92 | % \begin{macro}{\HaveECitationS} 93 | % \begin{macro}{\fileversion} 94 | % \begin{macro}{\filedate} 95 | % \begin{macro}{\docdate} 96 | % \begin{macro}{\PPOptArg} 97 | % These definitions must be the first ones in the file. 98 | % \begin{macrocode} 99 | \def\fileinfo{slanted emphasis (Frankenstein's gait)} 100 | \def\DoXPackageS {} 101 | \def\fileversion{v1.2} 102 | \def\filedate{1999/02/25} 103 | \def\docdate{1999/02/25} 104 | \edef\PPOptArg {% 105 | \filedate\space \fileversion\space \fileinfo 106 | } 107 | % \end{macrocode} 108 | % \end{macro} 109 | % \end{macro} 110 | % \end{macro} 111 | % \end{macro} 112 | % \end{macro} 113 | % \end{macro} 114 | % \end{macro} 115 | % 116 | % If we're loading this file from a \cs\ProcessDTXFile command (see the 117 | % \package{compsci} package), then \cs\JusTLoaDInformatioN will be defined; 118 | % othewise we assume it is not (that's why the FunkY NamE). 119 | % 120 | % If we're loading from \cs\ProcessDTXFile, we want to load the packages listed 121 | % in \cs\DoXPackageS (needed to typeset the documentation for this file) and 122 | % then bail out. Otherwise, we're using this file in a normal way as a 123 | % package, so do nothing. \cs\DoXPackageS, if there are any, are declared in 124 | % the \ext{dtx} file, and, if you're reading the typeset documentation of this 125 | % package, would appear just above. (It's OK to call \cs\usepackage with an 126 | % empty argument or \cs\relax, by the way.) 127 | % \begin{macrocode} 128 | \makeatletter% A special comment to help create bst files. Don't change! 129 | \@ifundefined{JusTLoaDInformatioN} {% 130 | }{% ELSE (we know the compsci package is already loaded, too) 131 | \UndefineCS\JusTLoaDInformatioN 132 | \SaveDoXVarS 133 | \eExpand\csname DoXPackageS\endcsname\In {%use \csname in case it's undefined 134 | \usepackage{#1}% 135 | }% 136 | \RestoreDoXVarS 137 | \makeatother 138 | \endinput 139 | }% A special comment to help create bst files. Don't change! 140 | % \end{macrocode} 141 | % 142 | % Now we check for \LaTeX2e and declare the LaTeX package. 143 | % \begin{macrocode} 144 | \NeedsTeXFormat{LaTeX2e} 145 | \ProvidesPackage{slemph}[\PPOptArg] 146 | % \end{macrocode}^^A special comment to help create bst files. Don't change! 147 | % 148 | % ^^A NOTE: We have to compensate for the above backslashes, which are not 149 | % ^^A actually in the .dtx file the author works on, by adding to the 150 | % ^^A CheckSum. 151 | %% 152 | % \AddToCheckSum{17}^^A `dtx-update-checksum' automatically handles this. 153 | % \AddToCheckSum{7}^^A The half a macrocode env. at the top is missed, however... 154 | % \AddToCheckSum{10}^^A ... and so are the 5 \defs from the .dtx file 155 | % ^^A that precede it. 156 | % \IfCitations {% 157 | % \AddToCheckSum{2}^^A When \initelyHavECitationS is defined in 158 | % } ^^A the .dtx file, we need 2 more in the CheckSum. 159 | % 160 | % 161 | % \section{The switchers} 162 | % 163 | % \begin{macro}{\itswitch} 164 | % \begin{macro}{\textitswitch} 165 | % \begin{macro}{\slswitch} 166 | % \begin{macro}{\textslswitch} 167 | % Normally we would use the \cs\NewRobustCommand and \cs\NewTextFontCommand 168 | % commands from the \package{moredefs} package, but this package is so small we 169 | % might as well do that by hand and avoid dependence on that larger package, 170 | % for efficiency. 171 | % \begin{macrocode} 172 | \newcommand\itswitch {} 173 | \newcommand\slswitch {} 174 | \newcommand\textitswitch {} 175 | \newcommand\textslswitch {} 176 | 177 | \DeclareRobustCommand\itswitch {% 178 | \@nomath\itswitch 179 | \def\reserved@a{it}% 180 | \ifx\f@shape\reserved@a 181 | \upshape 182 | \else 183 | \itshape 184 | \fi 185 | } 186 | \DeclareRobustCommand\slswitch {% 187 | \@nomath\slswitch 188 | \def\reserved@a{sl}% 189 | \ifx\f@shape\reserved@a 190 | \upshape 191 | \else 192 | \slshape 193 | \fi 194 | } 195 | \DeclareTextFontCommand\textitswitch\itswitch 196 | \DeclareTextFontCommand\textslswitch\slswitch 197 | % \end{macrocode} 198 | % \end{macro} 199 | % \end{macro} 200 | % \end{macro} 201 | % \end{macro} 202 | % 203 | % \part{Configuration} 204 | % 205 | % Load a configuration file. 206 | % \begin{macrocode} 207 | \InputIfFileExists{slemph.cfg}{}{} 208 | % \end{macrocode} 209 | % 210 | % The contents of the distributed configuration file are below. 211 | % 212 | % \InputIfFileExists{slemph.cfg}{}{} 213 | % 214 | % \Finale 215 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/slemph.tex: -------------------------------------------------------------------------------- 1 | % slemph.tex -- documentation for the slemph LaTeX package. 2 | % 3 | % This program is part of the Frankenstein bundle for LaTeX2e. 4 | % 5 | % Copyright (C) 1995-2001 Matt Swift 6 | % 7 | % This program is free software; you may redistribute it and/or 8 | % modify it under the conditions of the LaTeX Project Public 9 | % License, either version 1.2 or (at your option) any later 10 | % version. The latest version of this license is in 11 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later 12 | % is part of all distributions of LaTeX version 1999/12/01 or 13 | % later. 14 | % 15 | % This program is distributed in the hope that it will be useful, 16 | % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | % LaTeX Project Public License for more details. 19 | % 20 | \documentclass{ltxdoc} 21 | \makeatletter 22 | \def\part {% 23 | \clearpage 24 | \@afterindentfalse 25 | \secdef\@part\@spart 26 | } 27 | \def\StripV #1{\E@cdr #1\@nil} 28 | \makeatother 29 | \usepackage{attrib,compsci} 30 | \newbook\manual {Chicago\nocite{chicago:14} Manual of Style}[Chicago Manual] 31 | \newbook\MLAman {The\nocite{mlaman} MLA Style Manual and Guide to Scholarly Publishing} 32 | [The MLA Style Manual] 33 | \newtheorem{lessoninternal}{Lesson} 34 | \newenvironment{lesson} {% 35 | \let\AttribInit\sffamily 36 | \let\PreTrib\textsection 37 | \let\PostTrib\ShortEmpty 38 | \lessoninternal 39 | } {% 40 | \endlessoninternal 41 | } 42 | \newcommand\manualref [1] {\textsf{\S #1}} 43 | \ProcessDTXFile{slemph.sty} 44 | \newlet\MaybeABib\relax 45 | \IfCitations { 46 | \def\MaybeABib {% 47 | \newpage 48 | \bibliographystyle{achicago}% 49 | \bibliography{frankenstein}% 50 | } 51 | \SaveDoXVarS 52 | \usepackage{achicago} 53 | \RestoreDoXVarS 54 | } 55 | \CodelineIndex 56 | \EnableCrossrefs 57 | \begin{document} 58 | \date{Version: \StripV\fileversion \qquad Date: \filedate\\ 59 | \relsize{-2}Documentation revision: \docdate} 60 | \author{Matt Swift \email{swift@alum.mit.edu}} 61 | \title{The \textsf{slemph} LaTeX package \\\smaller \fileinfo} 62 | \maketitle 63 | \DocInput{slemph.sty} 64 | \MaybeABib 65 | \newpage 66 | \PrintIndex 67 | \end{document} 68 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/titles.cfg: -------------------------------------------------------------------------------- 1 | % \iffalse 2 | %% 3 | % Even if you don't want any code in this file, leave the empty file, or else 4 | % loading the \package{titles} package will consume extra time as it searches 5 | % for this file. 6 | %% 7 | % \fi 8 | % \begin{macrocode} 9 | \def\fileinfo{titles package configuration} 10 | \def\fileversion{v1.4} 11 | \def\filedate{2001/08/31} 12 | \def\docdate{2001/08/31} 13 | % \end{macrocode} 14 | % 15 | % \AddToCheckSum{24} 16 | % 17 | % \begin{macrocode} 18 | \ProvidesFile{titles.cfg} 19 | % \end{macrocode} 20 | % 21 | % \section{User Customization} 22 | % 23 | % Put your own alterations and additions here. For example. 24 | % \begin{macrocode} 25 | % \let\word\textslswitch 26 | \newlet\longpoem\textitswitch 27 | \newlet\film\textitswitch 28 | \newlet\essaytitle\Wrapquotes 29 | \newlet\chaptertitle\Wrapquotes 30 | % \end{macrocode} 31 | % 32 | % \part{Testing} 33 | % 34 | % \begingroup 35 | % \setlength\parindent{0pt} 36 | % \raggedright 37 | % 38 | % \subsection{Question and exclamation marks} 39 | % 40 | % \newcommand\TestQE [1] {% 41 | % Test string: [#1]\qquad Result: 42 | % \IfQuestionOrExclamation{#1} 43 | % {Question or Exclamation} 44 | % {Declarative} 45 | % } 46 | % 47 | % \TestQE{% 48 | % Title% 49 | % } 50 | % 51 | % \TestQE{% 52 | % Title?% 53 | % } 54 | % 55 | % \TestQE{% 56 | % Title!% 57 | % } 58 | % 59 | % \TestQE{% 60 | % Title??% 61 | % } 62 | % 63 | % \TestQE{% 64 | % Title!!% 65 | % } 66 | % 67 | % \TestQE{% 68 | % Title? Title% 69 | % } 70 | % 71 | % \TestQE{% 72 | % Title! Title% 73 | % } 74 | % 75 | % \TestQE{% 76 | % Title!?% 77 | % } 78 | % 79 | % \TestQE{% 80 | % Title?!% 81 | % } 82 | % 83 | % \TestQE{% 84 | % Title? Title?% 85 | % } 86 | % 87 | % \TestQE{% 88 | % Title? Title!% 89 | % } 90 | % 91 | % \TestQE{% 92 | % Title! Title?% 93 | % } 94 | % 95 | % \TestQE{% 96 | % Title?? Title% 97 | % } 98 | % 99 | % \TestQE{% 100 | % Title!! Title% 101 | % } 102 | % 103 | % \subsection{Plain} 104 | % 105 | % \book{Book Title}. Test. 106 | % 107 | % \book{Book Title}, test. 108 | % 109 | % \book{Book Title}; test. 110 | % 111 | % \book{Book Title} test. 112 | % 113 | % \play{Play Title}. Test. 114 | % 115 | % ``Play Title.'' Test. 116 | % 117 | % \play{Play Title}, test. 118 | % 119 | % ``Play Title,'' test. 120 | % 121 | % \play{Play Title}; test. 122 | % 123 | % ``Play Title''; test. 124 | % 125 | % \play{Play Title} test. 126 | % 127 | % ``Play Title'' test. 128 | % 129 | % \play{title}~tie 130 | % 131 | % ``title''~tie 132 | % 133 | % \play{title}\ explicit space 134 | % 135 | % ``title''\ explicit space 136 | % 137 | % \play{title}\space \cs\space 138 | % 139 | % ``title''\space \cs\space 140 | % 141 | % \play{title}/slash 142 | % 143 | % ``title''/slash 144 | % 145 | % \play{title}\/ italcorr 146 | % 147 | % ``title''\/ italcorr 148 | % 149 | % \newpage {\makeatletter 150 | % 151 | % \play{title}\@xobeysp xobey 152 | % 153 | % } 154 | % 155 | % {\makeatletter 156 | % 157 | % ``title''\@xobeysp xobey 158 | % 159 | % } 160 | % \subsection{Nested beginnings} 161 | % 162 | %% 163 | % 164 | % \book{\book{Book Title} begins first book title} and 165 | % outside. 166 | % 167 | % \book{\book{Book Title}, begins first book title}, and 168 | % outside. 169 | % 170 | % \book{\book{Book Title}. begins first book title}. and 171 | % outside. 172 | % 173 | % \book{\book{Book Title}; begins first book title}; and 174 | % outside. 175 | % 176 | %% 177 | % 178 | % \book{\play{Play Title} begins first book title} and 179 | % outside. 180 | % 181 | % \book{\play{Play Title}, begins first book title}, and 182 | % outside. 183 | % 184 | % \book{\play{Play Title}. begins first book title}. and 185 | % outside. 186 | % 187 | % \book{\play{Play Title}; begins first book title}; and 188 | % outside. 189 | % 190 | %% 191 | % 192 | % \play{\book{Book Title} begins first play title} and 193 | % outside. 194 | % 195 | % \play{\book{Book Title}, begins first play title}, and 196 | % outside. 197 | % 198 | % \play{\book{Book Title}. begins first play title}. and 199 | % outside. 200 | % 201 | % \play{\book{Book Title}; begins first play title}; and 202 | % outside. 203 | % 204 | %% 205 | % 206 | % \play{\play{Play Title} begins first play title} and 207 | % outside. 208 | % 209 | % \play{\play{Play Title}, begins first play title}, and 210 | % outside. 211 | % 212 | % \play{\play{Play Title}. begins first play title}. and 213 | % outside. 214 | % 215 | % \play{\play{Play Title}; begins first play title}; and 216 | % outside. 217 | % 218 | %% 219 | % \subsection{Nested endings} 220 | % 221 | % There are too many cases I think to test them all. I'm testing to 222 | % three levels of nesting. 223 | % 224 | % This is a \book{Book Title including \book{Book Title including 225 | % \book{Book Title}} and ending first one} and outside. 226 | % 227 | % This is a \book{Book Title including \book{Book Title including 228 | % \book{Book Title}}, and ending first one}, and outside. 229 | % 230 | % This is a \book{Book Title including \book{Book Title including 231 | % \book{Book Title}}. and ending first one}. and outside. 232 | % 233 | % This is a \book{Book Title including \book{Book Title including 234 | % \book{Book Title}}; and ending first one}; and outside. 235 | % 236 | %% 237 | % 238 | % This is a \book{Book Title including \book{Book Title including 239 | % \play{Play Title}} and ending first one} and outside. 240 | % 241 | % This is a \book{Book Title including \book{Book Title including 242 | % \play{Play Title}}, and ending first one}, and outside. 243 | % 244 | % This is a \book{Book Title including \book{Book Title including 245 | % \play{Play Title}}. and ending first one}. and outside. 246 | % 247 | % This is a \book{Book Title including \book{Book Title including 248 | % \play{Play Title}}; and ending first one}; and outside. 249 | % 250 | %% 251 | % 252 | % This is a \book{Book Title including \play{Play Title including 253 | % \book{Book Title}} and ending first one} and outside. 254 | % 255 | % This is a \book{Book Title including \play{Play Title including 256 | % \book{Book Title}}, and ending first one}, and outside. 257 | % 258 | % This is a \book{Book Title including \play{Play Title including 259 | % \book{Book Title}}. and ending first one}. and outside. 260 | % 261 | % This is a \book{Book Title including \play{Play Title including 262 | % \book{Book Title}}; and ending first one}; and outside. 263 | % 264 | %% 265 | % 266 | % This is a \book{Book Title including \play{Play Title including 267 | % \play{Play Title}} and ending first one} and outside. 268 | % 269 | % This is a \book{Book Title including \play{Play Title including 270 | % \play{Play Title}}, and ending first one}, and outside. 271 | % 272 | % This is a \book{Book Title including \play{Play Title including 273 | % \play{Play Title}}. and ending first one}. and outside. 274 | % 275 | % This is a \book{Book Title including \play{Play Title including 276 | % \play{Play Title}}; and ending first one}; and outside. 277 | % 278 | %% 279 | % 280 | % This is a \play{Play Title including \play{Play Title including 281 | % \play{Play Title}} and ending first one} and outside. 282 | % 283 | % This is a \play{Play Title including \play{Play Title including 284 | % \play{Play Title}}, and ending first one}, and outside. 285 | % 286 | % This is a \play{Play Title including \play{Play Title including 287 | % \play{Play Title}}. and ending first one}. and outside. 288 | % 289 | % This is a \play{Play Title including \play{Play Title including 290 | % \play{Play Title}}; and ending first one}; and outside. 291 | % 292 | %% 293 | % 294 | % This is a \play{Play Title including \play{Play Title including 295 | % \book{Book Title}} and ending first one} and outside. 296 | % 297 | % This is a \play{Play Title including \play{Play Title including 298 | % \book{Book Title}}, and ending first one}, and outside. 299 | % 300 | % This is a \play{Play Title including \play{Play Title including 301 | % \book{Book Title}}. and ending first one}. and outside. 302 | % 303 | % This is a \play{Play Title including \play{Play Title including 304 | % \book{Book Title}}; and ending first one}; and outside. 305 | % 306 | %% 307 | % 308 | % This is a \play{Play Title including \book{Book Title including 309 | % \play{Play Title}} and ending first one} and outside. 310 | % 311 | % This is a \play{Play Title including \book{Book Title including 312 | % \play{Play Title}}, and ending first one}, and outside. 313 | % 314 | % This is a \play{Play Title including \book{Book Title including 315 | % \play{Play Title}}. and ending first one}. and outside. 316 | % 317 | % This is a \play{Play Title including \book{Book Title including 318 | % \play{Play Title}}; and ending first one}; and outside. 319 | % 320 | %% 321 | % 322 | % This is a \play{Play Title including \book{Book Title including 323 | % \book{Book Title}} and ending first one} and outside. 324 | % 325 | % This is a \play{Play Title including \book{Book Title including 326 | % \book{Book Title}}, and ending first one}, and outside. 327 | % 328 | % This is a \play{Play Title including \book{Book Title including 329 | % \book{Book Title}}. and ending first one}. and outside. 330 | % 331 | % This is a \play{Play Title including \book{Book Title including 332 | % \book{Book Title}}; and ending first one}; and outside. 333 | % 334 | %% 335 | % 336 | % \subsection{double and single nosuck} 337 | % \newcommand\note [1] {% 338 | % \medskip{\bfseries #1:}% 339 | % } 340 | % 341 | % \note{OS=open-single\quad OD=open-double\quad CS=close-single\quad 342 | % CD=close-double 343 | % 344 | % The following pairs of lines in medium weight roman should look identical. 345 | % 346 | % The line in typewriter font is the source text. 347 | % 348 | % The following line in medium weight roman is what that source produces. 349 | % 350 | % The third line is what the second line \emph{ought} to produce} 351 | % 352 | % |The word \WrapquotesDN{quoted} is quoted.| 353 | % 354 | % The word \WrapquotesDN{quoted} is quoted. 355 | % 356 | % The word ``quoted'' is quoted. 357 | % 358 | % \medskip 359 | % |The word \WrapquotesSN{scare} is in scare quotes.| 360 | % 361 | % The word \WrapquotesSN{scare} is in scare quotes. 362 | % 363 | % The word `scare' is in scare quotes. 364 | % 365 | % \note{Nesting with no abuttment} 366 | % 367 | % |\WrapquotesDN{The \WrapquotesSN{quick} brown fox \WrapquotesDN{jumped} over the lazy dogs.}| 368 | % 369 | % \WrapquotesDN{The \WrapquotesSN{quick} brown fox \WrapquotesDN{jumped} over the lazy dogs.} 370 | % 371 | % ``The `quick' brown fox ``jumped'' over the lazy dogs.'' 372 | % 373 | % \medskip 374 | % |\WrapquotesSN{The \WrapquotesSN{quick} brown fox \WrapquotesDN{jumped} over the lazy dogs.}| 375 | % 376 | % \WrapquotesSN{The \WrapquotesSN{quick} brown fox \WrapquotesDN{jumped} over the lazy dogs.} 377 | % 378 | % `The `quick' brown fox ``jumped'' over the laxy dogs.' 379 | % 380 | % \note{OS+OS, CD+CS} 381 | % 382 | % |\WrapquotesSN{\WrapquotesSN{The quick} brown fox jumped over the \WrapquotesDN{lazy dogs.}}| 383 | % 384 | % \WrapquotesSN{\WrapquotesSN{The quick} brown fox jumped over the \WrapquotesDN{lazy dogs.}} 385 | % 386 | % `\,`The quick brown fox jumped over the ``lazy dogs.''\,' 387 | % 388 | % \note{OS+OD, CD+CS} 389 | % 390 | % |\WrapquotesSN{\WrapquotesDN{The quick} brown fox jumped over the \WrapquotesSN{lazy dogs.}}| 391 | % 392 | % \WrapquotesSN{\WrapquotesDN{The quick} brown fox jumped over the \WrapquotesSN{lazy dogs.}} 393 | % 394 | % `\,``The quick'' brown fox jumped over the `lazy dogs.'\,' 395 | % 396 | % \note{OD+OD, CS+CD} 397 | % 398 | % |\WrapquotesDN{\WrapquotesDN{The quick} brown fox jumped over the \WrapquotesSN{lazy dogs.}}| 399 | % 400 | % \WrapquotesDN{\WrapquotesDN{The quick} brown fox jumped over the \WrapquotesSN{lazy dogs.}} 401 | % 402 | % ``\,``The quick'' brown fox jumped over the `lazy dogs.'\,'' 403 | % 404 | % \note{OS+OD, CS+CS} 405 | % 406 | % |\WrapquotesSN{\WrapquotesDN{The quick} brown fox jumped over the \WrapquotesSN{lazy dogs.}}| 407 | % 408 | % \WrapquotesSN{\WrapquotesDN{The quick} brown fox jumped over the \WrapquotesSN{lazy dogs.}} 409 | % 410 | % `\,``The quick'' brown fox jumped over the `lazy dogs.'\,' 411 | % 412 | % \endgroup 413 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/titles.dvi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/frankenstein/titles.dvi -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/titles.ins: -------------------------------------------------------------------------------- 1 | % titles.ins -- docstrip driver for the titles LaTeX package 2 | % 3 | % Copyright (C) 1995-2001 Matthew Swift 4 | % Please see the copyright notice in \preamble below. 5 | 6 | % This file, when run through TeX or LaTeX, will generate fast loadable files 7 | % from the .sty, .cls, or .bst files mentioned below. 8 | 9 | \input docstrip 10 | \keepsilent 11 | 12 | \preamble 13 | 14 | This program is part of the Frankenstein bundle for LaTeX. 15 | 16 | Copyright (C) 1995-2001 Matthew Swift 17 | 18 | This file may have one of TWO names, either 19 | titles.sty or titles.stq. This 20 | LaTeX package will work ONLY if it is called titles.sty 21 | and placed in a proper directory. This file should have been 22 | distributed to you with a DIFFERENT file (also) called 23 | titles.sty which functions identically to this one 24 | but contains documentation in comments. This file works faster, 25 | but the other should be kept because it contains the documentation 26 | for this LaTeX package. Files called README and INSTALL should have 27 | also been distributed to you with this file; see them for more 28 | information. 29 | 30 | This program is free software; you may redistribute it and/or 31 | modify it under the conditions of the LaTeX Project Public 32 | License, either version 1.2 or (at your option) any later version. 33 | The latest version of this license is in 34 | http://www.latex-project.org/lppl.txt, and version 1.2 or later is 35 | part of all distributions of LaTeX version 1999/12/01 or later. 36 | 37 | This program is distributed in the hope that it will be useful, 38 | but WITHOUT ANY WARRANTY; without even the implied warranty of 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 | LaTeX Project Public License for more details. 41 | 42 | \endpreamble 43 | 44 | \askforoverwritefalse 45 | 46 | % This will get changed to either nothing or \nopostamble. 47 | 48 | 49 | \generate{\file{titles.stq}{\from{titles.sty}{}}} 50 | 51 | \Msg{} 52 | \Msg{***********************************************************************} 53 | \Msg{*} 54 | \Msg{* The file titles.stq is a faster replacement for the file} 55 | \Msg{* titles.sty.} 56 | \Msg{*} 57 | \Msg{* titles.stq is stripped of comments (documentation) and must be} 58 | \Msg{* renamed titles.sty and placed where LaTeX can find it} 59 | \Msg{* before it may be used.} 60 | \Msg{*} 61 | \Msg{***********************************************************************} 62 | \Msg{} 63 | 64 | \endbatchfile 65 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/titles.tex: -------------------------------------------------------------------------------- 1 | % titles.tex -- documentation for the titles LaTeX package. 2 | % 3 | % This program is part of the Frankenstein bundle for LaTeX2e. 4 | % 5 | % Copyright (C) 1995-2001 Matt Swift 6 | % 7 | % This program is free software; you may redistribute it and/or 8 | % modify it under the conditions of the LaTeX Project Public 9 | % License, either version 1.2 or (at your option) any later 10 | % version. The latest version of this license is in 11 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later 12 | % is part of all distributions of LaTeX version 1999/12/01 or 13 | % later. 14 | % 15 | % This program is distributed in the hope that it will be useful, 16 | % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | % LaTeX Project Public License for more details. 19 | % 20 | \documentclass{ltxdoc} 21 | \makeatletter 22 | \def\part {% 23 | \clearpage 24 | \@afterindentfalse 25 | \secdef\@part\@spart 26 | } 27 | \def\StripV #1{\E@cdr #1\@nil} 28 | \makeatother 29 | \usepackage{attrib,compsci} 30 | \newbook\manual {Chicago\nocite{chicago:14} Manual of Style}[Chicago Manual] 31 | \newbook\MLAman {The\nocite{mlaman} MLA Style Manual and Guide to Scholarly Publishing} 32 | [The MLA Style Manual] 33 | \newtheorem{lessoninternal}{Lesson} 34 | \newenvironment{lesson} {% 35 | \let\AttribInit\sffamily 36 | \let\PreTrib\textsection 37 | \let\PostTrib\ShortEmpty 38 | \lessoninternal 39 | } {% 40 | \endlessoninternal 41 | } 42 | \newcommand\manualref [1] {\textsf{\S #1}} 43 | \ProcessDTXFile{titles.sty} 44 | \newlet\MaybeABib\relax 45 | \IfCitations { 46 | \def\MaybeABib {% 47 | \newpage 48 | \bibliographystyle{achicago}% 49 | \bibliography{frankenstein}% 50 | } 51 | \SaveDoXVarS 52 | \usepackage{achicago} 53 | \RestoreDoXVarS 54 | } 55 | \CodelineIndex 56 | \EnableCrossrefs 57 | \begin{document} 58 | \date{Version: \StripV\fileversion \qquad Date: \filedate\\ 59 | \relsize{-2}Documentation revision: \docdate} 60 | \author{Matt Swift \email{swift@alum.mit.edu}} 61 | \title{The \textsf{titles} LaTeX package \\\smaller \fileinfo} 62 | \maketitle 63 | \DocInput{titles.sty} 64 | \MaybeABib 65 | \newpage 66 | \PrintIndex 67 | \end{document} 68 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/unsupported/README-unsupported: -------------------------------------------------------------------------------- 1 | 2 | SOME UNSUPPORTED PARTS OF: 3 | 4 | FRANKENSTEIN 5 | 6 | A Collection of Macros for LaTeX and BibTeX 7 | 8 | ------------------------------------------------------------------------ 9 | CONTENTS 10 | 11 | NOTES 12 | general 13 | non-support 14 | PACKAGE DESCRIPTIONS 15 | includex 16 | bits 17 | drama 18 | DISTRIBUTION CONDITIONS 19 | TERMINOLOGY 20 | AUTHOR 21 | 22 | ------------------------------------------------------------------------ 23 | NOTES 24 | 25 | general 26 | 27 | Three LaTeX packages are part of the Frankenstein bundle but are 28 | unsupported. They are distributed on CTAN in a subdirectory of the 29 | directory containing the supported Frankenstein filesets (i.e., 30 | CTAN:/macros/latex/contrib/supported/frankenstein/unsupported/). In 31 | a TeX installation, however, supported and unsupported macros, 32 | sources, and documentation should be placed together, (e.g., in 33 | TDS:/texmf/{doc,source,tex}/latex/frankenstein). 34 | 35 | If you wish to use the unsupported packages, download the entire 36 | "frankenstein" directory from CTAN (which will include the 37 | "unsupported" subdirectory). 38 | 39 | To use the Makefile on the unsupported filesets, you must do two 40 | things. 41 | 42 | 1. Copy all the files in the "unsupported" subdirectory into its 43 | parent directory ("frankenstein"). 44 | 45 | 2. Set the variable USE_UNSUP to something nonempty either by: 46 | a. uncommenting the line in the file Makefile, or 47 | b. setting it in your environment, or 48 | c. set the variable on the Make command line, e.g., "make 49 | USE_UNSUP=t all". 50 | 51 | Descriptions of the four unsupported packages are below. 52 | Further important information about the Frankenstein bundle may be 53 | found in the file README. 54 | 55 | Installation instructions are in the file INSTALL. 56 | The bits and drama packages depend on the non-Frankenstein package 57 | "relsize.sty". Please see INSTALL for further information. 58 | 59 | Both the README and INSTALL files are located in the parent 60 | directory of this file (on CTAN) or in the same directory as this 61 | file (in a TeX installation). 62 | 63 | 64 | non-support 65 | 66 | The package filesets in this directory are UNSUPPORTED. They are 67 | furthermore possibly INCOMPLETE and NOT fully DOCUMENTED. 68 | 69 | I hope one day to complete these packages, document them, and 70 | support them. I will gladly listen to feedback on them, but I do 71 | not take the same level of responsibility for them as for the 72 | packages I call "supported". In the meantime, they are made public 73 | under the conditions stated below so that I can refer interested 74 | individuals to them. 75 | 76 | These packages are indeed valuable in certain ways, such as 77 | sometimes working as advertised, but of course I offer no 78 | guarantees. 79 | 80 | 81 | ------------------------------------------------------------------------ 82 | PACKAGE DESCRIPTIONS 83 | 84 | ------------------------------------------------------------------------ 85 | bits 86 | (Frankenstein's guts) 87 | 88 | Bits provides a programmer's interface for a new idea called a 89 | "bit", which is like an environment but has a title, author, and 90 | other attributes usually only associated with the "document" 91 | environment. 92 | 93 | ------------------------------------------------------------------------ 94 | drama 95 | production-format stage script 96 | (Frankenstein's heart) 97 | 98 | Drama defines macros for typesetting a basic production-style stage 99 | script. 100 | 101 | ------------------------------------------------------------------------ 102 | includex 103 | extra ways to include files 104 | 105 | Includex allows you to include just the contents of one source file 106 | into another, ignoring the text outside the \begin{document} 107 | ... \end{document} in the included file. See also the supported 108 | "newclude" package, which is intended to supersede includex, though 109 | until I ensure that it is a satisfactory replacement I will keep 110 | includex around. 111 | 112 | ------------------------------------------------------------------------ 113 | DISTRIBUTION CONDITIONS 114 | 115 | All Frankenstein files are copyrighted by Matthew Swift and released 116 | under the conditions of the GNU General Public License contained in 117 | the file COPYING, which should be in the parent directory or the 118 | same directory as this file. 119 | 120 | The unsupported filesets in the same directory as this file ought to 121 | be distributed WITH the supported ones. They are useless without 122 | the supported ones. 123 | 124 | I am willing to specially license this code; please simply contact 125 | me with your proposal. 126 | 127 | ------------------------------------------------------------------------ 128 | TERMINOLOGY 129 | 130 | fileset: A group of files related to a single LaTeX package, LaTeX 131 | class, or BibTeX bibliography style and any accompanying 132 | option or configuration files. The files in a package or 133 | class fileset have the same root name but different 134 | filename extensions. In bibstyle filesets, some root names 135 | differ by a "-bst" suffix. 136 | 137 | CTAN: Comprehensive TeX Archive Network: a system of TeX-related 138 | file archives available via FTP (see 139 | ftp://ctan.tug.org/tex-archive/CTAN.sites) and often 140 | reproduced on CDROMs. 141 | 142 | TDS: TeX Directory Structure: a recommended directory structure 143 | for TeX installations. See 144 | ftp://ctan.tug.org/tex-archive/tds. 145 | 146 | ------------------------------------------------------------------------ 147 | AUTHOR 148 | 149 | Matt Swift 150 | 151 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/unsupported/bits.cfg: -------------------------------------------------------------------------------- 1 | % \iffalse 2 | %% 3 | % Even if you don't want any code in this file, leave the empty file, or else 4 | % loading the \package{bits} package will consume extra time as it searches 5 | % for this file. 6 | %% 7 | % \fi 8 | % \begin{macrocode} 9 | \def\fileinfo{Bits package configuration} 10 | \def\fileversion{v1} 11 | \def\filedate{1996/01/24} 12 | \def\docdate{1996/01/24} 13 | % \end{macrocode} 14 | % 15 | % \AddToCheckSum{10} 16 | % 17 | % \begin{macrocode} 18 | \ProvidesFile{bits.cfg} 19 | \InputIfFileExists{monster.cfg}{}{} 20 | % \end{macrocode} 21 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/unsupported/bits.dvi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/frankenstein/unsupported/bits.dvi -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/unsupported/bits.ins: -------------------------------------------------------------------------------- 1 | % bits.ins -- docstrip driver for the bits LaTeX package 2 | % 3 | % Copyright (C) 1995-2001 Matthew Swift 4 | % Please see the copyright notice in \preamble below. 5 | 6 | % This file, when run through TeX or LaTeX, will generate fast loadable files 7 | % from the .sty, .cls, or .bst files mentioned below. 8 | 9 | \input docstrip 10 | \keepsilent 11 | 12 | \preamble 13 | 14 | This program is part of the Frankenstein bundle for LaTeX. 15 | 16 | Copyright (C) 1995-2001 Matthew Swift 17 | 18 | This file may have one of TWO names, either 19 | bits.sty or bits.stq. This 20 | LaTeX package will work ONLY if it is called bits.sty 21 | and placed in a proper directory. This file should have been 22 | distributed to you with a DIFFERENT file (also) called 23 | bits.sty which functions identically to this one 24 | but contains documentation in comments. This file works faster, 25 | but the other should be kept because it contains the documentation 26 | for this LaTeX package. Files called README and INSTALL should have 27 | also been distributed to you with this file; see them for more 28 | information. 29 | 30 | This program is free software; you may redistribute it and/or 31 | modify it under the conditions of the LaTeX Project Public 32 | License, either version 1.2 or (at your option) any later version. 33 | The latest version of this license is in 34 | http://www.latex-project.org/lppl.txt, and version 1.2 or later is 35 | part of all distributions of LaTeX version 1999/12/01 or later. 36 | 37 | This program is distributed in the hope that it will be useful, 38 | but WITHOUT ANY WARRANTY; without even the implied warranty of 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 | LaTeX Project Public License for more details. 41 | 42 | \endpreamble 43 | 44 | \askforoverwritefalse 45 | 46 | % This will get changed to either nothing or \nopostamble. 47 | 48 | 49 | \generate{\file{bits.stq}{\from{bits.sty}{}}} 50 | 51 | \Msg{} 52 | \Msg{***********************************************************************} 53 | \Msg{*} 54 | \Msg{* The file bits.stq is a faster replacement for the file} 55 | \Msg{* bits.sty.} 56 | \Msg{*} 57 | \Msg{* bits.stq is stripped of comments (documentation) and must be} 58 | \Msg{* renamed bits.sty and placed where LaTeX can find it} 59 | \Msg{* before it may be used.} 60 | \Msg{*} 61 | \Msg{***********************************************************************} 62 | \Msg{} 63 | 64 | \endbatchfile 65 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/unsupported/bits.tex: -------------------------------------------------------------------------------- 1 | % bits.tex -- documentation for the bits LaTeX package. 2 | % 3 | % This program is part of the Frankenstein bundle for LaTeX2e. 4 | % 5 | % Copyright (C) 1995-2001 Matt Swift 6 | % 7 | % This program is free software; you may redistribute it and/or 8 | % modify it under the conditions of the LaTeX Project Public 9 | % License, either version 1.2 or (at your option) any later 10 | % version. The latest version of this license is in 11 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later 12 | % is part of all distributions of LaTeX version 1999/12/01 or 13 | % later. 14 | % 15 | % This program is distributed in the hope that it will be useful, 16 | % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | % LaTeX Project Public License for more details. 19 | % 20 | \documentclass{ltxdoc} 21 | \makeatletter 22 | \def\part {% 23 | \clearpage 24 | \@afterindentfalse 25 | \secdef\@part\@spart 26 | } 27 | \def\StripV #1{\E@cdr #1\@nil} 28 | \makeatother 29 | \usepackage{attrib,compsci} 30 | \newbook\manual {Chicago\nocite{chicago:14} Manual of Style}[Chicago Manual] 31 | \newbook\MLAman {The\nocite{mlaman} MLA Style Manual and Guide to Scholarly Publishing} 32 | [The MLA Style Manual] 33 | \newtheorem{lessoninternal}{Lesson} 34 | \newenvironment{lesson} {% 35 | \let\AttribInit\sffamily 36 | \let\PreTrib\textsection 37 | \let\PostTrib\ShortEmpty 38 | \lessoninternal 39 | } {% 40 | \endlessoninternal 41 | } 42 | \newcommand\manualref [1] {\textsf{\S #1}} 43 | \ProcessDTXFile{bits.sty} 44 | \newlet\MaybeABib\relax 45 | \IfCitations { 46 | \def\MaybeABib {% 47 | \newpage 48 | \bibliographystyle{achicago}% 49 | \bibliography{frankenstein}% 50 | } 51 | \SaveDoXVarS 52 | \usepackage{achicago} 53 | \RestoreDoXVarS 54 | } 55 | \CodelineIndex 56 | \EnableCrossrefs 57 | \begin{document} 58 | \date{Version: \StripV\fileversion \qquad Date: \filedate\\ 59 | \relsize{-2}Documentation revision: \docdate} 60 | \author{Matt Swift \email{swift@alum.mit.edu}} 61 | \title{The \textsf{bits} LaTeX package \\\smaller \fileinfo} 62 | \maketitle 63 | \DocInput{bits.sty} 64 | \MaybeABib 65 | \newpage 66 | \PrintIndex 67 | \end{document} 68 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/unsupported/drama.dvi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/frankenstein/unsupported/drama.dvi -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/unsupported/drama.ins: -------------------------------------------------------------------------------- 1 | % drama.ins -- docstrip driver for the drama LaTeX package 2 | % 3 | % Copyright (C) 1995-2001 Matthew Swift 4 | % Please see the copyright notice in \preamble below. 5 | 6 | % This file, when run through TeX or LaTeX, will generate fast loadable files 7 | % from the .sty, .cls, or .bst files mentioned below. 8 | 9 | \input docstrip 10 | \keepsilent 11 | 12 | \preamble 13 | 14 | This program is part of the Frankenstein bundle for LaTeX. 15 | 16 | Copyright (C) 1995-2001 Matthew Swift 17 | 18 | This file may have one of TWO names, either 19 | drama.sty or drama.stq. This 20 | LaTeX package will work ONLY if it is called drama.sty 21 | and placed in a proper directory. This file should have been 22 | distributed to you with a DIFFERENT file (also) called 23 | drama.sty which functions identically to this one 24 | but contains documentation in comments. This file works faster, 25 | but the other should be kept because it contains the documentation 26 | for this LaTeX package. Files called README and INSTALL should have 27 | also been distributed to you with this file; see them for more 28 | information. 29 | 30 | This program is free software; you may redistribute it and/or 31 | modify it under the conditions of the LaTeX Project Public 32 | License, either version 1.2 or (at your option) any later version. 33 | The latest version of this license is in 34 | http://www.latex-project.org/lppl.txt, and version 1.2 or later is 35 | part of all distributions of LaTeX version 1999/12/01 or later. 36 | 37 | This program is distributed in the hope that it will be useful, 38 | but WITHOUT ANY WARRANTY; without even the implied warranty of 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 | LaTeX Project Public License for more details. 41 | 42 | \endpreamble 43 | 44 | \askforoverwritefalse 45 | 46 | % This will get changed to either nothing or \nopostamble. 47 | 48 | 49 | \generate{\file{drama.stq}{\from{drama.sty}{}}} 50 | 51 | \Msg{} 52 | \Msg{***********************************************************************} 53 | \Msg{*} 54 | \Msg{* The file drama.stq is a faster replacement for the file} 55 | \Msg{* drama.sty.} 56 | \Msg{*} 57 | \Msg{* drama.stq is stripped of comments (documentation) and must be} 58 | \Msg{* renamed drama.sty and placed where LaTeX can find it} 59 | \Msg{* before it may be used.} 60 | \Msg{*} 61 | \Msg{***********************************************************************} 62 | \Msg{} 63 | 64 | \endbatchfile 65 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/unsupported/drama.tex: -------------------------------------------------------------------------------- 1 | % drama.tex -- documentation for the drama LaTeX package. 2 | % 3 | % This program is part of the Frankenstein bundle for LaTeX2e. 4 | % 5 | % Copyright (C) 1995-2001 Matt Swift 6 | % 7 | % This program is free software; you may redistribute it and/or 8 | % modify it under the conditions of the LaTeX Project Public 9 | % License, either version 1.2 or (at your option) any later 10 | % version. The latest version of this license is in 11 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later 12 | % is part of all distributions of LaTeX version 1999/12/01 or 13 | % later. 14 | % 15 | % This program is distributed in the hope that it will be useful, 16 | % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | % LaTeX Project Public License for more details. 19 | % 20 | \documentclass{ltxdoc} 21 | \makeatletter 22 | \def\part {% 23 | \clearpage 24 | \@afterindentfalse 25 | \secdef\@part\@spart 26 | } 27 | \def\StripV #1{\E@cdr #1\@nil} 28 | \makeatother 29 | \usepackage{attrib,compsci} 30 | \newbook\manual {Chicago\nocite{chicago:14} Manual of Style}[Chicago Manual] 31 | \newbook\MLAman {The\nocite{mlaman} MLA Style Manual and Guide to Scholarly Publishing} 32 | [The MLA Style Manual] 33 | \newtheorem{lessoninternal}{Lesson} 34 | \newenvironment{lesson} {% 35 | \let\AttribInit\sffamily 36 | \let\PreTrib\textsection 37 | \let\PostTrib\ShortEmpty 38 | \lessoninternal 39 | } {% 40 | \endlessoninternal 41 | } 42 | \newcommand\manualref [1] {\textsf{\S #1}} 43 | \ProcessDTXFile{drama.sty} 44 | \newlet\MaybeABib\relax 45 | \IfCitations { 46 | \def\MaybeABib {% 47 | \newpage 48 | \bibliographystyle{achicago}% 49 | \bibliography{frankenstein}% 50 | } 51 | \SaveDoXVarS 52 | \usepackage{achicago} 53 | \RestoreDoXVarS 54 | } 55 | \CodelineIndex 56 | \EnableCrossrefs 57 | \begin{document} 58 | \date{Version: \StripV\fileversion \qquad Date: \filedate\\ 59 | \relsize{-2}Documentation revision: \docdate} 60 | \author{Matt Swift \email{swift@alum.mit.edu}} 61 | \title{The \textsf{drama} LaTeX package \\\smaller \fileinfo} 62 | \maketitle 63 | \DocInput{drama.sty} 64 | \MaybeABib 65 | \newpage 66 | \PrintIndex 67 | \end{document} 68 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/unsupported/includex-test.tex: -------------------------------------------------------------------------------- 1 | %* filecontents 2 | % $Id: includex-test.tex,v 1.2 1999/02/27 05:09:26 swift Exp $ 3 | 4 | %** includex-test-aux.tex 5 | \begin{filecontents}{includex-test-aux.tex} 6 | This text is in a separate file that just contains text, and some \LaTeX\ code. 7 | For a change, let's quote \emph{Moby Dick}, chapter~94: 8 | \begin{quotation} % 9 | Squeeze!\ squeeze!\ squeeze!\ all the morning long; I squeezed that sperm 10 | till I myself almost melted into it; I squeezed that sperm till a strange 11 | sort of insanity came over me; and I found myself unwittingly squeezing my 12 | co-laborers' hands in it, mistaking their hands for the gentle globules. 13 | Such an abounding, affectionate, friendly, loving feeling did this avocation 14 | beget; that at last I was continually squeezing their hands, and looking up 15 | into their eyes sentimentally; as much as to say,---Oh!\ my dear fellow 16 | beings, why should we longer cherish any social acerbities, or know the 17 | slightest ill-humor or envy! Come; let us squeeze hands all round; nay, let 18 | us all squeeze ourselves into each other; let us squeeze ourselves 19 | universally into the very milk and sperm of kindness. 20 | 21 | Would that I could keep squeezing that sperm for ever! For now, since by many 22 | prolonged, repeated experiences, I have perceived that in all cases man must 23 | eventually lower, or at least shift, his conceit of attainable felicity; not 24 | placing it anywhere in the intellect or the fancy; but in the wife, the 25 | heart, the bed, the table, the saddle, the fire-side, the country; now that I 26 | have perceived all this, I am ready to squeeze case eternally. In thoughts 27 | of the visions of the night, I saw long rows of angels in paradise, each with 28 | his hands in a jar of spermaceti. 29 | \end{quotation} 30 | \end{filecontents} 31 | %** includex-test-aux1.tex 32 | \begin{filecontents}{includex-test-aux1.tex} 33 | \documentclass{article} 34 | 35 | \usepackage{alltt} 36 | 37 | \newcommand\preamblecmd 38 | {This line is due to the preamble of the included file.} 39 | 40 | \tdisable 41 | \tdisableone{flue} 42 | \tdisableopt[glue]{shoe} 43 | \tdisabletwo{blue}{grue} 44 | 45 | \begin{document} 46 | 47 | \tdisable 48 | \tdisableone{flue} 49 | \tdisableopt[glue]{shoe} 50 | \tdisabletwo{blue}{grue} 51 | 52 | \preamblecmd 53 | 54 | This file could be compiled on its own. 55 | 56 | \begin{alltt} 57 | Here is yet another quotation from Beckett, this time from \emph{Watt} 58 | (45--46). 59 | \end{alltt} 60 | 61 | \begin{quotation} 62 | The crocuses and the larch turning green every year a week before the others 63 | and the pastures red with uneaten sheep's placentas and the long summer days 64 | and the new-mown hay and the wood-pigeon in the morning and the cuckoo in the 65 | afternoon and the corncrake in the evening and the wasps in the jam and the 66 | smell of the gorse and the look of the gorse and the apples falling and the 67 | children walking in the dead leaves and the larch turning brown a week before 68 | the others and the chestnuts falling and the howling winds and the sea 69 | breaking over the pier and the first fires and the hooves on the road and the 70 | consumptive postman whistling \emph{The Roses Are Blooming in Picardy} and 71 | the standard oil-lamp and of course the snow and to be sure the sleet and 72 | bless your heart the slush and every fourth year the February d\`eb\^acle and 73 | the endless April showers and the crocuses and then the whole bloody business 74 | starting all over again. 75 | \end{quotation} 76 | 77 | Notice, just as one single thing among dozens, that ``crocus'' 78 | sounds like ``croak us.'' 79 | 80 | \end{document}Error 1 in radical shutdown! 81 | Error 2 in radical shutdown! 82 | 83 | None of this text should ever be set. 84 | 85 | \end{filecontents} 86 | %** includex-test-aux.sty 87 | \begin{filecontents}{includex-test-aux.sty} 88 | \renewcommand\autotest {% 89 | This text is coming from the definition of $\backslash$\texttt{autotest} that 90 | is in the auxiliary file. 91 | } 92 | 93 | \typeout{Autoload file being loaded!} 94 | 95 | \newcommand\madbomber {% 96 | \emph{I am the mad bomber!}% 97 | } 98 | 99 | \end{filecontents} 100 | 101 | %* main document 102 | 103 | \documentclass{article} 104 | \usepackage{includex,compsci} 105 | 106 | \begin{document} 107 | %* Intro 108 | \def\fileversion{v1} 109 | \def\filedate{1999/02/26} 110 | 111 | \makeatletter 112 | \def\StripV #1{\E@cdr #1\@nil} 113 | \makeatother 114 | 115 | \date{Version: \StripV\fileversion \qquad Date: \filedate} 116 | \author{Matt Swift \email{swift@alum.mit.edu}} 117 | \title{Testing the \package{includex} package} 118 | \maketitle 119 | 120 | \section{New ways to include} 121 | 122 | This will take several pages. 123 | 124 | First, check that we can |\include| as usual, so the rest of this page should 125 | be blank, and the Melville quote should be alone on the next page. 126 | 127 | \include{includex-test-aux} 128 | 129 | This should be on a new page. Now we include the same thing, but it should 130 | come immediately here because we use |\include*|: 131 | 132 | \include*{includex-test-aux} 133 | 134 | And this paragraph should immediately follow the Melville. Now, we check 135 | |\includedoc| and |\includedoc*| in a similar manner. The included file is 136 | going to use the |alltt| environment. We have loaded the package in the parent 137 | file. The |\usepackage| command in the included file should be disabled; if 138 | not, there will be an error when it tries to redefine the environment. Also, 139 | we disable several commands that will produce an error if they are not. This 140 | should be the last text on this page. 141 | 142 | \newcommand\tdisable{\typeout{Error with \protect\tdisable.}} 143 | \newcommand\tdisableone[1]{\typeout{Error with \protect\tdisableone.}} 144 | \newcommand\tdisableopt[2][]{\typeout{Error with \protect\tdisableopt.}} 145 | \newcommand\tdisabletwo[2]{\typeout{Error with \protect\tdisabletwo.}} 146 | 147 | \disable{\let\tdisable\relax} 148 | \disable{\let\tdisableone\Gobble} 149 | \disable{\let\tdisableopt\GobbleOM} 150 | \disable{\let\tdisabletwo\GobbleMM} 151 | 152 | \makeatletter 153 | \newcommand\checkp {% 154 | \@ifundefined{preamblecmd} {% 155 | \DTypeout{Preamblecmd undefined.}% 156 | }{% ELSE 157 | \DTypeout{Preamblecmd is: (\preamblecmd).}% 158 | % \let\preamblecmd\relax 159 | }% 160 | } 161 | \makeatother 162 | \checkp 163 | 164 | \includedoc{includex-test-aux1} 165 | 166 | \checkp 167 | 168 | And this should be on a new page. The first line should have said it 169 | comes from the preamble. 170 | 171 | The |\includedoc| family of commands puts the included file into a group. So 172 | |\preamblecmd| is not defined now. 173 | 174 | Now we do the same thing over, but the file should appear immediately. 175 | 176 | \includedoc*{includex-test-aux1} 177 | 178 | \checkp 179 | 180 | And this paragraph should immediately follow the Beckett. Finally, we have to 181 | check |\includedocskip| and |\includedocskip*|. The difference will be that 182 | the first line will say it comes from the parent. This should be the last text 183 | on the page. 184 | 185 | \newcommand\preamblecmd {% 186 | This def of preamblecmd comes from the parent. 187 | } 188 | 189 | \includedocskip{includex-test-aux1} 190 | 191 | \checkp 192 | This should be on a new page. And once again, the quote should follow 193 | immediately here: 194 | 195 | \includedocskip*{includex-test-aux1} 196 | 197 | \checkp 198 | 199 | And this text should immediately follow the quote. 200 | 201 | %* end 202 | 203 | END OF TEST 204 | 205 | \end{document} 206 | 207 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/unsupported/includex.dvi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/frankenstein/unsupported/includex.dvi -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/unsupported/includex.ins: -------------------------------------------------------------------------------- 1 | % includex.ins -- docstrip driver for the includex LaTeX package 2 | % 3 | % Copyright (C) 1995-2001 Matthew Swift 4 | % Please see the copyright notice in \preamble below. 5 | 6 | % This file, when run through TeX or LaTeX, will generate fast loadable files 7 | % from the .sty, .cls, or .bst files mentioned below. 8 | 9 | \input docstrip 10 | \keepsilent 11 | 12 | \preamble 13 | 14 | This program is part of the Frankenstein bundle for LaTeX. 15 | 16 | Copyright (C) 1995-2001 Matthew Swift 17 | 18 | This file may have one of TWO names, either 19 | includex.sty or includex.stq. This 20 | LaTeX package will work ONLY if it is called includex.sty 21 | and placed in a proper directory. This file should have been 22 | distributed to you with a DIFFERENT file (also) called 23 | includex.sty which functions identically to this one 24 | but contains documentation in comments. This file works faster, 25 | but the other should be kept because it contains the documentation 26 | for this LaTeX package. Files called README and INSTALL should have 27 | also been distributed to you with this file; see them for more 28 | information. 29 | 30 | This program is free software; you may redistribute it and/or 31 | modify it under the conditions of the LaTeX Project Public 32 | License, either version 1.2 or (at your option) any later version. 33 | The latest version of this license is in 34 | http://www.latex-project.org/lppl.txt, and version 1.2 or later is 35 | part of all distributions of LaTeX version 1999/12/01 or later. 36 | 37 | This program is distributed in the hope that it will be useful, 38 | but WITHOUT ANY WARRANTY; without even the implied warranty of 39 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 40 | LaTeX Project Public License for more details. 41 | 42 | \endpreamble 43 | 44 | \askforoverwritefalse 45 | 46 | % This will get changed to either nothing or \nopostamble. 47 | 48 | 49 | \generate{\file{includex.stq}{\from{includex.sty}{}}} 50 | 51 | \Msg{} 52 | \Msg{***********************************************************************} 53 | \Msg{*} 54 | \Msg{* The file includex.stq is a faster replacement for the file} 55 | \Msg{* includex.sty.} 56 | \Msg{*} 57 | \Msg{* includex.stq is stripped of comments (documentation) and must be} 58 | \Msg{* renamed includex.sty and placed where LaTeX can find it} 59 | \Msg{* before it may be used.} 60 | \Msg{*} 61 | \Msg{***********************************************************************} 62 | \Msg{} 63 | 64 | \endbatchfile 65 | -------------------------------------------------------------------------------- /orsnz_paper/frankenstein/unsupported/includex.tex: -------------------------------------------------------------------------------- 1 | % includex.tex -- documentation for the includex LaTeX package. 2 | % 3 | % This program is part of the Frankenstein bundle for LaTeX2e. 4 | % 5 | % Copyright (C) 1995-2001 Matt Swift 6 | % 7 | % This program is free software; you may redistribute it and/or 8 | % modify it under the conditions of the LaTeX Project Public 9 | % License, either version 1.2 or (at your option) any later 10 | % version. The latest version of this license is in 11 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later 12 | % is part of all distributions of LaTeX version 1999/12/01 or 13 | % later. 14 | % 15 | % This program is distributed in the hope that it will be useful, 16 | % but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | % LaTeX Project Public License for more details. 19 | % 20 | \documentclass{ltxdoc} 21 | \makeatletter 22 | \def\part {% 23 | \clearpage 24 | \@afterindentfalse 25 | \secdef\@part\@spart 26 | } 27 | \def\StripV #1{\E@cdr #1\@nil} 28 | \makeatother 29 | \usepackage{attrib,compsci} 30 | \newbook\manual {Chicago\nocite{chicago:14} Manual of Style}[Chicago Manual] 31 | \newbook\MLAman {The\nocite{mlaman} MLA Style Manual and Guide to Scholarly Publishing} 32 | [The MLA Style Manual] 33 | \newtheorem{lessoninternal}{Lesson} 34 | \newenvironment{lesson} {% 35 | \let\AttribInit\sffamily 36 | \let\PreTrib\textsection 37 | \let\PostTrib\ShortEmpty 38 | \lessoninternal 39 | } {% 40 | \endlessoninternal 41 | } 42 | \newcommand\manualref [1] {\textsf{\S #1}} 43 | \ProcessDTXFile{includex.sty} 44 | \newlet\MaybeABib\relax 45 | \IfCitations { 46 | \def\MaybeABib {% 47 | \newpage 48 | \bibliographystyle{achicago}% 49 | \bibliography{frankenstein}% 50 | } 51 | \SaveDoXVarS 52 | \usepackage{achicago} 53 | \RestoreDoXVarS 54 | } 55 | \CodelineIndex 56 | \EnableCrossrefs 57 | \begin{document} 58 | \date{Version: \StripV\fileversion \qquad Date: \filedate\\ 59 | \relsize{-2}Documentation revision: \docdate} 60 | \author{Matt Swift \email{swift@alum.mit.edu}} 61 | \title{The \textsf{includex} LaTeX package \\\smaller \fileinfo} 62 | \maketitle 63 | \DocInput{includex.sty} 64 | \MaybeABib 65 | \newpage 66 | \PrintIndex 67 | \end{document} 68 | -------------------------------------------------------------------------------- /orsnz_paper/gpa_plot.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/gpa_plot.pdf -------------------------------------------------------------------------------- /orsnz_paper/relsize.sty: -------------------------------------------------------------------------------- 1 | % relsize.sty 2.0b Nov 1, 1999 2 | 3 | % This file is in the public domain. 4 | 5 | % These three versions are functionally the same: 6 | % 2.0b Nov 1, 1999 Changes: clarified public domain status; 7 | % fixed dox typo, 2d instance of MS's email 8 | % 2.0a Jan 13, 1999 Changes: Matt Swift's email 9 | % 2.0 Mar 15, 1995 10 | 11 | % New LaTex2e version by Donald Arseneau and 12 | % Matt Swift . 13 | % Original LaTex2.09 smaller.sty author: Bernie Cosell 14 | % 15 | % Setting the font size relative to the current size 16 | % 17 | % commands are: 18 | % \relsize{n} where n gives the number of steps to change the size by; 19 | % n = -3 changes from \large to \footnotesize. 20 | % \smaller == \relsize{-1} 21 | % \larger == \relsize{1} 22 | % \textsmaller{text}, \textlarger{text} - versions that take an argument 23 | % \mathsmaller{A}, \mathlarger{B} - math versions 24 | % (The math versions are quite different from the text versions.) 25 | 26 | % There are more instructions at the end of the file (after \endinput). 27 | 28 | \ProvidesPackage{relsize}[1999/11/01 ver 2.0b] 29 | 30 | \DeclareRobustCommand\relsize[1]{% 31 | \ifmmode \@nomath\relsize\else 32 | \@tempcnta % assign number representing current font size 33 | \ifx\@currsize\normalsize 4\else % funny order is to have most ... 34 | \ifx\@currsize\small 3\else % ...likely sizes checked first 35 | \ifx\@currsize\footnotesize 2\else 36 | \ifx\@currsize\large 5\else 37 | \ifx\@currsize\Large 6\else 38 | \ifx\@currsize\LARGE 7\else 39 | \ifx\@currsize\scriptsize 1\else 40 | \ifx\@currsize\tiny 0\else 41 | \ifx\@currsize\huge 8\else 42 | \ifx\@currsize\Huge 9\else 43 | 4\rs@unknown@warning % unknown state: \normalsize as starting point 44 | \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi 45 | % Change the number by the given increment: 46 | \advance\@tempcnta#1\relax 47 | % watch out for size underflow: 48 | \ifnum\@tempcnta<\z@ \rs@size@warning{small}{\string\tiny}\@tempcnta\z@ \fi 49 | \ifcase\@tempcnta % set new size based on altered number 50 | \tiny \or \scriptsize \or \footnotesize \or \small \or \normalsize \or 51 | \large \or \Large \or \LARGE \or \huge \or \Huge \else 52 | \rs@size@warning{large}{\string\Huge}\Huge 53 | \fi\fi} 54 | 55 | \newcommand\rs@size@warning[2]{\PackageWarning{relsize}{% 56 | Size requested is too #1.\MessageBreak Using #2 instead}} 57 | 58 | \newcommand\rs@unknown@warning{\PackageWarning{relsize}{Current font size 59 | is unknown! (Why?!?)\MessageBreak Assuming \string\normalsize}} 60 | 61 | \DeclareRobustCommand\larger[1][\@ne]{\relsize{+#1}} 62 | \DeclareRobustCommand\smaller[1][\@ne]{\relsize{-#1}} 63 | \DeclareRobustCommand\textlarger[2][\@ne]{{\relsize{+#1}#2}} 64 | \DeclareRobustCommand\textsmaller[2][\@ne]{{\relsize{-#1}#2}} 65 | \newcommand\mathsmaller[1]{{\mathchoice{\textstyle}% 66 | {\scriptstyle}{\scriptscriptstyle}{\scriptscriptstyle}#1}} 67 | \DeclareRobustCommand\mathlarger[1]{\mathchoice 68 | {\mbox{\larger$\displaystyle#1\m@th$}}% 69 | {{\displaystyle#1}}{{\textstyle#1}}{{\scriptstyle#1}}} 70 | 71 | \endinput 72 | ========================================================== 73 | 74 | R E L S I Z E . S T Y ver 2.0b Nov 1, 1999 75 | 76 | by Donald Arseneau, asnd@reg.triumf.ca, based on smaller.sty by Bernie 77 | Cosell, cosell@WILMA.BBN.COM, and combined with the version by Matt Swift, 78 | swift@alum.mit.edu. 79 | 80 | It is frequently the case that something should be typeset somewhat larger 81 | or smaller than the surrounding text, whatever that size happens to be. 82 | Specifying such sizing commands explicitly makes it difficult to modify the 83 | font sizes of a document at a later time, and makes it hard to write macros 84 | that work at arbitrary sizes. Relsize.sty defines several commands for LaTeX 85 | to set font sizes relative to the current size. 86 | 87 | To refresh your memory, the font sizing commands in LaTeX are, in order: 88 | \tiny, \scriptsize, \footnotesize, \small, \normalsize, \large, \Large, 89 | \LARGE, \huge, \Huge. The main new command provided is \relsize, which 90 | takes one (positive or negative) number as its argument; the number specifies 91 | how many increments by which to change the font size. For example, if 92 | {\relsize{-2} smaller} appears in normal sized text, the word "smaller" 93 | is printed in footnote sized type. If the same command appears in a \Large 94 | section title, then "smaller" is printed in normal size. 95 | 96 | There are also the commands \larger and \smaller, which normally change the 97 | font size by one step in the obvious direction; \larger is an abbreviation 98 | for \relsize{+1}, and \smaller is an abbreviation for \relsize{-1}. For 99 | example, {\large... \larger{WOW!}} prints "WOW" in \Large type. You can 100 | also specify bigger steps as an optional argument for \larger and \smaller: 101 | \larger[3] is equivalent to \relsize{3}; \smaller[2] is like \relsize{-2}. 102 | Both \larger and \smaller accept negative arguments, but please don't make 103 | things so obscure! If you want to change size by several steps it is 104 | much better to give an increment than to string several \larger commands 105 | together; i.e., \relsize{3} or \larger[3], but not \larger\larger\larger. 106 | 107 | If the size requested is too small or too large, a warning is given, and 108 | the size will only change as far as \tiny or \Huge, as appropriate. 109 | 110 | All of the \relsize, \larger, and \smaller commands are "switches" just 111 | like the regular sizing commands. That is, they change the size for all 112 | following text until the scope is ended by a closing brace. There are 113 | alternate versions called \textlarger and \textsmaller that take some text 114 | as an argument and apply the size change to only that text: 115 | \textlarger{big}. 116 | 117 | All of the commands described above are text commands; they cannot be used 118 | in math mode. There are special \mathsmaller and \mathlarger commands 119 | provided, but these do not use the same sizes that the text versions use. 120 | Instead, they step between the usual math "styles" which you can explicitly 121 | set using the commands \displaystyle, \textstyle, \scriptstyle, and 122 | \scriptscriptstyle [see Lamport, LaTeX/Manual (1st ed, p.54); GMS The LaTeX 123 | Companion, p.255]. However, the \mathlarger command will also increase the 124 | size beyond regular \displaystyle by selecting a larger regular font size 125 | (using \larger). (Yes, this is a kludge, but it is too useful to leave 126 | out.) If you want to use this to create big integral signs, then you must 127 | also load the package "exscale" so that math symbols can change size. 128 | The sizes selected are: 129 | 130 | Current style \mathsmaller gives \mathlarger gives 131 | --------------- ---------------------- ------------------------ 132 | \displaystyle \textstyle (almost same) \displaystyle in a \larger font 133 | \textstyle \scriptstyle \displaystyle (almost same) 134 | \scriptstyle \scriptscriptstyle \textstyle 135 | \scriptscriptstyle \scriptscriptstyle (same) \scriptstyle 136 | 137 | For example, try $\frac{\mathlarger{E}}{E}$. Note that, for most symbols, 138 | \displaystyle and \textstyle are the same size, so $N \mathlarger{N}$ 139 | gives two identical N's, but \sum and \int do get bigger in display style: 140 | $\int\mathlarger{\int}$, and fractions are treated differently too: 141 | $\frac{1}{2} \mathlarger{\frac{1}{2}}$. As you might have guessed, 142 | \mathlarger and \mathsmaller should only be used in math mode. 143 | 144 | Fine point: The combination \relsize{n}\relsize{-n} is not guaranteed to 145 | restore the current font size! That is because the increment "n" may be 146 | enough to overflow the range of sizes. Say you are in \huge text already, 147 | and you do \relsize{4}. There is nothing bigger than \Huge so that is the 148 | size you get. Then an ensuing \relsize{-4} will take four steps smaller 149 | and change the size to \large. You should use grouping to undo relative 150 | size changes because it is unsafe to counteract one change with an "equal" 151 | change in the opposite direction. 152 | 153 | Donald Arseneau asnd@reg.triumf.ca 154 | -------------------------------------------------------------------------------- /orsnz_paper/slemph.sty: -------------------------------------------------------------------------------- 1 | %^^A* legal notices 2 | % \iffalse 3 | % 4 | % This program is part of the Frankenstein bundle for LaTeX. 5 | % 6 | % Copyright 1995-2001 Matt Swift . 7 | % 8 | % This file contains both the code and documentation for the 9 | % slemph LaTeX package. It will work ONLY if it is placed in a 10 | % proper directory. Files called README, INSTALL, slemph.tex 11 | % and slemph.ins should have also been distributed to you 12 | % with this file. See them for more information on how to typeset 13 | % the documentation with LaTeX and how to generate a version of this 14 | % file that will work faster than this one. 15 | % 16 | % This program is free software; you may redistribute it and/or 17 | % modify it under the conditions of the LaTeX Project Public 18 | % License, either version 1.2 or (at your option) any later version. 19 | % The latest version of this license is in 20 | % http://www.latex-project.org/lppl.txt, and version 1.2 or later is 21 | % part of all distributions of LaTeX version 1999/12/01 or later. 22 | % 23 | % This program is distributed in the hope that it will be useful, 24 | % but without any warranty; without even the implied warranty of 25 | % merchantability or fitness for a particular purpose. See the 26 | % LaTeX Project Public License for more details. 27 | % 28 | % \fi 29 | % 30 | %^^A* checks 31 | % 32 | %^^A NOTE: The character table, with two %'s, will get written to all files. 33 | %% \CharacterTable 34 | %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z 35 | %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z 36 | %% Digits \0\1\2\3\4\5\6\7\8\9 37 | %% Exclamation \! Double quote \" Hash (number) \# 38 | %% Dollar \$ Percent \% Ampersand \& 39 | %% Acute accent \' Left paren \( Right paren \) 40 | %% Asterisk \* Plus \+ Comma \, 41 | %% Minus \- Point \. Solidus \/ 42 | %% Colon \: Semicolon \; Less than \< 43 | %% Equals \= Greater than \> Question mark \? 44 | %% Commercial at \@ Left bracket \[ Backslash \\ 45 | %% Right bracket \] Circumflex \^ Underscore \_ 46 | %% Grave accent \` Left brace \{ Vertical bar \| 47 | %% Right brace \} Tilde \~} 48 | % 49 | % \CheckSum{41} 50 | % 51 | % \begin{abstract} 52 | % The \package{slemph} package defines the commands \cs\itswitch, \cs\slswitch, 53 | % \cs\textitswitch, and \cs\textslswitch, which switch between slanted or 54 | % italic type and upright type. They can be used to represent emphasis with 55 | % slanted type. 56 | % \end{abstract} 57 | % \tableofcontents 58 | % 59 | % \part{Discussion} 60 | % 61 | % \DescribeMacro\itswitch 62 | % \cs\itswitch calls \cs\itshape if the current font is not italic, and 63 | % \cs\upshape if the current font is italic. 64 | % 65 | % \DescribeMacro\slswitch 66 | % \cs\slswitch calls \cs\slshape if the current font is not slanted, and 67 | % \cs\upshape if the current font is slanted. 68 | % 69 | % \DescribeMacro\textitswitch 70 | % \cs\textitswitch\marg{text} sets its argument with \cs\itshape if the 71 | % current font is not italic, or \cs\upshape if the current font is italic. 72 | % 73 | % \DescribeMacro\textslswitch 74 | % \cs\textslswitch\marg{text} sets its argument with \cs\slshape if the 75 | % current font is not slanted, or \cs\upshape if the current font is slanted. 76 | % 77 | % Regarding all four commands above, notice that the factory definition of 78 | % \cs\em would switch based on whether the current font was \emph{sloped}, 79 | % which includes both slanted and italic type. I think slanted and italic type 80 | % are different enough that you can leave, say, an italic word in the midst of 81 | % a slanted context and it will still communicate to the reader whatever italic 82 | % type signifies in an upright context. 83 | % 84 | % \StopEventually{} 85 | % 86 | % \part{Implementation} 87 | % 88 | % \section{Version control} 89 | % 90 | % \begin{macro}{\fileinfo} 91 | % \begin{macro}{\DoXUsepackagE} 92 | % \begin{macro}{\HaveECitationS} 93 | % \begin{macro}{\fileversion} 94 | % \begin{macro}{\filedate} 95 | % \begin{macro}{\docdate} 96 | % \begin{macro}{\PPOptArg} 97 | % These definitions must be the first ones in the file. 98 | % \begin{macrocode} 99 | \def\fileinfo{slanted emphasis (Frankenstein's gait)} 100 | \def\DoXPackageS {} 101 | \def\fileversion{v1.2} 102 | \def\filedate{1999/02/25} 103 | \def\docdate{1999/02/25} 104 | \edef\PPOptArg {% 105 | \filedate\space \fileversion\space \fileinfo 106 | } 107 | % \end{macrocode} 108 | % \end{macro} 109 | % \end{macro} 110 | % \end{macro} 111 | % \end{macro} 112 | % \end{macro} 113 | % \end{macro} 114 | % \end{macro} 115 | % 116 | % If we're loading this file from a \cs\ProcessDTXFile command (see the 117 | % \package{compsci} package), then \cs\JusTLoaDInformatioN will be defined; 118 | % othewise we assume it is not (that's why the FunkY NamE). 119 | % 120 | % If we're loading from \cs\ProcessDTXFile, we want to load the packages listed 121 | % in \cs\DoXPackageS (needed to typeset the documentation for this file) and 122 | % then bail out. Otherwise, we're using this file in a normal way as a 123 | % package, so do nothing. \cs\DoXPackageS, if there are any, are declared in 124 | % the \ext{dtx} file, and, if you're reading the typeset documentation of this 125 | % package, would appear just above. (It's OK to call \cs\usepackage with an 126 | % empty argument or \cs\relax, by the way.) 127 | % \begin{macrocode} 128 | \makeatletter% A special comment to help create bst files. Don't change! 129 | \@ifundefined{JusTLoaDInformatioN} {% 130 | }{% ELSE (we know the compsci package is already loaded, too) 131 | \UndefineCS\JusTLoaDInformatioN 132 | \SaveDoXVarS 133 | \eExpand\csname DoXPackageS\endcsname\In {%use \csname in case it's undefined 134 | \usepackage{#1}% 135 | }% 136 | \RestoreDoXVarS 137 | \makeatother 138 | \endinput 139 | }% A special comment to help create bst files. Don't change! 140 | % \end{macrocode} 141 | % 142 | % Now we check for \LaTeX2e and declare the LaTeX package. 143 | % \begin{macrocode} 144 | \NeedsTeXFormat{LaTeX2e} 145 | \ProvidesPackage{slemph}[\PPOptArg] 146 | % \end{macrocode}^^A special comment to help create bst files. Don't change! 147 | % 148 | % ^^A NOTE: We have to compensate for the above backslashes, which are not 149 | % ^^A actually in the .dtx file the author works on, by adding to the 150 | % ^^A CheckSum. 151 | %% 152 | % \AddToCheckSum{17}^^A `dtx-update-checksum' automatically handles this. 153 | % \AddToCheckSum{7}^^A The half a macrocode env. at the top is missed, however... 154 | % \AddToCheckSum{10}^^A ... and so are the 5 \defs from the .dtx file 155 | % ^^A that precede it. 156 | % \IfCitations {% 157 | % \AddToCheckSum{2}^^A When \initelyHavECitationS is defined in 158 | % } ^^A the .dtx file, we need 2 more in the CheckSum. 159 | % 160 | % 161 | % \section{The switchers} 162 | % 163 | % \begin{macro}{\itswitch} 164 | % \begin{macro}{\textitswitch} 165 | % \begin{macro}{\slswitch} 166 | % \begin{macro}{\textslswitch} 167 | % Normally we would use the \cs\NewRobustCommand and \cs\NewTextFontCommand 168 | % commands from the \package{moredefs} package, but this package is so small we 169 | % might as well do that by hand and avoid dependence on that larger package, 170 | % for efficiency. 171 | % \begin{macrocode} 172 | \newcommand\itswitch {} 173 | \newcommand\slswitch {} 174 | \newcommand\textitswitch {} 175 | \newcommand\textslswitch {} 176 | 177 | \DeclareRobustCommand\itswitch {% 178 | \@nomath\itswitch 179 | \def\reserved@a{it}% 180 | \ifx\f@shape\reserved@a 181 | \upshape 182 | \else 183 | \itshape 184 | \fi 185 | } 186 | \DeclareRobustCommand\slswitch {% 187 | \@nomath\slswitch 188 | \def\reserved@a{sl}% 189 | \ifx\f@shape\reserved@a 190 | \upshape 191 | \else 192 | \slshape 193 | \fi 194 | } 195 | \DeclareTextFontCommand\textitswitch\itswitch 196 | \DeclareTextFontCommand\textslswitch\slswitch 197 | % \end{macrocode} 198 | % \end{macro} 199 | % \end{macro} 200 | % \end{macro} 201 | % \end{macro} 202 | % 203 | % \part{Configuration} 204 | % 205 | % Load a configuration file. 206 | % \begin{macrocode} 207 | \InputIfFileExists{slemph.cfg}{}{} 208 | % \end{macrocode} 209 | % 210 | % The contents of the distributed configuration file are below. 211 | % 212 | % \InputIfFileExists{slemph.cfg}{}{} 213 | % 214 | % \Finale 215 | -------------------------------------------------------------------------------- /orsnz_paper/solverstudio_boxplot.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/solverstudio_boxplot.pdf -------------------------------------------------------------------------------- /orsnz_paper/solverstudio_boxplot_c.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/solverstudio_boxplot_c.pdf -------------------------------------------------------------------------------- /orsnz_paper/solverstudio_screenshot.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/solverstudio_screenshot.pdf -------------------------------------------------------------------------------- /orsnz_paper/solverstudio_screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_paper/solverstudio_screenshot.png -------------------------------------------------------------------------------- /orsnz_presentation/bar_chart.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_presentation/bar_chart.pdf -------------------------------------------------------------------------------- /orsnz_presentation/gpa.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_presentation/gpa.pdf -------------------------------------------------------------------------------- /orsnz_presentation/gpa_plot.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_presentation/gpa_plot.pdf -------------------------------------------------------------------------------- /orsnz_presentation/group.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_presentation/group.JPG -------------------------------------------------------------------------------- /orsnz_presentation/group_allocator.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_presentation/group_allocator.pdf -------------------------------------------------------------------------------- /orsnz_presentation/group_allocator.tex: -------------------------------------------------------------------------------- 1 | % $Header: /Users/joseph/Documents/LaTeX/beamer/solutions/conference-talks/conference-ornate-20min.en.tex,v 90e850259b8b 2007/01/28 20:48:30 tantau $ 2 | 3 | \documentclass{beamer} 4 | 5 | % This file is a solution template for: 6 | 7 | % - Talk at a conference/colloquium. 8 | % - Talk length is about 20min. 9 | % - Style is ornate. 10 | 11 | 12 | 13 | % Copyright 2004 by Till Tantau . 14 | % 15 | % In principle, this file can be redistributed and/or modified under 16 | % the terms of the GNU Public License, version 2. 17 | % 18 | % However, this file is supposed to be a template to be modified 19 | % for your own needs. For this reason, if you use this file as a 20 | % template and not specifically distribute it as part of a another 21 | % package/program, I grant the extra permission to freely copy and 22 | % modify this file as you see fit and even to delete this copyright 23 | % notice. 24 | 25 | 26 | \mode 27 | { 28 | \usetheme{Warsaw} 29 | % or ... 30 | 31 | \setbeamercovered{transparent} 32 | % or whatever (possibly just delete it) 33 | %\useoutertheme[footline=authortitle]{miniframes} 34 | } 35 | 36 | \setbeamercolor{note}{fg=black,bg=lightgray} 37 | \usepackage[english]{babel} 38 | % or whatever 39 | 40 | \usepackage[latin1]{inputenc} 41 | % or whatever 42 | 43 | \usepackage{times} 44 | \usepackage[T1]{fontenc} 45 | % Or whatever. Note that the encoding and the font should match. If T1 46 | % does not look nice, try deleting the line with the fontenc. 47 | 48 | 49 | \title[Partitioning students into equitable groups] % (optional, use only with long paper titles) 50 | {Partitioning of students into equitable groups using SolverStudio} 51 | 52 | % \subtitle 53 | % {Include Only If Paper Has a Subtitle} 54 | 55 | \author[Michael Fairley and Oscar Dowson] % (optional, use only with lots of authors) 56 | {Michael Fairley \and Oscar Dowson} 57 | % - Give the names in the same order as the appear in the paper. 58 | % - Use the \inst{?} command only if the authors have different 59 | % affiliation. 60 | 61 | \institute[University of Auckland] % (optional, but mostly needed) 62 | { 63 | Department of Engineering Science\\ 64 | University of Auckland 65 | } 66 | % - Use the \inst command only if there are several affiliations. 67 | % - Keep it simple, no one is interested in your street address. 68 | 69 | \date[] % (optional, should be abbreviation of conference name) 70 | {2014 Joint NZSA+ORSNZ Conference} 71 | % - Either use conference name or its abbreviation. 72 | % - Not really informative to the audience, more for people (including 73 | % yourself) who are reading the slides online 74 | 75 | \subject{Operations Research} 76 | % This is only inserted into the PDF information catalog. Can be left 77 | % out. 78 | 79 | 80 | 81 | % If you have a file called "university-logo-filename.xxx", where xxx 82 | % is a graphic format that can be processed by latex or pdflatex, 83 | % resp., then you can add a logo as follows: 84 | 85 | % \pgfdeclareimage[height=0.5cm]{university-logo}{university_logo.eps} 86 | % \logo{\pgfuseimage{university-logo}} 87 | 88 | 89 | 90 | % Delete this, if you do not want the table of contents to pop up at 91 | % the beginning of each subsection: 92 | % \AtBeginSubsection[] 93 | % { 94 | % \begin{frame}{Outline} 95 | % \tableofcontents[currentsection,currentsubsection] 96 | % \end{frame} 97 | % } 98 | 99 | 100 | % If you wish to uncover everything in a step-wise fashion, uncomment 101 | % the following command: 102 | 103 | %\beamerdefaultoverlayspecification{<+->} 104 | 105 | 106 | \begin{document} 107 | 108 | \begin{frame} 109 | \titlepage 110 | \end{frame} 111 | 112 | \begin{frame}{Outline} 113 | \tableofcontents 114 | % You might wish to add the option [pausesections] 115 | \end{frame} 116 | 117 | 118 | % Structuring a talk is a difficult task and the following structure 119 | % may not be suitable. Here are some rules that apply for this 120 | % solution: 121 | 122 | % - Exactly two or three sections (other than the summary). 123 | % - At *most* three subsections per section. 124 | % - Talk about 30s to 2min per frame. So there should be between about 125 | % 15 and 30 frames, all told. 126 | 127 | % - A conference audience is likely to know very little of what you 128 | % are going to talk about. So *simplify*! 129 | % - In a 20min talk, getting the main ideas across is hard 130 | % enough. Leave out details, even if it means being less precise than 131 | % you think necessary. 132 | % - If you omit details that are vital to the proof/implementation, 133 | % just say so once. Everybody will be happy with that. 134 | 135 | \section{Motivation} 136 | 137 | \subsection{ENGGEN 403: Managing a Business} 138 | 139 | \begin{frame}{The systems engineering group project} 140 | \begin{itemize} 141 | \item All final year engineering students 142 | \item \textasciitilde600 students divided into groups of 25 143 | \item One week 144 | \end{itemize} 145 | \end{frame} 146 | 147 | \begin{frame}{What is an equitable group?} 148 | 149 | 150 | \end{frame} 151 | 152 | \subsection{Previous Method} 153 | \begin{frame}{Previous Method} 154 | \begin{itemize} 155 | \item Manual 156 | \item Akin to sequential greedy algorithm 157 | \item Time consuming (\textasciitilde 2 days) 158 | \item Difficult to train future course organisers 159 | \end{itemize} 160 | \end{frame} 161 | 162 | \section{Our Solution} 163 | 164 | \subsection{Model} 165 | \begin{frame}{Mixed Integer Programme} 166 | \begin{itemize} 167 | \item Decision variables 168 | \begin{itemize} 169 | \item binary, assign each student to a group 170 | \end{itemize} 171 | \pause 172 | \item Objective function 173 | \begin{itemize} 174 | \item minimise spread of group mean GPA 175 | \item minimise spread of group GPA variance 176 | \end{itemize} 177 | \pause 178 | \item Constraints 179 | \begin{itemize} 180 | \item evenly distribute gender, discipline, ethnicity 181 | \item calculate group mean GPA and variance 182 | \end{itemize} 183 | \pause 184 | \item Data 185 | \begin{itemize} 186 | \item university held student records 187 | \end{itemize} 188 | \end{itemize} 189 | \end{frame} 190 | \subsection{Implementation} 191 | \begin{frame}{Microsoft Excel Spreadsheet} 192 | \begin{itemize} 193 | \item SolverStudio plug-in 194 | \item PuLP modelling language 195 | \item COIN-OR CBC solver 196 | \item End user only needs existing Excel skills 197 | \end{itemize} 198 | \end{frame} 199 | \begin{frame}{Interface Screenshot} 200 | \centering 201 | \includegraphics[width=11cm]{screenshot.png} 202 | \end{frame} 203 | \begin{frame}{Visualisation Tools} 204 | \centering 205 | \includegraphics[height=3.8cm]{bar_chart.pdf} 206 | \hfill 207 | \includegraphics[height=3.8cm]{gpa.pdf} 208 | \begin{itemize} 209 | \item Automatically generated charts 210 | \end{itemize} 211 | \end{frame} 212 | \subsection{Validation} 213 | \begin{frame}{Solution compared with 2013 manual allocation} 214 | \begin{itemize} 215 | \item Manual allocation in 2013 provided benchmark 216 | \item Optimisation mostly better than manual 217 | \item Difficult to compare solutions 218 | \item Optimisation much faster (2 min vs 2 days) 219 | \end{itemize} 220 | \end{frame} 221 | \begin{frame}{Optimisation markedly reduced GPA spread} 222 | \centering 223 | \includegraphics[height=6cm]{gpa_plot.pdf} 224 | \end{frame} 225 | 226 | \section*{Summary} 227 | \begin{frame}{Summary} 228 | \begin{itemize} 229 | \item Model formulated to allocate students to groups 230 | \item Combination of Excel, SolverStudio and PuLP lead to quick implementation time and easy to use interface for end user 231 | \item From idea to real-world application only took 2 weeks 232 | \item Groups successfully allocated in 2014 233 | \end{itemize} 234 | \end{frame} 235 | 236 | { 237 | \usebackgroundtemplate{\includegraphics[width=\paperwidth]{group.JPG}} 238 | 239 | \begin{frame}[plain] 240 | 241 | \end{frame} 242 | } 243 | 244 | \begin{frame} 245 | \begin{beamercolorbox}[center,shadow=true,rounded=true,]{note} 246 | Questions? 247 | \end{beamercolorbox} 248 | 249 | % \begin{block}{Spreadsheet download link} 250 | % http://github.com/odow/group-allocator 251 | % \end{block} 252 | 253 | \end{frame} 254 | 255 | \end{document} 256 | 257 | 258 | -------------------------------------------------------------------------------- /orsnz_presentation/screenshot.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/odow/group-allocator/64536423a1fe403596e4fc877cf8a085d2894d38/orsnz_presentation/screenshot.PNG --------------------------------------------------------------------------------