manual.tex
Upload User: shhuayu888
Upload Date: 2013-03-28
Package Size: 1788k
Code Size: 4k
Category:

Windows Develop

Development Platform:

Unix_Linux

  1. documentstyle[11pt,psfig,fancyheadings]{report}
  2. setlength{parskip}{0.1in}
  3. setlength{topmargin}{-0.7in}
  4. setlength{headsep}{0.3in}
  5. setlength{headheight}{0.3in}
  6. setlength{textheight}{8.7in}
  7. setlength{oddsidemargin}{-0.25in}
  8. setlength{textwidth}{6.9in}
  9. footrulewidth 0.4pt
  10. pagestyle{fancy}
  11. markboth{}{}
  12. makeatletter
  13. %as Latex considers descenders in its calculation of interline spacing,
  14. %to get 12 point spacing for normalsize text, must set it to 10 points
  15. def@normalsize{@setsizenormalsize{14.5pt}xiipt@xiipt
  16. abovedisplayskip 12pt plus3pt minus7ptbelowdisplayskip abovedisplayskip
  17. abovedisplayshortskip z@ plus3ptbelowdisplayshortskip 6.5pt plus3.5pt
  18. minus3ptlet@listi@listI}
  19. def@makechapterhead#1{             % Heading for chapter command
  20.   vspace*{5pt}                     % Space at top of text page.
  21.   { parindent 0pt raggedright 
  22.     ifnum c@secnumdepth >m@ne     % IF secnumdepth > -1 THEN
  23.       Largebfcenter @chapapp{} thechapter % Print 'Chapter' and number.
  24.       par 
  25.       vskip 15pt fi                  % Space between number and title.
  26.     Large bf center                 % Title.
  27.     #1par 
  28.     nobreak                         % TeX penalty to prevent page break.
  29.     vskip 40pt                      % Space between title and text.
  30.   } }
  31. %need an 11 pt font size for subsection and abstract headings
  32. defsubsize{@setsizesubsize{12pt}xipt@xipt}
  33. %make section titles bold and 12 point, 2 blank lines before, 1 after
  34. defsection{@startsection {section}{1}{z@}{24pt plus 2pt minus 2pt}
  35. {12pt plus 2pt minus 2pt}{largebf}}
  36. %make subsection titles bold and 11 point, 1 blank line before, 1 after
  37. defsubsection{@startsection {subsection}{2}{z@}{12pt plus 2pt minus 2pt}
  38. {12pt plus 2pt minus 2pt}{subsizebf}}
  39. makeatother
  40. newcommand{eq}{begin{equation}}
  41. newcommand{en}{end{equation}}
  42. newcommand{vs}{vspace{.10in}}
  43. newcommand{hs}{hspace{.10in}}
  44. newcommand{tb}{begin{tabular} {ll} }
  45. newcommand{te}{end{tabular}}
  46. rhead{GSNAKE API}
  47. lfoot{GSNAKE API Reference}
  48. rfoot{page  rmthepage  of  pageref{lastpage}}
  49. cfoot{}
  50. lhead{{em rev} : today}
  51. % make bibliography looks right
  52. catcode`@=11
  53. def@lbibitem[#1]#2{item[]@biblabel{#1}newlineif@filesw 
  54.       { defprotect##1{string ##1space}immediate
  55.         write@auxout{stringbibcite{#2}{#1}}fiignorespaces}}
  56. defthebibliography#1{
  57. newpage section*{Largebfcentering References
  58.   }list
  59.   {[arabic{enumi}]}{settowidthlabelwidth{[#1]}
  60.     leftmarginlabelwidth
  61.     advanceleftmarginlabelsep
  62.     usecounter{enumi}}
  63.     defnewblock{hskip .11em plus .33em minus -.07em}
  64.     sloppy
  65.     sfcode`.=1000relax}
  66. catcode`@=12
  67. begin{document}
  68. title{{largebf GSNAKE API ver 1.0: REFERENCE MANUAL}}
  69. author{large
  70.       Kok F. Lai \
  71.       Information Technology Institute\
  72.       11 Science Park Rd\
  73.       Singapore 0511 \
  74.       \
  75.       S. Chan, C. W. Ngo, E. L. Ang and K. W. Ong\
  76.       School of Applied Science \
  77.       Nanyang Technological University
  78.       Nanyang Crescent
  79.       Singapore 2263}
  80. date{{em rev} : today}
  81. maketitle
  82. input{notes.tex}
  83. tableofcontents
  84. chapter{Introduction}
  85. input{intro.tex}
  86. input{design.tex}
  87. chapter{Class Library Reference}
  88. thispagestyle{fancy}
  89. input{image.tex}
  90. input{edge.tex}
  91. input{pyramid.tex}
  92. input{matrix.tex}
  93. input{snaxel.tex}
  94. input{contour.tex}
  95. input{ghough.tex}
  96. input{gsnake.tex}
  97. input{model.tex}
  98. input{class.tex}
  99. chapter{GSNAKE API Command Line Utilities}
  100. input{utildoc.tex}
  101. input{biblio.tex}
  102. label{lastpage}
  103. end{document}