diff options
author | ikelley <ikelley@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-06-04 16:03:39 +0000 |
---|---|---|
committer | ikelley <ikelley@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-06-04 16:03:39 +0000 |
commit | 26ca44e42f164b0a558414109a894fce20f51744 (patch) | |
tree | b6c136c60ae23cdc69abf552517c3530179afbd3 /lib/sbin/ThornGuide.pl | |
parent | 18cb4ba757ee8c91e75303375389a5794ee20d5b (diff) |
added Jonathan Thornburg's request for a \text macro
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2897 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/ThornGuide.pl')
-rw-r--r-- | lib/sbin/ThornGuide.pl | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/sbin/ThornGuide.pl b/lib/sbin/ThornGuide.pl index 1c9d897e..210bf3c5 100644 --- a/lib/sbin/ThornGuide.pl +++ b/lib/sbin/ThornGuide.pl @@ -492,6 +492,15 @@ print OUT <<EOC; \\\@addtoreset{chapter}{part} \\makeatother +\\usepackage{tocloft} +\\addtolength{\\cftchapnumwidth}{0.5em} +\\addtolength{\\cftsecnumwidth}{0.5em} +\\addtolength{\\cftsubsecnumwidth}{0.5em} +\\addtolength{\\cftsubsubsecnumwidth}{0.5em} + +% macros +\\def\\text#1{{\\rm #1}} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \\parskip = 2 pt \\oddsidemargin = 0 cm @@ -499,17 +508,10 @@ print OUT <<EOC; \\topmargin = -1 cm \\textheight = 24 cm -\\usepackage{tocloft} -\\addtolength{\\cftchapnumwidth}{0.5em} -\\addtolength{\\cftsecnumwidth}{0.5em} -\\addtolength{\\cftsubsecnumwidth}{0.5em} -\\addtolength{\\cftsubsubsecnumwidth}{0.5em} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \\def\\q{\\bf QUERY: } \\def\\t{\\tt \\obeylines } -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % MANPAGE like description setting for options, use as % \\begin{Lentry} %\\item[text] text \\end{Lentry} \\usepackage{ifthen,calc} \\newcommand{\\entrylabel}[1]{\\mbox{\\textsf{#1}}\\hfil} @@ -530,7 +532,7 @@ print OUT <<EOC; {\\renewcommand{\\entrylabel}{\\Lentrylabel} \\begin{entry}} {\\end{entry}} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Takes three arguments - the name of the document, the revision, and |