initial commit. refactored old template.tex to a package
This commit is contained in:
		
							
								
								
									
										30
									
								
								latexplate.sty
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								latexplate.sty
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
			
		||||
\RequirePackage
 | 
			
		||||
{
 | 
			
		||||
    fontspec,
 | 
			
		||||
    fancyhdr,
 | 
			
		||||
    lmodern,
 | 
			
		||||
    hyperref,
 | 
			
		||||
    graphicx,
 | 
			
		||||
    float,
 | 
			
		||||
    parskip,
 | 
			
		||||
    ragged2e,
 | 
			
		||||
    soul,
 | 
			
		||||
    sectsty,
 | 
			
		||||
    xcolor,
 | 
			
		||||
    microtype,
 | 
			
		||||
    tabto
 | 
			
		||||
}
 | 
			
		||||
\RequirePackage[bottom,hang,flushmargin]{footmisc}
 | 
			
		||||
 | 
			
		||||
\definecolor{andigray}{RGB}{237,237,237}
 | 
			
		||||
\sethlcolor{andigray}
 | 
			
		||||
\newcommand{\code}[1]{\hl{\mbox{#1}}}
 | 
			
		||||
 | 
			
		||||
\newcommand{\pic}[3]
 | 
			
		||||
{
 | 
			
		||||
\begin{figure}[H]
 | 
			
		||||
    \centering
 | 
			
		||||
    \includegraphics[#1]{#2}
 | 
			
		||||
    \caption{#3}
 | 
			
		||||
\end{figure}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user