directive.tex 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. \documentclass[fontsize=12pt,DIV=18,BCOR=5mm,pagesize,draft=false,parskip=half]{scrartcl}
  2. \usepackage{ucs}
  3. \usepackage[utf8x]{inputenc}
  4. \usepackage[english]{babel}
  5. \usepackage[T1]{fontenc}
  6. %\usepackage{mathptmx} % Times-like font
  7. \KOMAoptions{DIV=last}
  8. %% METADATA DEFINED HERE. CHANGE ACCORDING TO YOUR DESIRED VALUES
  9. \newcommand{\dtitle}{Title of the Directive} %Title
  10. \newcommand{\dauthor}{Lord Daniel Ascarion} %Author, including title/rank
  11. \newcommand{\dpositions}{Director\\Imperial Security Bureau}
  12. \newcommand{\dbranch}{The Imperial Security Bureau} %Issuing branch
  13. \newcommand{\dabbrv}{DGE-123} %abbreviation of the directive
  14. \newcommand{\ddist}{All Galactic Empire Personnel} %distribution
  15. \newcommand{\dapplies}{Galactic Empire} %Applies to
  16. \newcommand{\ddatefrom}{Year 17, Day 123} %Date of Effect
  17. \newcommand{\ddateto}{N/A} %Date of Termination
  18. \newcommand{\dclearance}{UNRESTRICTED} %Security Clearance
  19. \newcommand{\dlocation}{Byden Complex, Imperial City Government District, CORUSCANT} %Location
  20. %% END OF METADATA. YOU SHOULD NOT CHANG ANYTHING UNTIL "`CONTENT STARTS HERE"'.
  21. \usepackage{graphicx}
  22. \usepackage{wrapfig}
  23. \usepackage{enumitem}
  24. \usepackage[pdfauthor={\dauthor},pdftitle={[\dclearance] \dtitle},pdfsubject={\dbranch},pdfkeywords={\dabbrv}]{hyperref}
  25. \usepackage{scrlayer-scrpage}
  26. \setkomafont{pageheadfoot}{\bfseries}
  27. \chead{[\dclearance]}
  28. \author{Daniel Ascarion}
  29. \publishers{Imperial Security Bureau}
  30. \title{Some Directive}
  31. \newcommand*{\empire}[1]{%
  32. \LARGE\textbf{\MakeUppercase{#1}}\normalsize%
  33. }
  34. \newcommand*{\branch}[1]{%
  35. \Large{\MakeUppercase{#1}}\normalsize%
  36. }
  37. \newcommand*{\location}[1]{%
  38. \strut\hspace{26mm}\small#1\normalsize%
  39. }
  40. \begin{document}
  41. \begin{wrapfigure}{l}{22mm}
  42. \vspace{-15pt}
  43. \includegraphics[width=22mm]{logo.png}
  44. \end{wrapfigure}
  45. \empire{Directive --- Galactic Empire}\vspace{2mm}\\
  46. \branch{\dbranch}\\
  47. \rule{\textwidth}{.4pt}\\
  48. \location{\dlocation}
  49. \dabbrv
  50. \textbf{DISTRIBUTION}\\
  51. \textbf{\ddist}
  52. \textbf{Applies To:} \dapplies\\
  53. \textbf{Date of Effect:} \ddatefrom\\
  54. \textbf{Date of Termination:} \ddateto
  55. \textbf{\MakeUppercase{\dtitle}}
  56. % CONTENT STARTS HERE. IT IS RECOMENDED NOT TO CHANGE THE ARGUMENTS FOR THE ENUMERATE ENVIROMENTS
  57. \begin{enumerate}[leftmargin=*, labelsep=15mm, itemindent=18mm]
  58. \item In an effort to reduce dependability on silly Microsoft products, this \LaTeXe{} template for directives has been created.
  59. \item The advantages of this templates are as follows:
  60. \begin{enumerate}[leftmargin=*, labelindent=18mm, labelsep=15mm, itemindent=19mm, noitemsep]
  61. \item \LaTeX{} is available for all platforms, output will not depend on program used.
  62. \item Since the input files are raw text, version control like git can be used.
  63. \end{enumerate}
  64. \item It is recommend to keep this template seperate and copy the entire folder whenever making a new directive, so that all \LaTeX{} output files are within the same folder.
  65. \end{enumerate}
  66. %CONTENT ENDS HERE. CHANGE SETTINGS FOR THE SIGNATURE IMAGE WHERE NECESSARY.
  67. \vfill
  68. \includegraphics[width=50mm]{nachname.png}\\ %Change width and filename of the signature image.
  69. \textbf{\MakeUppercase{\dauthor}}\\
  70. \dpositions
  71. \end{document}