Browse Source

Add template

main
raffitz 2 years ago
commit
8ef720817d
Signed by: raffitz
GPG Key ID: BB3596BD0A31252D
  1. 141
      .gitignore
  2. 15
      compile.sh
  3. 19
      main.tex

141
.gitignore vendored

@ -0,0 +1,141 @@ @@ -0,0 +1,141 @@
# ---> TeX
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
## 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
#(e)ledmac/(e)ledpar
*.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
# gnuplottex
*-gnuplottex-*
# hyperref
*.brf
# knitr
*-concordance.tex
*.tikz
*-tikzDictionary
# listings
*.lol
# makeidx
*.idx
*.ilg
*.ind
*.ist
# minitoc
*.maf
*.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/
# TikZ & PGF
*.dpth
*.md5
*.auxlock
# todonotes
*.tdo
# xindy
*.xdy
# WinEdt
*.bak
*.sav
# Build directory
build
build/*

15
compile.sh

@ -0,0 +1,15 @@ @@ -0,0 +1,15 @@
#!/usr/bin/env bash
DOCNAME=${1:-'main.tex'}
BUILDDIR=${2:-'build'}
set -e
if [[ ! -d "${BUILDDIR}/${BUILDDIR}" ]]; then
mkdir -p ${BUILDDIR}/${BUILDDIR}
mkdir -p ${BUILDDIR}/${BUILDDIR}/tikz
mkdir -p ${BUILDDIR}/tikz
mkdir -p tikz
fi
xelatex -shell-escape -output-directory ${BUILDDIR} ${DOCNAME}

19
main.tex

@ -0,0 +1,19 @@ @@ -0,0 +1,19 @@
\documentclass[a4paper,11pt,titlepage]{article}
\usepackage[utf8]{inputenc}
\usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry}
\usepackage{indentfirst}
\usepackage{hyperref}
\title{Document Template}
\date{\today}
\author{Rafael Gonçalves\thanks{The template author need not be credited in further documents that were based on it}}
\begin{document}
\maketitle
% \section{Section}
% Content
\end{document}
Loading…
Cancel
Save