Skip to content

Commit

Permalink
Adding basic templates
Browse files Browse the repository at this point in the history
  • Loading branch information
gsgall committed Jun 12, 2023
1 parent c9d70bd commit 9a84555
Show file tree
Hide file tree
Showing 39 changed files with 1,927 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.DS_Store
*.aux
*.bbl
*.bcf
*.blg
*.fdb_latexmk
*.fls
*.log
*.nav
*.out
*.run.xml
*.smm
*.synctex.gz
*.toc
*.snm
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# latex_templates
# latex_templates
This is there I store some basic templates that I use for academic/professional documents. Feel free to use anything I have :).
Binary file added hw_template/main.pdf
Binary file not shown.
128 changes: 128 additions & 0 deletions hw_template/main.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{esvect}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{float}
\usepackage{hyperref}

\setlength{\parindent}{0pt}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{graphicx}
\usepackage{color}
\usepackage{hyperref}
\usepackage{amsfonts}
\usepackage{epstopdf}
\usepackage[table]{xcolor}
\usepackage{pdfpages}
\usepackage{tabu}
\usepackage{arydshln}

\tabulinesep = 1.5mm
\usepackage{subfiles} % Best loaded last in the preamble


\usepackage[
backend=biber,
style=numeric,
sorting=nty,
maxbibnames=99
]{biblatex}

%\addbibresource{works.bib}

\setlength{\parindent}{0pt}


\newcommand{\unit}[1]{
\: \left[ \text{#1} \right]
}

\newcommand{\fracunit}[2]{
\: \left[
\frac{\text{#1}}{\text{#2}}
\right]
}

\newcommand{\ans}[1]{
\begin{center}
\begin{tabu}{|c|}
\hline \
\( #1 \)
\\ \hline
\end{tabu}
\end{center}
}

\newcommand{\textans}[1]{
\begin{center}
\begin{tabu}{|c|}
\hline \
#1
\\ \hline
\end{tabu}
\end{center}
}

\newcommand{\eref}[1]{equation \ref{#1}}

\newcommand{\Eref}[1]{Equation \ref{#1}}

\newcommand{\tref}[1]{table \ref{#1}}

\newcommand{\Tref}[1]{Table \ref{#1}}

\newcommand{\fref}[1]{figure \ref{#1}}

\newcommand{\Fref}[1]{Figure \ref{#1}}

% macros for integration by parts using the tabular method
\newcommand{\tabmethod}[1]{
\begin{table}[H]
\centering
\begin{tabu}{cccc}
& u & & dv \\
\hline
#1
\end{tabu}
\end{table}
}
\newcommand{\tabmethodstep}[4]{ \(#1\) & \(#2\) & \(#3\) & \(#4\) \\ & & \(\searrow\) & \\ }
\newcommand{\tabmethodstepnoarrow}[4]{ \(#1\) & \(#2\) & \(#3\) & \(#4\) \\ }

\def\rcurs{{\mbox{$\resizebox{.16in}{.08in}{\includegraphics{script/ScriptR}}$}}}
\def\brcurs{{\mbox{$\resizebox{.16in}{.08in}{\includegraphics{script/BoldR}}$}}}
\def\hrcurs{{\mbox{$\hat \brcurs$}}}

\hypersetup{pdfborder=0 0 0}

\title{\textbf{Homework \#}}
\author{
Name: Grayson Gall
\\ \\
Class: NE 40\# - 00\#
}
\date{Due: February \#\#, 2023}

% Command for setting the subsections to have letters
% uncomment to use alphabetic subsections
%\renewcommand{\thesubsection}{\thesection.\alph{subsection}}

\begin{document}

\maketitle

\newpage
\section{}
\subfile{sections/p1}

% Uncomment for Citing Sources
%\newpage
%\nocite{*}
%\printbibliography
\end{document}



Binary file added hw_template/script/BoldR.pdf
Binary file not shown.
Binary file added hw_template/script/ScriptR.pdf
Binary file not shown.
Empty file added hw_template/sections/p1.tex
Empty file.
Empty file added hw_template/works.bib
Empty file.
4 changes: 4 additions & 0 deletions ncsu_poster_template/columns/center.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
\block{\blocktitlefontsize Middle Section 1}
{}
\block{\blocktitlefontsize Middle Section 2}
{}
5 changes: 5 additions & 0 deletions ncsu_poster_template/columns/left.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
\block{\blocktitlefontsize Left Section 1}
{}

\block{\blocktitlefontsize Left Section 2}
{}
14 changes: 14 additions & 0 deletions ncsu_poster_template/columns/right.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
\block{\blocktitlefontsize Right Section 1}
{}

\block{\blocktitlefontsize Right Section 2}
{}

\block{\blocktitlefontsize Acknowledgements}
{}

\block{\blocktitlefontsize References}{
\vspace{-1em}
\printbibliography[heading=none]
}

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
92 changes: 92 additions & 0 deletions ncsu_poster_template/main.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
\documentclass[20pt,margin=1in,innermargin=-4.5in,blockverticalspace=-0.25in]{tikzposter}

\geometry{paperwidth=42in,paperheight=36in}


\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{mathrsfs}
\usepackage{graphicx}
\usepackage{adjustbox}
\usepackage{enumitem}
\usepackage[backend=biber,style=numeric]{biblatex}
\usepackage{ncsutheme}
\usepackage{caption}
\usepackage[scaled]{helvet}
\usepackage[T1]{fontenc}
\usepackage{subfiles}
\usepackage{tabu}
\tabulinesep = 2mm

\usetikzlibrary{positioning}
\usetikzlibrary{math}
\usetikzlibrary{arrows, arrows.meta}


\addbibresource{refs.bib}

% set theme parameters
\tikzposterlatexaffectionproofoff
\usetheme{NCSUTheme}
\usecolorstyle{NCSUStyle}

\renewcommand\familydefault{\sfdefault}

\makeatletter
\def\title#1{\gdef\@title{\scalebox{\TP@titletextscale}{%
\begin{minipage}[t]{\linewidth}
\centering
#1
\par
\vspace{0.5em}
\end{minipage}%
}}}
\makeatother

\title{
\textbf{
Title
}
}

\author{
Grayson Gall\textsuperscript{1},
}

\institute{
\textsuperscript{1}North Carolina State University, North Carolina, USA\\
}

\newcommand{\blocktitlefontsize}{\huge}
\newcommand{\blockbodyfontsize}{\large}
\newcommand{\citationfontsize}{\normalsize}
\newcommand\scalemath[2]{\scalebox{#1}{\mbox{\ensuremath{\displaystyle #2}}}}

\renewcommand*{\bibfont}{\citationfontsize}

% begin document
\begin{document}
\maketitle


\node[anchor=west,xshift=10cm, yshift=-2cm] at ([email protected])
{

\includegraphics[width=29.1cm]{logos/ncstate-brick-4x1-red.png}

};

\centering
\begin{columns}
\hspace{2mm}
\column{0.297}
\subfile{columns/left}
\column{0.40}
\subfile{columns/center}
\column{0.30}
\subfile{columns/right}
\end{columns}
\end{document}
Loading

0 comments on commit 9a84555

Please sign in to comment.