Advertisement
Guest User

Untitled

a guest
Nov 2nd, 2015
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 4.32 KB | None | 0 0
  1. %  thesis.tex  2014-08-08  Mark Senn
  2. %
  3. %  This is the root file for a simple example thesis.
  4. %  This example can also be used to prepare a dissertation.
  5.  
  6. % See
  7. %     http://www.ecn.purdue.edu/~mark/puthesis/#Options
  8. % for documentclass options.
  9. % CHANGE NEXT LINE?
  10. \documentclass[me,thesis]{puthesis}
  11.  
  12. \usepackage{multicol}
  13. \usepackage{subfigure}
  14.  
  15. % Force LaTeX not to hyphenate words that have less than three letters on each side of the hyphen.  
  16. \lefthyphenmin4
  17. \righthyphenmin4
  18.  
  19. % For multi-row cells and broken lines in tables
  20. \usepackage{multirow}
  21.  
  22. % For forcing figure placement where necessary
  23. \usepackage{float}
  24.  
  25. % Automatically wrap around text when using "verbatim" environment.
  26. \usepackage{listings}
  27. \lstset{
  28.    basicstyle=\small\ttfamily,
  29.    columns=flexible,
  30.    breaklines=true
  31. }
  32.  
  33. %\usepackage{capt-of}
  34.  
  35. % Title of thesis (used on cover and in abstract).
  36. % Use \title{Put Title Here} for a one-line title.
  37. % Use \\ to separate lines in multi-line titles.
  38. % Put % at the end of the last line of a title
  39. % to avoid getting an extra space in the abstract.
  40.  
  41. \title{%
  42.   An Example Thesis Done with LaTeX\\
  43.   That Has a Long Title%
  44. }
  45.  
  46. % First author name with first name first is used for cover.
  47. % Second author name with last name first is used for abstract.
  48. % Your full name as it appears in the University records appears
  49. % on the cover.
  50. % There are two forms of author, with and without initials.
  51. % There are examples of both below.
  52. \author{Ivan S. Bogdanovich}{Bogdanovich, Ivan S.}
  53.  
  54. % First is long title of degree (used on cover).
  55. % Second is abbreviation for degree (used in abstract).
  56. % Third is the month the degree was (will be) awarded (used on cover
  57. % and in abstract).
  58. % Last is the year the degree was (wlll be) awarded (used on cover
  59. % and in abstract).
  60. \pudegree{Master of Science and Mechanical Engineering}{MSME}{July}{2014}
  61.  
  62. % Major professor (used in abstract).
  63. \majorprof{Heinrich von Weltschmerz}
  64.  
  65. % Campus (used only on cover)
  66. \campus{Fort Wayne}
  67.  
  68. % My command definitions specific to my thesis.
  69.  
  70. % Let typing "\en" be exactly the same as typing "\ensuremath".
  71. \let\en=\ensuremath
  72.  
  73. % Set things up so \margins will show where the margins on the page are.
  74. \newcommand{\margins}{\Repeat{Show where the margins for the page are.}{4}}
  75.  
  76. % Define a \ve command with two arguments, so if it called with
  77. %     \ve an
  78. % it will expand to
  79. %     {\en{a_1},~\en{a_2},\ \ldots,~\en{a_{n}}}
  80. \newcommand{\ve}[2]{\en{#1_1},~\en{#1_2},\ \ldots,~\en{#1_{#2}}}
  81.  
  82.  
  83. % To LaTeX only some parts of your thesis put the
  84. % names of the parts to include here.  For example,
  85. % \includeonly{front} would only process front.tex.
  86. % \includeonly{front,introduction} would only process
  87. % front.tex and introduction.tex.
  88. % To print the final copy of your thesis put a '%'
  89. % in front of the \includeonly command and run LaTeX
  90. % three times to make sure that all cross-references
  91. % are correct.  Then run BibTeX once and LaTeX twice
  92. % more.
  93. % CHANGE NEXT LINE?
  94. %\includeonly{front,introduction}
  95.  
  96. \begin{document}
  97.  
  98. % Start a new volume for your thesis.
  99. % All theses must have at least one volume.
  100. % If your thesis has multiple volumes put another "\volume"
  101. % command between chapters below.
  102. \volume
  103.  
  104. \chapter{Sample Chapter}
  105.  
  106. This is a sample paragraph.  This is a sample paragraph.  This is a sample paragraph.  This is a sample paragraph.  This is a sample paragraph.  This is a sample paragraph.  This is a sample paragraph.  This is a sample paragraph.  This is a sample paragraph.  This is a sample paragraph.  
  107.  
  108. Sample table below.
  109.  
  110. \begin{table}[h]
  111.    \centering
  112.    \caption{This is a sample table caption.  This is a sample table caption.  This is a sample table caption.  This is a sample table caption.  This is a sample table caption.  This is a sample table caption.}
  113.    \begin{tabular}{l|c|c|c|c}
  114.        \hline
  115.        & \bf 1 & \bf 2 & \bf 3 & 4 \\
  116.        \hline
  117.        \bf 5 & 6  & 7  & 8  & 9  \\
  118.        \hline
  119.    \end{tabular}
  120.    \label{Tab1}
  121. \end{table}
  122.  
  123. Sample figure below.
  124.  
  125. \begin{figure}[h]
  126.    \centering
  127.    \caption{This is a sample figure caption.  This is a sample figure caption.  This is a sample figure caption.  This is a sample figure caption.  This is a sample figure caption.  This is a sample figure caption.}
  128.    \label{Fig1}
  129. \end{figure}
  130.  
  131. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement