Daniel 8 年 前
コミット
45cf922137
4 ファイル変更269 行追加0 行削除
  1. 180 0
      .gitignore
  2. 89 0
      directive.tex
  3. BIN
      logo.png
  4. BIN
      nachname.png

+ 180 - 0
.gitignore

@@ -0,0 +1,180 @@
+## Core latex/pdflatex auxiliary files:
+*.aux
+*.lof
+*.log
+*.lot
+*.fls
+*.out
+*.toc
+*.fmt
+*.fot
+*.cb
+*.cb2
+
+## Intermediate documents:
+*.dvi
+*-converted-to.*
+# these rules might exclude image files for figures etc.
+# *.ps
+# *.eps
+*.pdf
+
+## Bibliography auxiliary files (bibtex/biblatex/biber):
+*.bbl
+*.bcf
+*.blg
+*-blx.aux
+*-blx.bib
+*.brf
+*.run.xml
+
+## Build tool auxiliary files:
+*.fdb_latexmk
+*.synctex
+*.synctex.gz
+*.synctex.gz(busy)
+*.pdfsync
+
+## Auxiliary and intermediate files from other packages:
+# algorithms
+*.alg
+*.loa
+
+# achemso
+acs-*.bib
+
+# amsthm
+*.thm
+
+# beamer
+*.nav
+*.snm
+*.vrb
+
+# cprotect
+*.cpt
+
+# fixme
+*.lox
+
+#(r)(e)ledmac/(r)(e)ledpar
+*.end
+*.?end
+*.[1-9]
+*.[1-9][0-9]
+*.[1-9][0-9][0-9]
+*.[1-9]R
+*.[1-9][0-9]R
+*.[1-9][0-9][0-9]R
+*.eledsec[1-9]
+*.eledsec[1-9]R
+*.eledsec[1-9][0-9]
+*.eledsec[1-9][0-9]R
+*.eledsec[1-9][0-9][0-9]
+*.eledsec[1-9][0-9][0-9]R
+
+# glossaries
+*.acn
+*.acr
+*.glg
+*.glo
+*.gls
+*.glsdefs
+
+# gnuplottex
+*-gnuplottex-*
+
+# hyperref
+*.brf
+
+# knitr
+*-concordance.tex
+# TODO Comment the next line if you want to keep your tikz graphics files
+*.tikz
+*-tikzDictionary
+
+# listings
+*.lol
+
+# makeidx
+*.idx
+*.ilg
+*.ind
+*.ist
+
+# minitoc
+*.maf
+*.mlf
+*.mlt
+*.mtc
+*.mtc[0-9]
+*.mtc[1-9][0-9]
+
+# minted
+_minted*
+*.pyg
+
+# morewrites
+*.mw
+
+# mylatexformat
+*.fmt
+
+# nomencl
+*.nlo
+
+# sagetex
+*.sagetex.sage
+*.sagetex.py
+*.sagetex.scmd
+
+# sympy
+*.sout
+*.sympy
+sympy-plots-for-*.tex/
+
+# pdfcomment
+*.upa
+*.upb
+
+# pythontex
+*.pytxcode
+pythontex-files-*/
+
+# thmtools
+*.loe
+
+# TikZ & PGF
+*.dpth
+*.md5
+*.auxlock
+
+# todonotes
+*.tdo
+
+# xindy
+*.xdy
+
+# xypic precompiled matrices
+*.xyc
+
+# endfloat
+*.ttt
+*.fff
+
+# Latexian
+TSWLatexianTemp*
+
+## Editors:
+# WinEdt
+*.bak
+*.sav
+
+# Texpad
+.texpadtmp
+
+# Kile
+*.backup
+
+# KBibTeX
+*~[0-9]*

+ 89 - 0
directive.tex

@@ -0,0 +1,89 @@
+\documentclass[fontsize=12pt,DIV=18,BCOR=5mm,pagesize,draft=false,parskip=half]{scrartcl}
+\usepackage{ucs}
+\usepackage[utf8x]{inputenc}
+\usepackage[english]{babel}
+\usepackage[T1]{fontenc}
+%\usepackage{mathptmx} % Times-like font
+\KOMAoptions{DIV=last}
+
+%% METADATA DEFINED HERE. CHANGE ACCORDING TO YOUR DESIRED VALUES
+
+\newcommand{\dtitle}{Title of the Directive} %Title
+\newcommand{\dauthor}{Lord Daniel Ascarion} %Author, including title/rank
+\newcommand{\dpositions}{Director\\Imperial Security Bureau}
+\newcommand{\dbranch}{The Imperial Security Bureau} %Issuing branch
+\newcommand{\dabbrv}{DGE-123} %abbreviation of the directive
+\newcommand{\ddist}{All Galactic Empire Personnel} %distribution
+\newcommand{\dapplies}{Galactic Empire} %Applies to
+\newcommand{\ddatefrom}{Year 17, Day 123} %Date of Effect
+\newcommand{\ddateto}{N/A} %Date of Termination
+\newcommand{\dclearance}{UNRESTRICTED} %Security Clearance
+\newcommand{\dlocation}{Byden Complex, Imperial City Government District, CORUSCANT} %Location
+
+%% END OF METADATA. YOU SHOULD NOT CHANG ANYTHING UNTIL "`CONTENT STARTS HERE"'.
+
+\usepackage{graphicx}
+\usepackage{wrapfig}
+\usepackage{enumitem}
+\usepackage[pdfauthor={\dauthor},pdftitle={[\dclearance] \dtitle},pdfsubject={\dbranch},pdfkeywords={\dabbrv}]{hyperref}
+
+\usepackage{scrlayer-scrpage}
+\setkomafont{pageheadfoot}{\bfseries}
+\chead{[\dclearance]}
+
+\author{Daniel Ascarion}
+\publishers{Imperial Security Bureau}
+\title{Some Directive}
+
+\newcommand*{\empire}[1]{%
+    \LARGE\textbf{\MakeUppercase{#1}}\normalsize%
+}
+\newcommand*{\branch}[1]{%
+    \Large{\MakeUppercase{#1}}\normalsize%
+}
+\newcommand*{\location}[1]{%
+    \strut\hspace{26mm}\small#1\normalsize%
+}
+
+\begin{document}
+    \begin{wrapfigure}{l}{22mm}
+        \vspace{-15pt}
+        \includegraphics[width=22mm]{logo.png}
+    \end{wrapfigure}
+\empire{Directive --- Galactic Empire}\vspace{2mm}\\
+\branch{\dbranch}\\
+\rule{\textwidth}{.4pt}\\
+\location{\dlocation}
+
+\dabbrv
+
+\textbf{DISTRIBUTION}\\
+\textbf{\ddist}
+
+\textbf{Applies To:} \dapplies\\
+\textbf{Date of Effect:} \ddatefrom\\
+\textbf{Date of Termination:} \ddateto
+
+\textbf{\MakeUppercase{\dtitle}}
+
+% CONTENT STARTS HERE. IT IS RECOMENDED NOT TO CHANGE THE ARGUMENTS FOR THE ENUMERATE ENVIROMENTS
+
+\begin{enumerate}[leftmargin=*, labelsep=15mm, itemindent=18mm]
+    \item In an effort to reduce dependability on silly Microsoft products, this \LaTeXe{} template for directives has been created.
+    \item The advantages of this templates are as follows:
+    \begin{enumerate}[leftmargin=*, labelindent=18mm, labelsep=15mm, itemindent=19mm, noitemsep]
+        \item \LaTeX{} is available for all platforms, output will not depend on program used.
+        \item Since the input files are raw text, version control like git can be used.
+    \end{enumerate}
+    \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.
+\end{enumerate}
+
+%CONTENT ENDS HERE. CHANGE SETTINGS FOR THE SIGNATURE IMAGE WHERE NECESSARY.
+
+\vfill
+
+\includegraphics[width=50mm]{nachname.png}\\ %Change width and filename of the signature image.
+\textbf{\MakeUppercase{\dauthor}}\\
+\dpositions
+
+\end{document}

BIN
logo.png


BIN
nachname.png