summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--build/lfc_draft.pdfbin0 -> 51230 bytes
-rw-r--r--lfc_draft.tex63
-rw-r--r--makefile30
4 files changed, 95 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7c12933
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+build/*
+!build/*.pdf
diff --git a/build/lfc_draft.pdf b/build/lfc_draft.pdf
new file mode 100644
index 0000000..16b2900
--- /dev/null
+++ b/build/lfc_draft.pdf
Binary files differ
diff --git a/lfc_draft.tex b/lfc_draft.tex
new file mode 100644
index 0000000..79566f6
--- /dev/null
+++ b/lfc_draft.tex
@@ -0,0 +1,63 @@
+\documentclass[a4paper,11pt]{article}
+
+\usepackage[a4paper, inner=3cm, outer=3cm, marginpar=0pt]{geometry}
+\usepackage[explicit]{titlesec}
+\usepackage[italian]{babel}
+\usepackage[T1]{fontenc}
+\usepackage{ulem}
+\usepackage{lmodern} % font
+\usepackage{xcolor} % colored text
+\usepackage{everysel} % font hypenation
+\usepackage{lipsum}
+
+% set font
+\renewcommand\familydefault{\ttdefault}
+\raggedright
+\setlength\parindent{2em} % restore paragraph indent
+
+% setup title(s)
+\renewcommand*\thesection{\Roman{section}}
+\titleformat{\section}
+ % [] % shape
+ {\normalfont} % format
+ {\thesection.} % label
+ {5pt} % separator
+ {\textcolor{red!50!black}{\MakeUppercase{#1}}} % before-code
+ % [] % after-code
+
+\renewcommand*\thesubsection{\roman{subsection}}
+\titleformat{\subsection}
+ % [] % shape
+ {\normalfont} % format
+ {\thesubsection.} % label
+ {5pt} % separator
+ {\MakeUppercase{#1}} % before-code
+ % [] % after-code
+
+
+\begin{document}
+\begin{center}
+ \textbf{BOZZA LAVORO DI FINE CORSO} \\
+ Naoki Pross 4B
+\end{center}
+
+\section{Introduzione}
+[ da scrivere per ultima ]
+
+\section{Testo Narrativo}
+\subsection{Cenni biografici}
+\subsection{Riassunto breve}
+
+
+
+\subsection{Riassunto Analitico}
+\subsection{Tematiche presenti nel libro}
+\subsection{Motivazioni della scelta}
+\subsection{Risposta personale all'interrogativo}
+\subsection{Risposta alla tematica secondo il libro}
+
+% \section{Articolo}
+% \section{Pellicola}
+% \section{Conclusioni}
+
+\end{document}
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..1d79099
--- /dev/null
+++ b/makefile
@@ -0,0 +1,30 @@
+# file settings
+BUILD_DIR := build
+DRAFT := lfc_draft.pdf
+FINAL := lfc_final.pdf
+
+# tex settings
+TEX := pdflatex \
+ -interaction=nonstopmode \
+ -halt-on-error \
+ -output-directory=$(BUILD_DIR)
+
+# automated stuff
+_DRAFT := $(BUILD_DIR)/$(DRAFT)
+_DRAFT_SRC := $(patsubst %.pdf,%.tex,$(DRAFT))
+
+_FINAL := $(BUILD_DIR)/$(FINAL)
+_FINAL_SRC := $(patsubst %.pdf,%.tex,$(FINAL))
+
+# recipes
+.PHONY: build_dir
+all: $(_DRAFT)
+
+$(_DRAFT): $(_DRAFT_SRC) build_dir
+ $(TEX) $<
+
+$(_FINAL): $(_FINAL_SRC) build_dir
+ $(TEX) $<
+
+build_dir:
+ mkdir -p $(BUILD_DIR)