Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: Stavros on May 18th, 2011  |  syntax: Latex  |  size: 2.37 KB  |  views: 369  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. % Stochastic Technologies letterhead
  2. % http://www.stochastictechnologies.com/
  3.  
  4. \ProvidesClass{stochastic}[2011/01/20 version 1.00]
  5. \NeedsTeXFormat{LaTeX2e}
  6. \LoadClass[a4paper]{article}
  7.  
  8. \RequirePackage{fontspec}
  9. \RequirePackage[usenames,dvipsnames]{color}
  10. \RequirePackage[absolute]{textpos}
  11. \RequirePackage[english]{babel}
  12. \RequirePackage{graphicx}
  13. \RequirePackage{fancyhdr}
  14. \RequirePackage{picture}
  15. \RequirePackage[top=4.5cm,bottom=2cm,left=1.4cm,right=1.4cm]{geometry}
  16.  
  17. \pagestyle{fancy}
  18. \fancyhf{}
  19. \renewcommand{\headrulewidth}{0pt}
  20. \renewcommand{\footrulewidth}{0pt}
  21. \renewcommand{\baselinestretch}{1.4}
  22.  
  23. % This fixes the warnings but ruins the document.
  24. %\setlength{\headheight}{800pt}
  25.  
  26. \cfoot{\begin{picture}(1.23cm,0.67cm)(0,0)\includegraphics{sig.eps}%
  27. \end{picture}}
  28. \lhead{\begin{picture}(8.17cm,27.94cm)(40,-40)\includegraphics{linelogo.eps}%
  29. \end{picture}}
  30.  
  31. % Remove section numbers.
  32. \setcounter{secnumdepth}{0}
  33.  
  34. \definecolor{primary}{RGB}{66,66,67}
  35.  
  36. \definecolor{secondary}{RGB}{66,66,67}
  37.  
  38. \defaultfontfeatures{Colour=424243}
  39.  
  40. \setromanfont[Scale=1.5]{Myriad Pro}
  41. \setmonofont[Scale=1.3]{Inconsolata}
  42.  
  43. \renewcommand{\maketitle}{
  44. \thispagestyle{empty}
  45. \pagecolor{primary}
  46. \begin{textblock}{16}(0,6)
  47. \textblocklabel{coverlogo}
  48. \begin{center}
  49. \includegraphics{logo.eps}
  50. \end{center}
  51. \end{textblock}
  52.  
  53. \vspace*{19cm}
  54. \begin{center}
  55. \renewcommand{\baselinestretch}{4}
  56. \addfontfeature{Color=fffffe,Scale=5}
  57.    {\MakeUppercase{\@title} \par}
  58. \renewcommand{\baselinestretch}{1.4}
  59. \end{center}
  60. \clearpage
  61. \pagebreak
  62. \pagecolor{white}
  63. }
  64.  
  65. \newcommand{\makelightcover}{
  66. \clearpage
  67. \pagebreak
  68. \thispagestyle{empty}
  69. \pagecolor{white}
  70. \vspace*{7.8cm}
  71. \begin{center}
  72. \includegraphics[width=7cm]{logogrey.eps}
  73. \end{center}
  74.  
  75. \begin{textblock}{16}(0,15)
  76. \textblocklabel{coverlogo}
  77. \begin{center}
  78. \addfontfeature{Color=d1d3d4,Scale=1.3}
  79. http://www.stochastictechnologies.com/
  80. \end{center}
  81. \end{textblock}
  82. \clearpage
  83. \pagebreak
  84. }
  85.  
  86. \newcommand{\makedarkcover}{
  87. \clearpage
  88. \pagebreak
  89. \thispagestyle{empty}
  90. \pagecolor{primary}
  91. \vspace*{7.8cm}
  92. \begin{center}
  93. \includegraphics[width=7cm]{logo.eps}
  94. \end{center}
  95.  
  96. \begin{textblock}{16}(0,15)
  97. \textblocklabel{coverlogo}
  98. \begin{center}
  99. \addfontfeature{Color=fffffe,Scale=1.3}
  100. http://www.stochastictechnologies.com/
  101. \end{center}
  102. \end{textblock}
  103. \clearpage
  104. \pagebreak
  105. \pagecolor{white}
  106. }