Changes

Jump to navigation Jump to search
191 bytes added ,  19:02, 11 August 2005
m
added Category "sample documents"
<texcode>
% Filename: env_mla.tex
 
%Provided Methods:
% \MLA[First][Last][Prof][Class][Date][Title]
% \startlongquote ... \stoplongquote
% \startworkscited ... \stopworkscited
 
\startenvironment env_mla
% paper, layout, etc.
\setuppapersize[letter]
\setuplayout[width=6.5in,height=10in10.5in,topspace=0.5in,backspace=1in,
header=0.5in,footer=0.5in]
% last name, page number
\setuppagenumbering[left=MyLastName ,location={header,right}]
% double space
\setupinterlinespace[line=5.6ex]
% 1/2 inch indents\setupindenting[0.5in]
% jagged-right (aligned to the left)
\setupalign[right]
% font
\setupbodyfont[romanrm,12pt]% startstop regions to use:% longquote, header, title, workscitedfor long quotes
\definestartstop[longquote][
before={\indenting[never]
after={\stopnarrower
\indenting[yes]}]
 % for heading and header\def\definestartstopMLA#1[#2][#3][#4][header#5][#6][#7]% before= {\indentingsetuppagenumbering[never]}left=#3 , afterlocation={\indenting[yes]header,right}]\definestartstop[title][ before={ \indenting[never] #2 #3\par#4\par#5\par#6\par\startalignment[middle]}, after={#7\stopalignment \indenting[yes]}]
% following hanging indent code (also in workscited) taken from
% http://www.ntg.nl/pipermail/ntg-context/2004/005280.html
\egroup
\indenting[yes]}]
 
\stopenvironment
</texcode>
<texcode>
\environment env_mla
\MLA[Jin-Ho][King][Professor Wotsisnam][Engrish 250]%
[30 February 2004][Foundation for Poor Diction]
\starttext
\startheader
Jin-Ho King
 
Professor Wotsisnam
 
Engrish 250
 
30 February 2004
\stopheader
 
\starttitle
Foundation for Poor Diction
\stoptitle
 
There once was a young man who wanted to write. He wrote and
wrote. He wrote nothing of value. All his life, he struggled
\startworkscited
 
Crane, Irod. ``The Complications of Existential
Transcendence." {\em Life and Library}. Boston: Trash, 2004.
* To make the hanging indent work, make sure there is a blank line between the last line of the bibliographic list and <tt>\stopworkscited</tt>.
* Make sure the arguments to the MLA macro are all on one line. (An alternative is to end a line with "%" to ignore the whitespace until the next argument&mdash;see the example.)
 
[[Category:Sample documents]]

Navigation menu