A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

master.tex - Stikked
From Beige Dolphin, 13 Years ago, written in LaTeX.
Embed
  1. \documentclass[twoside,masters,etd]{BYUPhys}
  2. % The BYUPhys class is for producing theses and dissertations
  3. % in the BYU department of physics and astronomy.  You can supply
  4. % the following optional arguments in the square brackets to
  5. % specify the thesis type:
  6. %
  7. %   senior  : Produces the senior thesis preliminary pages (default)
  8. %   honors  : Produces the honors thesis preliminary pages
  9. %   masters : Produces the masters thesis preliminary pages
  10. %   phd     : Produces the PhD dissertation preliminary pages
  11. %
  12. % The default format is appropriate for printing, with blank pages
  13. % inserted after the preliminary pages in twoside mode so you can
  14. % send it directly to a two-sided printer. However, for ETD
  15. % submission the blank pages need to be removed from the final output.
  16. % The following option does this for you:
  17. %
  18. %   etd     : Produces a copy with no blank pages in the preliminary section
  19. %
  20. % The rest of the class options are the same as the regular book class.
  21. % A few to remember:
  22. %
  23. %   oneside : Produces single sided print layout (recommended for theses less than 50 pages)
  24. %   twoside : Produces single sided print layout (the default if you remove oneside)
  25. %
  26. % The BYUPhys class provides the following macros:
  27. %
  28. %   \makepreliminarypages : Makes the preliminary pages
  29. %   \clearemptydoublepage : same as \cleardoublepage but doesn't put page numbers
  30. %                           on blank intervening pages
  31. %   \singlespace          : switch to single spaced lines
  32. %   \doublespace          : switch to double spaced lines
  33. %
  34.  
  35.  
  36. % --------------------------- Load Packages ---------------------------------
  37.  
  38. % The graphicx package allows the inclusion of figures.  Plain LaTeX and
  39. % pdfLaTeX handle graphics differently. The following code checks which one
  40. % you are compiling with, and switches the graphicx package options accordingly.
  41. \usepackage{ifpdf}
  42. \ifpdf
  43.  \usepackage[pdftex]{graphicx}
  44.  \usepackage[dvips]{graphicx}
  45.  
  46. % The fancyhdr package allows you to easily customize the page header.
  47. % The settings below produce a nice, well separated header.
  48. \usepackage{fancyhdr}
  49.  \fancyhead{}
  50.  \fancyhead[LO]{\slshape \rightmark}
  51.  \fancyhead[RO,LE]{\textbf{\thepage}}
  52.  \fancyhead[RE]{\slshape \leftmark}
  53.  \fancyfoot{}
  54.  \pagestyle{fancy}
  55.  \renewcommand{\chaptermark}[1]{\markboth{\chaptername \ \thechapter \ \ #1}{}}
  56.  \renewcommand{\sectionmark}[1]{\markright{\thesection \ \ #1}}
  57.  
  58. % The caption package allows us to change the formatting of figure captions.
  59. % The commands here change to the suggested caption format: single spaced and a bold tag
  60. \usepackage[margin=0.3in,labelfont=bf,labelsep=none]{caption}
  61. \DeclareCaptionFormat{suggested}{\singlespace#1#2 #3\par\doublespace}
  62. \captionsetup{format=suggested}
  63.  
  64. % The cite package cleans up the way citations are handled.  For example, it
  65. % changes the citation [1,2,3,6,7,8,9,10,11] into [1-3,6-11].  If your advisor
  66. % wants superscript citations, use the overcite package instead of the cite package.
  67. \usepackage{cite}
  68.  
  69. % The makeidx package makes your index for you.  To make an index entry,
  70. % go to the place in the book that should be referenced and type
  71. %  \index{key}
  72. % An index entry labeled "key" (or whatever you type) will then
  73. % be included and point to the correct page.
  74. \usepackage{makeidx}
  75.  
  76. % The url package allows for the nice typesetting of URLs.  Since URLs are often
  77. % long with no spaces, they mess up line wrapping.  The command \url{http://www.physics.byu.edu}
  78. % allows LaTeX to break the url across lines at appropriate places: e.g. http://www.
  79. % physics.byu.edu
  80.  
  81. % The hyperref package provides automatic linking and bookmarking for the table
  82. % of contents, index, equation references, and figure references.  It must be
  83. % included for the BYU Physics class to make a properly functioning electronic
  84. % thesis.  It should be the last package loaded if possible.
  85. %
  86. % To include a link in your pdf use \href{URL}{Text to be displayed}.  If your
  87. % display text is the URL, you probably should use the \url{} command discussed
  88. % above.
  89. %
  90. % To add a bookmark in the pdf you can use \pdfbookmark.  You can look up its usage
  91. % in the hyperref package documentation
  92. \usepackage[bookmarksnumbered,pdfpagelabels=true,plainpages=false,colorlinks=true,
  93.            linkcolor=black,citecolor=black,urlcolor=blue]{hyperref}
  94.  
  95. % ------------------------- Fill in these fields for the preliminary pages ----------------------------
  96. %
  97. % For Senior and honors this is the year and month that you submit the thesis
  98. % For Masters and PhD, this is your graduation date
  99.   \Year{1905}
  100.  \Month{December}
  101.  \Author{Type Your Name Here}
  102.  
  103. % If you have a long title, split it between two lines. The \TitleBottom field defines the second line
  104. % A two line title should be an "inverted pyramid" with the top line longer than the bottom.
  105.   \TitleTop{First line of title}
  106.   % \TitleBottom{second line}
  107.  
  108. % Your research advisor
  109.   \Advisor{Eric Hintz}
  110.  
  111. % The department undergraduate research coordinator
  112.   \UgradCoord{Eric Hintz}
  113.  
  114. % The representative of the department who will approve your thesis (usually the chair)
  115.   \DepRep{Ross L. Spencer}
  116.  
  117. % The title of the department representative
  118.   \DepRepTitle{Chair}
  119.  
  120. % For honors theses, enter the name of the honors dean
  121.   \HonorsDean{Madison U. Sowell}
  122.  
  123. % The text of your abstract
  124.   \Abstract{
  125.    Abstract text goes here.
  126.  }
  127.  
  128. % Acknowledge those who helped and supported you
  129.   \Acknowledgments{
  130.    Acknowledgment text goes here.
  131.  }
  132.  
  133. % ------------- These remaining fields are only necessary for masters and PhD ----------------------
  134.  
  135. % The members of your graduate committee (masters only need A and B, PhD need all 4)
  136.   \MemberA{Committee Member A}
  137.  \MemberB{Committee Member B}
  138.  \MemberC{Committee Member C}
  139.  \MemberD{Committee Member D}
  140.  
  141. % The representative of the college who approves masters theses and dissertations
  142.   \Dean{Thomas W. Sederberg}
  143.  
  144. % The title of the department representative
  145.   \DeanTitle{Associate Dean}
  146.  
  147.  
  148. \begin{document}
  149.  
  150.  % Start page counting in roman numerals
  151.  
  152.  % This command makes the formal preliminary pages.
  153.  % You can comment it out during the drafting process if you want to save paper.
  154.  \makepreliminarypages
  155.  
  156.  \singlespace
  157.  
  158.  % Make the table of contents.
  159.  \clearemptydoublepage
  160.  
  161.  % Make the list of figures
  162.  \clearemptydoublepage
  163.  
  164.  \doublespace
  165.  
  166.  % Start regular page counting at page 1
  167.  
  168. % OK. Everything is set up. Type your thesis here.
  169.  
  170. \chapter{A Sample Chapter}
  171.  
  172. \section{A Fascinating Section}
  173. \label{sec:meaningfulname}
  174.  
  175. For a short thesis, you can usually just type the whole body of the
  176. thesis here.  For longer documents you might consider typing
  177. chapters in separate files and using the \verb|\include| command.
  178. There is another example on the physics web page
  179. (\href{http://www.physics.byu.edu/undergraduate/latex.aspx}{click
  180. here to go there}) that shows how to do this.
  181.  
  182. You can create your bibliography right in the main tex document.
  183. Here are references to a book \cite{Jackson1998}, an article
  184. \cite{Peatross2000}, and a web site \cite{intel}. You can also use
  185. BibTeX to keep track of your references.  The method for using
  186. BibTeX is shown in the other example on the physics web page.
  187.  
  188. Making an index is easy. Just use the \verb|\index{Key}| command.
  189. \index{Index!Making} You can include figures too (see
  190. Fig.~\ref{fig:MirrorDiagram}).  Usually you need both eps and pdf
  191. versions of each figure.
  192. \begin{figure}
  193.    \centerline{\includegraphics{Graphic1}}
  194.    \caption[Setup for using counter-propagating light]{\label{fig:MirrorDiagram}
  195.    A mirror with a hole is used to extract high-order harmonics generated in
  196.    counter-propagating laser beams.}
  197. \end{figure}
  198.  
  199. % Start labeling chapters with letters and calling them appendices
  200.  
  201.  % Make the bibliography.
  202.  \cleardoublepage
  203.  \phantomsection \addcontentsline{toc}{chapter}{Bibliography}
  204. \begin{thebibliography}{00}
  205. \bibitem{Jackson1998}
  206.    J.~D. Jackson, {\em Classical Electrodynamics}, 3rd ed. (Wiley, New
  207.    York, 1998), \ p.\ 23.
  208. \bibitem{Peatross2000}
  209.    J.~Peatross, S.~A. Glasgow, and M.~Ware, ``Average energy flow of
  210.    optical pulses dispersive media,'' Phys.~Rev.~Lett. {\bf 84,} 2370--2373 (2000).
  211. \bibitem{intel}
  212.   % notice the \url function that helps text wrapping in the \href
  213.     K. David, ``Intel's EUV lithography process line,''
  214.     \href{http://www.intel.com/technology/silicon/lithography.htm}
  215.    {\url{http://www.intel.com/technology/silicon/lithography.htm}}
  216.    (Accessed April 15, 2006).
  217. \end{thebibliography}
  218.  
  219. \chapter{Appendix Title}
  220. \label{sec:appendixname}
  221.  
  222. You can put extra content in an appendix.
  223.  
  224.  
  225.  
  226.  % Make the index
  227.  \cleardoublepage
  228.  \singlespace
  229.  % NOTE: '\phantomsection' helps get the pdf bookmark to work right. You need
  230.  % to put it before every manual addition to the table of contents
  231.  \phantomsection
  232.  \addcontentsline{toc}{chapter}{Index}
  233. \printindex
  234.  
  235. \end{document}
  236.  

Replies to master.tex rss

Title Name Language When
BYUPhys.cls Obese Iguana latex 13 Years ago.