directive.tex 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. \newcommand*{\empire}[1]{%
  29. \LARGE\textbf{\MakeUppercase{#1}}\normalsize%
  30. }
  31. \newcommand*{\branch}[1]{%
  32. \Large{\MakeUppercase{#1}}\normalsize%
  33. }
  34. \newcommand*{\location}[1]{%
  35. \strut\hspace{26mm}\small#1\normalsize%
  36. }
  37. \begin{document}
  38. \begin{wrapfigure}{l}{22mm}
  39. \vspace{-15pt}
  40. \includegraphics[width=22mm]{logo.png}
  41. \end{wrapfigure}
  42. \empire{Directive --- Galactic Empire}\vspace{2mm}\\
  43. \branch{\dbranch}\\
  44. \rule{\textwidth}{.4pt}\\
  45. \location{\dlocation}
  46. \dabbrv
  47. \textbf{DISTRIBUTION}\\
  48. \textbf{\ddist}
  49. \textbf{Applies To:} \dapplies\\
  50. \textbf{Date of Effect:} \ddatefrom\\
  51. \textbf{Date of Termination:} \ddateto
  52. \textbf{\MakeUppercase{\dtitle}}
  53. % CONTENT STARTS HERE. IT IS RECOMENDED NOT TO CHANGE THE ARGUMENTS FOR THE ENUMERATE ENVIROMENTS
  54. \begin{enumerate}[leftmargin=*, labelsep=15mm, itemindent=18mm]
  55. \item In an effort to reduce dependability on silly Microsoft products, this \LaTeXe{} template for directives has been created.
  56. \item The advantages of this templates are as follows:
  57. \begin{enumerate}[leftmargin=*, labelindent=18mm, labelsep=15mm, itemindent=19mm, noitemsep]
  58. \item \LaTeX{} is available for all platforms, output will not depend on program used.
  59. \item Since the input files are raw text, version control like git can be used.
  60. \end{enumerate}
  61. \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.
  62. \end{enumerate}
  63. %CONTENT ENDS HERE. CHANGE SETTINGS FOR THE SIGNATURE IMAGE WHERE NECESSARY.
  64. \vfill
  65. \includegraphics[width=50mm]{nachname.png}\\ %Change width and filename of the signature image.
  66. \textbf{\MakeUppercase{\dauthor}}\\
  67. \dpositions
  68. \end{document}