% $Id: kgc.sty,v 1.12 2004/02/03 12:31:04 jettero Exp $ \usepackage{makeidx} \usepackage{cjwresize} \setlength{\textwidth}{6.5in}\resize \usepackage{fancyhdr} \pagestyle{fancy} \newcommand{\ARK}{15kyu} % The author's Rank \newcommand{\ARKfsh}{19kyu} % rank given 4 stones against the author \newcommand{\aARK}{an \ARK} % The author's Rank with indefinite article attached \newcommand{\aARKfsh}{a \ARKfsh} % h4 rank with indefinite article attached \newcommand{\KGO}{Kalamazoo Go Club} \newcommand{\fref}[1]{figure \ref{#1}} \newcommand{\fpref}[1]{\fref{#1} (pg. \pageref{#1})} % only use if it's far away \newcommand{\jterm}[1]{or \term{#1}} \newcommand{\spref}[1]{see section \ref{#1} on pg. \pageref{#1}} % \newcommand{\term}[1]{{\em #1}\index{#1}} % http://groups.google.com/groups?th=8ca5a6d561bc546 % If that link doesn't work, it was in comp.text.tex, search for "perl latex komi dame namedef" \newcommand{\term}[1]{% \@ifundefined{@#1}{% \@namedef{@#1}{#1}% {\em #1}\index{#1} % (1) Do whatever one needs to do on first use of #1 }{#1\index{#1} % (2) Do whatever one needs to do on later use of #1 }% } \newcommand{\fullterm}[2]{\term{#1} \jterm{#2}} \newcommand{\Title}[4]{ % #1 - Title % #2 - SubTitle % #3 - Writer % #4 - Post Title \begin{minipage}{\textwidth} \setcounter{page}{0} \thispagestyle{empty} \flushright {\Huge\bfseries #1} \noindent\rule{\textwidth}{5pt}\\ \hfill\emph{\Large #2}\\ \end{minipage} \vspace{\stretch{1}} \noindent \begin{minipage} {\textwidth} \flushright {\bfseries by #3} \\ #4 \\ Copyright 2004 \end{minipage} \clearpage } \newcommand{\clt}[1]{\begin{center}{\LARGE #1}\end{center}}