From b0c16711c5b79a95309b5bc0fa86156033e1c173 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Tue, 17 Oct 2017 20:30:02 +0200 Subject: First commit --- .gitignore | 2 ++ build/lfc_draft.pdf | Bin 0 -> 51230 bytes lfc_draft.tex | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++ makefile | 30 +++++++++++++++++++++++++ 4 files changed, 95 insertions(+) create mode 100644 .gitignore create mode 100644 build/lfc_draft.pdf create mode 100644 lfc_draft.tex create mode 100644 makefile 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 Binary files /dev/null and b/build/lfc_draft.pdf 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) -- cgit v1.2.1