Compare commits
No commits in common. "main" and "619ee9724e280cb5107724b633cfa0561292b0e4" have entirely different histories.
main
...
619ee9724e
|
@ -1,2 +1,2 @@
|
|||
_build
|
||||
*.*#
|
||||
# Build and build artifacts
|
||||
_build/
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
# Mostly blank makefile
|
||||
|
||||
all: prepare build
|
||||
|
||||
|
||||
prepare:
|
||||
mkdir -p _build/aux
|
||||
mkdir -p _build/pdf
|
||||
|
||||
build:
|
||||
pdflatex --enable-write18 -aux-directory=_build/aux -output-directory=_build/pdf my_pres.tex
|
|
@ -1 +0,0 @@
|
|||
_build
|
|
@ -1,43 +0,0 @@
|
|||
% Class type
|
||||
\documentclass[12pt]{article}
|
||||
|
||||
% Introduction and requirements
|
||||
\usepackage{mathptmx}
|
||||
\usepackage[a4paper, total={6.25in, 8in}]{geometry}
|
||||
\usepackage{setspace}
|
||||
\doublespacing
|
||||
|
||||
|
||||
% Packages
|
||||
\usepackage{iexec}
|
||||
|
||||
% Citations
|
||||
\usepackage[backend=biber]{biblatex-chicago} % Chicago\mla
|
||||
%\usepackage[backend=biber, style=apa]{biblatex} % apa
|
||||
\usepackage[colorlinks, citecolor=black]{hyperref}
|
||||
\addbibresource{ExamplePaperReferences.bib} % Import the bibliography file
|
||||
|
||||
|
||||
\title{Example Paper}
|
||||
\date{\today\\
|
||||
\small{Revision: \iexec{git describe --abbrev=8 --always --tags --dirty}}}
|
||||
\author{My Name\\
|
||||
\bf{My University}\\
|
||||
CLA 101: Introduction to \LaTeX\\
|
||||
Instructor: \href{mailto://my_teacher.edu}{My Instructor}}
|
||||
|
||||
\begin{document}
|
||||
\pagenumbering{gobble}
|
||||
\maketitle
|
||||
|
||||
\newpage
|
||||
\pagenumbering{arabic}
|
||||
|
||||
This is a big important paragraph. With lots and lots of stuff..
|
||||
|
||||
And heres an example of a citation\autocite{garvey_nature_2005}.
|
||||
|
||||
\newpage
|
||||
\printbibliography[title={References}]
|
||||
|
||||
\end{document}
|
|
@ -1,14 +0,0 @@
|
|||
|
||||
@article{garvey_nature_2005,
|
||||
title = {Nature, {Nurture} and {Why} the {Pendulum} {Still} {Swings}},
|
||||
volume = {35},
|
||||
issn = {0045-5091},
|
||||
url = {https://www.jstor.org/stable/40232250},
|
||||
number = {2},
|
||||
urldate = {2022-02-08},
|
||||
journal = {Canadian Journal of Philosophy},
|
||||
author = {Garvey, Brian},
|
||||
year = {2005},
|
||||
note = {Publisher: [Taylor \& Francis, Ltd., Canadian Journal of Philosophy]},
|
||||
pages = {309--330}
|
||||
}
|
|
@ -1,44 +0,0 @@
|
|||
# Written by joe
|
||||
# Revision 66480b2b
|
||||
|
||||
# Variables
|
||||
REVISION := "$(shell git describe --abbrev=8 --dirty --always --tags)"
|
||||
|
||||
# Paths
|
||||
ROOT := "$(PWD)"
|
||||
BUILDDIR := $(ROOT)/_build
|
||||
SUBMITDIR := $(BUILDDIR)/Brightspace
|
||||
|
||||
|
||||
|
||||
all: pdf submit
|
||||
|
||||
|
||||
# Move everything required to builddir
|
||||
copy:
|
||||
mkdir -p $(BUILDDIR)
|
||||
find -type f '(' -name "*.tex*" -o -name "*.sty*" -o -name "*.bib" ')' -exec cp {} $(BUILDDIR) \;
|
||||
|
||||
# Build source in buildir into pdf
|
||||
pdf: copy
|
||||
cd $(BUILDDIR) && find . -name '*.tex' -exec latexmk --shell-escape -pdf {} \;
|
||||
|
||||
# Package everything into a neat little zip + pdf
|
||||
submit: pdf
|
||||
rm -rvf $(SUBMITDIR)
|
||||
mkdir -p $(SUBMITDIR)
|
||||
find -type f '(' -name "*.tex*" -o -name "*.sty*" -o -name "*.bib" -o -name "Makefile" ')' -exec cp {} $(SUBMITDIR) \;
|
||||
cd $(SUBMITDIR) && zip $(REVISION)_source.zip *
|
||||
cp $(BUILDDIR)/*.pdf $(SUBMITDIR)
|
||||
|
||||
echo "Auto generated using software written by Joe." > $(SUBMITDIR)/README.md
|
||||
echo "This build and all artifacts were built locally on this date: " >> $(SUBMITDIR)/README.md
|
||||
date >> $(SUBMITDIR)/README.md
|
||||
|
||||
# cleanup
|
||||
cd $(SUBMITDIR) && find -type f '(' -name "*.tex*" -o -name "*.sty*" -o -name "*.bib" -o -name "Makefile" ')' -exec rm {} \;
|
||||
|
||||
# Clean all
|
||||
clean:
|
||||
git clean -fdX
|
||||
rm -rvf $(SUBMITDIR)
|
|
@ -1,6 +0,0 @@
|
|||
# Written by Joe
|
||||
|
||||
# Version
|
||||
REVISION="$(git describe --abbrev=8 --always --tags)"
|
||||
|
||||
sed -i "2s/.*/Revision ${REVISION}/" 'Paper With Citations/Makefile'
|
Binary file not shown.
|
@ -0,0 +1,62 @@
|
|||
\documentclass[12pt, letterpaper, twoside]{report}
|
||||
\usepackage[utf8]{inputenc}
|
||||
|
||||
% Special Build Variables
|
||||
\immediate\write18{git describe --abbrev=4 --always --tags --dirty > _build/hash.tex}
|
||||
\immediate\write18{date -I > _build/builddate.tex}
|
||||
|
||||
|
||||
\title{Lab 1}
|
||||
\author{Joe Sedutto\\
|
||||
\and Another Author, Arty and others}
|
||||
\date{February 2014}
|
||||
|
||||
\begin{document}
|
||||
|
||||
% Titlepage
|
||||
\begin{titlepage}
|
||||
\begin{titlepage}
|
||||
\begin{center}
|
||||
\vspace*{1cm}
|
||||
|
||||
\textbf{Name of Lab}
|
||||
|
||||
\vspace{0.2cm}
|
||||
PHY-216L Physics II Lab
|
||||
|
||||
\vspace{0.5cm}
|
||||
Lab 3
|
||||
|
||||
% Information about when this doc was bilt and with what version
|
||||
\vspace{0.5cm}
|
||||
Revision \input{_build/hash}\\
|
||||
\vspace{0.1cm}
|
||||
Built on \input{_build/builddate}
|
||||
|
||||
\vspace{2cm}
|
||||
\textbf{Joe Sedutto}
|
||||
|
||||
\vspace{0.1cm}
|
||||
Michael L, Ronan D, Samuel F, Arthur A
|
||||
|
||||
\vfill
|
||||
|
||||
A thesis presented for the degree of\\
|
||||
Doctor of Philosophy
|
||||
|
||||
\vspace{0.8cm}
|
||||
|
||||
Department Name\\
|
||||
University Name\\
|
||||
Country\\
|
||||
Date
|
||||
|
||||
\end{center}
|
||||
\end{titlepage}
|
||||
\end{titlepage}
|
||||
|
||||
% Preamb
|
||||
|
||||
Nothing in here.
|
||||
|
||||
\end{document}
|
Loading…
Reference in New Issue