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

Re: Example of a LaTeX document - Stikked
From arktisvogel, 7 Years ago, written in LaTeX.
This paste is a reply to Example of a LaTeX document from arktisvogel - view diff
Embed
  1. \documentclass[a6paper,8pt]{article}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage{ifthen}
  4. \usepackage{times}
  5. %\pagestyle{empty}
  6. %\usepackage{colors}
  7. \usepackage[a6paper,landscape,hmargin=.8cm,vmargin=.8cm,driver=pdftex]{geometry}
  8. \selectfont
  9. \usepackage[colorlinks=true,linkcolor=black]{hyperref}
  10. % ----------------------------------------------------------------------
  11. \newenvironment{formation} {\begin{tabular}{rp{9cm}}}{\end{tabular}
  12.  
  13. \vspace{8pt}}
  14. \newcommand{\form}[1]{\begin{formation}
  15.                       \textbf{Formation}:&#1\\
  16.                      \end{formation}}
  17.  
  18. \newenvironment{dance}[7]{
  19.  
  20. \ifthenelse{\equal{#2}{gc}}{\newcommand{\con}{
  21. #1\hfill \textnormal{\hspace{2pt} Grand circle\hspace{2pt}}}}{}
  22. \ifthenelse{\equal{#2}{sc}}{\newcommand{\con}{
  23. #1\hfill \textnormal{\hspace{2pt} Sicillian circle\hspace{2pt}}}}{}
  24. \ifthenelse{\equal{#2}{b}}{\newcommand{\con}{
  25. #1\hfill \textnormal{\hspace{2pt} Becket\hspace{2pt}}}}{}
  26. \ifthenelse{\equal{#2}{cb}}{\newcommand{\con}{
  27. #1\hfill \textnormal{\hspace{2pt} Circular beckett\hspace{2pt}}}}{}
  28. \ifthenelse{\equal{#2}{ldp}}{\newcommand{\con}{
  29. #1\hfill \textnormal{\hspace{2pt} Longways duple minor proper\hspace{2pt}}}}{}
  30. \ifthenelse{\equal{#2}{ldi}}{\newcommand{\con}{
  31. #1\hfill \textnormal{\hspace{2pt} Longways duple minor improper\hspace{2pt}}}}{}
  32. \ifthenelse{\equal{#2}{ltm}}{\newcommand{\con}{
  33. #1\hfill \textnormal{\hspace{2pt} Longways triple minor\hspace{2pt}}}}{}
  34. \ifthenelse{\equal{#2}{lamaw}}{\newcommand{\con}{
  35. #1\hfill \textnormal{\hspace{2pt} Longways as many as will\hspace{2pt}}}}{}
  36. \ifthenelse{\equal{#2}{dws}}{\newcommand{\con}{
  37. #1\hfill \textnormal{\hspace{2pt} Trio Sicillian\hspace{2pt}}}}{}
  38. \ifthenelse{\equal{#2}{ds}}{\newcommand{\con}{
  39. #1\hfill \textnormal{\hspace{2pt} Double Sicillian\hspace{2pt}}}}{}
  40. \ifthenelse{\equal{#2}{c}}{\newcommand{\con}{
  41. #1\hfill \textnormal{\hspace{2pt} Couple dance\hspace{2pt}}}}{}
  42. \ifthenelse{\equal{#2}{t}}{\newcommand{\con}{
  43. #1\hfill \textnormal{\hspace{2pt} Trio dance\hspace{2pt}}}}{}
  44. \ifthenelse{\equal{#2}{ts}}{\newcommand{\con}{
  45. #1\hfill \textnormal{\hspace{2pt} Trio square\hspace{2pt}}}}{}
  46. \ifthenelse{\equal{#2}{s}}{\newcommand{\con}{
  47. #1\hfill \textnormal{\hspace{2pt} Square\hspace{2pt}}}}{}
  48. \ifthenelse{\equal{#2}{2on2}}{\newcommand{\con}{
  49. #1\hfill \textnormal{\hspace{2pt} Couple facing couple\hspace{2pt}}}}{}
  50. \ifthenelse{\equal{#2}{3}}{\newcommand{\con}{
  51. #1\hfill \textnormal{\hspace{2pt} Longways 3 couples\hspace{2pt}}}}{}
  52. \ifthenelse{\equal{#2}{4}}{\newcommand{\con}{
  53. #1\hfill \textnormal{\hspace{2pt} Longways 4 couples\hspace{2pt}}}}{}
  54. \ifthenelse{\equal{#2}{5}}{\newcommand{\con}{
  55. #1\hfill \textnormal{\hspace{2pt} Longways 5 couples\hspace{2pt}}}}{}
  56. \ifthenelse{\equal{#2}{6}}{\newcommand{\con}{
  57. #1\hfill \textnormal{\hspace{2pt} Longways 6 couples\hspace{2pt}}}}{}
  58. \ifthenelse{\equal{#2}{7}}{\newcommand{\con}{
  59. #1\hfill \textnormal{\hspace{2pt} Longways 7 couples\hspace{2pt}}}}{}
  60. \ifthenelse{\equal{#2}{8}}{\newcommand{\con}{
  61. #1\hfill \textnormal{\hspace{2pt} Longways 8 couples\hspace{2pt}}}}{}
  62. \ifthenelse{\equal{#2}{bigset}}{\newcommand{\con}{
  63. #1\hfill \textnormal{\hspace{2pt} Double circle\hspace{2pt}}}}{}
  64. \ifthenelse{\equal{#2}{5o}}{\newcommand{\con}{
  65. #1\hfill \textnormal{\hspace{2pt} Circles of 5 couples\hspace{2pt}}}}{}
  66. \ifthenelse{\equal{#2}{u}}{\newcommand{\con}{
  67. #1\hfill \textnormal{\hspace{2pt} Unique formation\hspace{2pt}}}}{}
  68.  
  69. \ifthenelse{\equal{#6}{}}{\newcommand{\comp}{}}{\newcommand{\comp}{\textit{Written by #6}}}
  70. \ifthenelse{\equal{#5}{1}}{\newcommand{\dif}{Very easy}}{}
  71. \ifthenelse{\equal{#5}{2}}{\newcommand{\dif}{Easy}}{}
  72. \ifthenelse{\equal{#5}{3}}{\newcommand{\dif}{Medium}}{}
  73. \ifthenelse{\equal{#5}{4}}{\newcommand{\dif}{Hard}}{}
  74. \ifthenelse{\equal{#5}{5}}{\newcommand{\dif}{Very hard}}{}
  75. \ifthenelse{\equal{#5}{}}{\newcommand{\dif}{}}{}
  76. \section*{\con}
  77. \addcontentsline{toc}{section}{\con}
  78. % \ifthenelse{\equal{#2}{gc}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Grand circle\end{flushleft}}{}
  79. % \ifthenelse{\equal{#2}{sc}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Sicillian circle\end{flushleft}}{}
  80. % \ifthenelse{\equal{#2}{b}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Becket\end{flushleft}}{}
  81. % \ifthenelse{\equal{#2}{cb}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Circular beckett\end{flushleft}}{}
  82. % \ifthenelse{\equal{#2}{ldp}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Longways duple minor proper\end{flushleft}}{}
  83. % \ifthenelse{\equal{#2}{ldi}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Longways duple minor improper\end{flushleft}}{}
  84. % \ifthenelse{\equal{#2}{lamaw}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Longways as many as will\end{flushleft}}{}
  85. % \ifthenelse{\equal{#2}{dws}}{\begin{flushleft}\Large{\textbf{#1}} \hfill 3 facing 3 sicillian\end{flushleft}}{}
  86. % \ifthenelse{\equal{#2}{ds}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Double sicillian\end{flushleft}}{}
  87. % \ifthenelse{\equal{#2}{c}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Couple dance\end{flushleft}}{}
  88. % \ifthenelse{\equal{#2}{t}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Trio dance\end{flushleft}}{}
  89. % \ifthenelse{\equal{#2}{ts}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Trio square\end{flushleft}}{}
  90. % \ifthenelse{\equal{#2}{s}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Square\end{flushleft}}{}
  91. % \ifthenelse{\equal{#2}{2on2}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Couple facing couple\end{flushleft}}{}
  92. % \ifthenelse{\equal{#2}{3}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Longways 3 couples\end{flushleft}}{}
  93. % \ifthenelse{\equal{#2}{4}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Longways 4 couples\end{flushleft}}{}
  94. % \ifthenelse{\equal{#2}{5}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Longways 5 couples\end{flushleft}}{}
  95. % \ifthenelse{\equal{#2}{6}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Longways 6 couples\end{flushleft}}{}
  96. % \ifthenelse{\equal{#2}{8}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Longways 8 couples\end{flushleft}}{}
  97. % \ifthenelse{\equal{#2}{bigset}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Double circle\end{flushleft}}{}
  98. % \ifthenelse{\equal{#2}{u}}{\begin{flushleft}\Large{\textbf{#1}} \hfill Unique formation \end{flushleft}}{}
  99. \begin{flushleft}
  100. \ifthenelse{\equal{#3}{f}}{Freetime}{\ifthenelse{\equal{#3}{o}}{Original tune}{#3 bar}} \ifthenelse{\equal{#4}{j}}{jigs}{}\ifthenelse{\equal{#4}{t}}{two-steps}{}\ifthenelse{\equal{#4}{r}}{reels}{}\ifthenelse{\equal{#4}{jr}}{jigs or reels}{}\ifthenelse{\equal{#4}{ra}}{rants}{}\ifthenelse{\equal{#4}{ar}}{American reels}{}\ifthenelse{\equal{#4}{pi}}{Irish style polkas}{}\ifthenelse{\equal{#4}{pe}}{English style polkas}{}\ifthenelse{\equal{#4}{p}}{Polkas}{}\ifthenelse{\equal{#4}{m}}{marches}{}\ifthenelse{\equal{#4}{h}}{hornpipes}{}\ifthenelse{\equal{#4}{hs}}{hornpipes or schottiches}{}\ifthenelse{\equal{#4}{s}}{schottiches}{}\ifthenelse{\equal{#4}{w}}{waltzes}{}\ifthenelse{\equal{#4}{sj}}{slipjigs}{}\ifthenelse{\equal{#4}{jsj}}{jigs and slipjigs}{}\hfill\ifthenelse{\equal{#7}{hs}}{Hop-step}{}\ifthenelse{\equal{#7}{ra}}{Rant}{}\ifthenelse{\equal{#7}{w}}{Waltz}{} \ifthenelse{\equal{#7}{sj}}{Slip-jig}{} \ifthenelse{\equal{#7}{s}}{Schottishe}{}
  101. \end{flushleft}}{\vfill
  102. \begin{flushleft}\comp \hfill \dif \end{flushleft}
  103.  
  104. \newcommand{\Verse}{\begin{flushleft}
  105.                     \textbf{Verse}
  106.                    \end{flushleft}}
  107. \newcommand{\Chorus}{\begin{flushleft}
  108.                     \textbf{Chorus}
  109.                    \end{flushleft}}
  110.  
  111. \newenvironment{seq}{\begin{tabular}{rp{10.8cm}}}{\end{tabular}
  112.  
  113. \vspace{5pt}}
  114. \usepackage{xspace}
  115. \newcommand{\Fb}{Forward and back\xspace}
  116. \newcommand{\fb}{forward and back\xspace}
  117. \newcommand{\s}{swing\xspace}
  118. \newcommand{\p}{promenade\xspace}
  119. \newcommand{\rhs}{right hand star\xspace}
  120. \newcommand{\lhs}{left hand star\xspace}
  121. \newcommand{\Rhs}{Right hand star\xspace}
  122. \newcommand{\Lhs}{Left hand star\xspace}
  123. \newcommand{\lo}{circle left\xspace}
  124. \newcommand{\ro}{circle right\xspace}
  125. \newcommand{\Lo}{Circle left\xspace}
  126. \newcommand{\Ro}{Circle right\xspace}
  127. \newcommand{\lac}{ladies chain\xspace}
  128. \newcommand{\Lac}{Ladies chain\xspace}
  129. \newcommand{\nlac}{north country ladies chain\xspace}
  130. \newcommand{\Nlac}{North country ladies chain\xspace}
  131. \newcommand{\Lasc}{Ladies star chain\xspace}
  132. \newcommand{\lasc}{ladies star chain\xspace}
  133. \newcommand{\fc}{forward and cross\xspace}
  134. \newcommand{\dsd}{do-si-do\xspace}
  135. \newcommand{\Dsd}{Do-si-do\xspace}
  136. \newcommand{\ca}{cast\xspace}
  137. \newcommand{\Ca}{Cast\xspace}
  138. \newcommand{\lc}{Leading couple\xspace}
  139. \newcommand{\tc}{Top couple\xspace}
  140. \newcommand{\tl}{top lady\xspace}
  141. \newcommand{\tm}{Top man\xspace}
  142. \newcommand{\bl}{bottom lady\xspace}
  143. \newcommand{\bm}{Bottom man\xspace}
  144. \newcommand{\bc}{bottom couple\xspace}
  145. \newcommand{\Ll}{leading lady\xspace}
  146. \newcommand{\Lm}{Leading man\xspace}
  147. \newcommand{\Ar}{Advance and retire\xspace}
  148. \newcommand{\ar}{advance and retire\xspace}
  149. \newcommand{\rht}{right-hand turn\xspace}
  150. \newcommand{\lht}{left-hand turn\xspace}
  151. \newcommand{\tht}{two-hand turn\xspace}
  152. \newcommand{\Tht}{Two-hand turn\xspace}
  153. \newcommand{\Rht}{Right hand turn\xspace}
  154. \newcommand{\Lht}{Left hand turn\xspace}
  155. \newcommand{\dstw}{double strip the willow\xspace}
  156. \newcommand{\sstw}{single strip the willow\xspace}
  157. \newcommand{\stw}{strip the willow\xspace}
  158. \newcommand{\Dstw}{Double strip the willow\xspace}
  159. \newcommand{\Sstw}{Single strip the willow\xspace}
  160. \newcommand{\Stw}{Strip the willow\xspace}
  161. \newcommand{\ba}{balance\xspace}
  162. \newcommand{\Ba}{Balance\xspace}
  163. \newcommand{\Se}{Set\xspace}
  164. \newcommand{\se}{set\xspace}
  165. \newcommand{\hc}{Head couples\xspace}
  166. \newcommand{\sic}{Side couples\xspace}
  167. \newcommand{\rot}{reel of three\xspace}
  168. \newcommand{\Rot}{Reel of three\xspace}
  169. \newcommand{\dip}{dip and dive\xspace}
  170. \newcommand{\Dip}{Dip and dive\xspace}
  171. \newcommand{\all}{allemand left\xspace}
  172. \newcommand{\All}{Allemand left\xspace}
  173. \newcommand{\alr}{allemand right\xspace}
  174. \newcommand{\Alr}{Allemand right\xspace}
  175. \newcommand{\rlt}{right and left through\xspace}
  176. \newcommand{\Rlt}{Right and left through\xspace}
  177. \newcommand{\gc}{grand chain\xspace}
  178. \newcommand{\Gc}{Grand chain\xspace}
  179.  
  180. % ----------------------------------------------------------------------
  181. \title{Some Ceilidh Dances}
  182. \author{Joey Oliver}
  183. \date{}
  184. % ----------------------------------------------------------------------
  185. \begin{document}
  186.  
  187. \include{abbey}
  188.  
  189. \include{arkansas}
  190.  
  191. \include{barley}
  192.  
  193. \include{birthday}
  194. \include{billy}
  195. \include{blaydon}
  196. \include{canadian}
  197. \include{daniel}
  198. \include{ninepins}
  199. \include{nottingham}
  200.  
  201. \include{waltzcountry}
  202. \end{document}
  203. %
  204. % Local Variables:
  205. % mode: latex
  206. % engine: latex
  207. % tab-width: 2
  208. % End:
  209. %
  210. % EOF
  211.