Initial commit.
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
spec.db
|
||||
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Spec Template
|
||||
|
||||
This is a starter project for using `spec`.
|
||||
14
document.tex
Normal file
14
document.tex
Normal file
@@ -0,0 +1,14 @@
|
||||
% \documentclass{report}
|
||||
\usepackage{amssymb, amsmath, hyperref}
|
||||
\usepackage{preamble}
|
||||
|
||||
\begin{document}
|
||||
|
||||
Hello world!
|
||||
|
||||
\input{./part1}
|
||||
|
||||
\bibliographystyle{alpha} % We choose the "plain" reference style
|
||||
\bibliography{refs} % Entries are in the refs.bib file
|
||||
|
||||
\end{document}
|
||||
20
part1.tex
Normal file
20
part1.tex
Normal file
@@ -0,0 +1,20 @@
|
||||
\part{The First Part}
|
||||
\label{part:first}
|
||||
|
||||
The following are the contents for the first part.
|
||||
|
||||
\chapter{The First Chapter}
|
||||
\label{chapter:first}
|
||||
|
||||
Say hello to the first chapter. Test command: $\test$.
|
||||
|
||||
\begin{theorem}[Example Theorem]
|
||||
\label{theorem:example}
|
||||
|
||||
Example theorem content.
|
||||
\end{theorem}
|
||||
\begin{proof}
|
||||
See \cite[Page 120]{Example}.
|
||||
\end{proof}
|
||||
|
||||
|
||||
5
preamble.sty
Normal file
5
preamble.sty
Normal file
@@ -0,0 +1,5 @@
|
||||
\newtheorem{theorem}{Theorem}[chapter]
|
||||
\newtheorem{proposition}[theorem]{Proposition}
|
||||
\newtheorem{lemma}[theorem]{Lemma}
|
||||
|
||||
\newcommand{\test}{\text{Test Command}}
|
||||
7
refs.bib
Normal file
7
refs.bib
Normal file
@@ -0,0 +1,7 @@
|
||||
@book{Example,
|
||||
title={Example Citation Entry},
|
||||
author={Example Author},
|
||||
url={https://www.youtube.com/watch?v=dQw4w9WgXcQ},
|
||||
year={2009},
|
||||
publisher={Unknown Publisher}
|
||||
}
|
||||
Reference in New Issue
Block a user