diff --git a/Algebra lineare/1. Primo capitolo.tex b/Algebra lineare/1. Primo capitolo.tex new file mode 100644 index 0000000..f3e6fe9 --- /dev/null +++ b/Algebra lineare/1. Primo capitolo.tex @@ -0,0 +1,18 @@ +\chapter{Primo capitolo} + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. +Etiam laoreet venenatis ligula, et posuere est malesuada non. +In placerat rutrum felis, vel consectetur justo commodo tempus. +Etiam placerat mattis lectus, eget convallis ipsum convallis +sit amet. Nunc laoreet sapien sed accumsan aliquet. Vestibulum +justo purus, varius et dolor feugiat, viverra tincidunt diam. +Suspendisse maximus est augue, eget tincidunt turpis lobortis +eget. Vivamus placerat, elit a gravida sollicitudin, ante mauris +fermentum erat, accumsan mattis lectus justo quis massa. Cras +eleifend arcu vitae mauris efficitur, ut dapibus ligula fermentum. +Aliquam eget nisi congue, varius mi id, placerat ante. Duis at +egestas ligula. Morbi pulvinar dolor ut nibh auctor, quis congue +elit aliquam. Cras placerat lorem eros, et pretium nisi finibus +a. Integer dignissim mi nulla, id consectetur nisi blandit sed. +In in maximus erat. Aenean gravida nibh elit, at pellentesque +lorem porttitor eget. \ No newline at end of file diff --git a/Algebra lineare/algebra_lineare.tex b/Algebra lineare/algebra_lineare.tex new file mode 100644 index 0000000..5c47d42 --- /dev/null +++ b/Algebra lineare/algebra_lineare.tex @@ -0,0 +1,48 @@ +\documentclass[oneside]{book} + +\usepackage{amsmath} +\usepackage{amssymb} +\usepackage{amsthm} +\usepackage{enumitem} +\usepackage[a4paper, total={6in, 8in}]{geometry} +\usepackage{hyperref} +\usepackage{mathtools} +\usepackage[italian]{babel} +\usepackage[utf8]{inputenc} +\usepackage[parfill]{parskip} +\usepackage{wrapfig} + +\usepackage{pgfplots} +\pgfplotsset{compat=1.15} +\usepackage{mathrsfs} +\usetikzlibrary{arrows,angles,quotes} + +\renewcommand\qedsymbol{$\blacksquare$} + +\newcommand{\gfrac}[2]{\displaystyle \frac{#1}{#2}} +\newcommand{\abs}[1]{\lvert#1\rvert} +\newcommand{\norm}[1]{\lVert \vec{#1} \rVert} +\newcommand{\nnorm}[1]{\lVert #1 \rVert} + +\newtheorem{axiom}{Assioma}[section] +\newtheorem{theorem}{Teorema}[section] +\newtheorem{corollary}{Corollario}[theorem] +\newtheorem{lemma}[theorem]{Lemma} + +\theoremstyle{definition} +\newtheorem{definition}{Definizione}[section] + +\begin{document} + +\author{Gabriel Antonio Videtta} +\title{Appunti di Algebra lineare} + +\maketitle +\newpage + +\tableofcontents +\newpage + +\include{1. Primo capitolo.tex} + +\end{document} \ No newline at end of file diff --git a/Analisi I/1. Primo capitolo.tex b/Analisi I/1. Primo capitolo.tex new file mode 100644 index 0000000..f3e6fe9 --- /dev/null +++ b/Analisi I/1. Primo capitolo.tex @@ -0,0 +1,18 @@ +\chapter{Primo capitolo} + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. +Etiam laoreet venenatis ligula, et posuere est malesuada non. +In placerat rutrum felis, vel consectetur justo commodo tempus. +Etiam placerat mattis lectus, eget convallis ipsum convallis +sit amet. Nunc laoreet sapien sed accumsan aliquet. Vestibulum +justo purus, varius et dolor feugiat, viverra tincidunt diam. +Suspendisse maximus est augue, eget tincidunt turpis lobortis +eget. Vivamus placerat, elit a gravida sollicitudin, ante mauris +fermentum erat, accumsan mattis lectus justo quis massa. Cras +eleifend arcu vitae mauris efficitur, ut dapibus ligula fermentum. +Aliquam eget nisi congue, varius mi id, placerat ante. Duis at +egestas ligula. Morbi pulvinar dolor ut nibh auctor, quis congue +elit aliquam. Cras placerat lorem eros, et pretium nisi finibus +a. Integer dignissim mi nulla, id consectetur nisi blandit sed. +In in maximus erat. Aenean gravida nibh elit, at pellentesque +lorem porttitor eget. \ No newline at end of file diff --git a/Analisi I/analisi_i.tex b/Analisi I/analisi_i.tex new file mode 100644 index 0000000..19cf10b --- /dev/null +++ b/Analisi I/analisi_i.tex @@ -0,0 +1,48 @@ +\documentclass[oneside]{book} + +\usepackage{amsmath} +\usepackage{amssymb} +\usepackage{amsthm} +\usepackage{enumitem} +\usepackage[a4paper, total={6in, 8in}]{geometry} +\usepackage{hyperref} +\usepackage{mathtools} +\usepackage[italian]{babel} +\usepackage[utf8]{inputenc} +\usepackage[parfill]{parskip} +\usepackage{wrapfig} + +\usepackage{pgfplots} +\pgfplotsset{compat=1.15} +\usepackage{mathrsfs} +\usetikzlibrary{arrows,angles,quotes} + +\renewcommand\qedsymbol{$\blacksquare$} + +\newcommand{\gfrac}[2]{\displaystyle \frac{#1}{#2}} +\newcommand{\abs}[1]{\lvert#1\rvert} +\newcommand{\norm}[1]{\lVert \vec{#1} \rVert} +\newcommand{\nnorm}[1]{\lVert #1 \rVert} + +\newtheorem{axiom}{Assioma}[section] +\newtheorem{theorem}{Teorema}[section] +\newtheorem{corollary}{Corollario}[theorem] +\newtheorem{lemma}[theorem]{Lemma} + +\theoremstyle{definition} +\newtheorem{definition}{Definizione}[section] + +\begin{document} + +\author{Gabriel Antonio Videtta} +\title{Appunti di Analisi I} + +\maketitle +\newpage + +\tableofcontents +\newpage + +\include{1. Primo capitolo.tex} + +\end{document} \ No newline at end of file diff --git a/Aritmetica/1. Primo capitolo.tex b/Aritmetica/1. Primo capitolo.tex new file mode 100644 index 0000000..f3e6fe9 --- /dev/null +++ b/Aritmetica/1. Primo capitolo.tex @@ -0,0 +1,18 @@ +\chapter{Primo capitolo} + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. +Etiam laoreet venenatis ligula, et posuere est malesuada non. +In placerat rutrum felis, vel consectetur justo commodo tempus. +Etiam placerat mattis lectus, eget convallis ipsum convallis +sit amet. Nunc laoreet sapien sed accumsan aliquet. Vestibulum +justo purus, varius et dolor feugiat, viverra tincidunt diam. +Suspendisse maximus est augue, eget tincidunt turpis lobortis +eget. Vivamus placerat, elit a gravida sollicitudin, ante mauris +fermentum erat, accumsan mattis lectus justo quis massa. Cras +eleifend arcu vitae mauris efficitur, ut dapibus ligula fermentum. +Aliquam eget nisi congue, varius mi id, placerat ante. Duis at +egestas ligula. Morbi pulvinar dolor ut nibh auctor, quis congue +elit aliquam. Cras placerat lorem eros, et pretium nisi finibus +a. Integer dignissim mi nulla, id consectetur nisi blandit sed. +In in maximus erat. Aenean gravida nibh elit, at pellentesque +lorem porttitor eget. \ No newline at end of file diff --git a/Aritmetica/aritmetica.tex b/Aritmetica/aritmetica.tex new file mode 100644 index 0000000..9e1a4d2 --- /dev/null +++ b/Aritmetica/aritmetica.tex @@ -0,0 +1,48 @@ +\documentclass[oneside]{book} + +\usepackage{amsmath} +\usepackage{amssymb} +\usepackage{amsthm} +\usepackage{enumitem} +\usepackage[a4paper, total={6in, 8in}]{geometry} +\usepackage{hyperref} +\usepackage{mathtools} +\usepackage[italian]{babel} +\usepackage[utf8]{inputenc} +\usepackage[parfill]{parskip} +\usepackage{wrapfig} + +\usepackage{pgfplots} +\pgfplotsset{compat=1.15} +\usepackage{mathrsfs} +\usetikzlibrary{arrows,angles,quotes} + +\renewcommand\qedsymbol{$\blacksquare$} + +\newcommand{\gfrac}[2]{\displaystyle \frac{#1}{#2}} +\newcommand{\abs}[1]{\lvert#1\rvert} +\newcommand{\norm}[1]{\lVert \vec{#1} \rVert} +\newcommand{\nnorm}[1]{\lVert #1 \rVert} + +\newtheorem{axiom}{Assioma}[section] +\newtheorem{theorem}{Teorema}[section] +\newtheorem{corollary}{Corollario}[theorem] +\newtheorem{lemma}[theorem]{Lemma} + +\theoremstyle{definition} +\newtheorem{definition}{Definizione}[section] + +\begin{document} + +\author{Gabriel Antonio Videtta} +\title{Appunti di Aritmetica} + +\maketitle +\newpage + +\tableofcontents +\newpage + +\include{1. Primo capitolo.tex} + +\end{document} \ No newline at end of file diff --git a/Geometria/geometria.pdf b/Geometria euclidea/geometria_euclidea.pdf similarity index 75% rename from Geometria/geometria.pdf rename to Geometria euclidea/geometria_euclidea.pdf index 828a6e5..5b541ca 100644 Binary files a/Geometria/geometria.pdf and b/Geometria euclidea/geometria_euclidea.pdf differ diff --git a/Geometria/geometria.tex b/Geometria euclidea/geometria_euclidea.tex similarity index 99% rename from Geometria/geometria.tex rename to Geometria euclidea/geometria_euclidea.tex index 7ed0781..c8d18a3 100644 --- a/Geometria/geometria.tex +++ b/Geometria euclidea/geometria_euclidea.tex @@ -206,4 +206,5 @@ a tale verso di percorrenza. e congiunti a $P$, definiscono allo stesso modo infinite rette. \end{proof} + \end{document} \ No newline at end of file diff --git a/gen_struct.py b/gen_struct.py new file mode 100644 index 0000000..f3feb36 --- /dev/null +++ b/gen_struct.py @@ -0,0 +1,21 @@ +import os + +with open("templates/main_tmpl.tex", "r") as f: + main_tmpl = f.read() + +with open("templates/chap_tmpl.tex", "r") as f: + chap_tmpl = f.read() + +title = input("Inserisci il titolo dei nuovi appunti: ") +filename = title.lower().replace(" ", "_") + +try: + os.mkdir(title) +except FileExistsError: + pass + +with open(os.path.join(title, filename + ".tex"), "w") as f: + f.write(main_tmpl.replace("{{titolo}}", title)) + +with open(os.path.join(title, "1. Primo capitolo.tex"), "w") as f: + f.write(chap_tmpl) diff --git a/templates/chap_tmpl.tex b/templates/chap_tmpl.tex new file mode 100644 index 0000000..f3e6fe9 --- /dev/null +++ b/templates/chap_tmpl.tex @@ -0,0 +1,18 @@ +\chapter{Primo capitolo} + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. +Etiam laoreet venenatis ligula, et posuere est malesuada non. +In placerat rutrum felis, vel consectetur justo commodo tempus. +Etiam placerat mattis lectus, eget convallis ipsum convallis +sit amet. Nunc laoreet sapien sed accumsan aliquet. Vestibulum +justo purus, varius et dolor feugiat, viverra tincidunt diam. +Suspendisse maximus est augue, eget tincidunt turpis lobortis +eget. Vivamus placerat, elit a gravida sollicitudin, ante mauris +fermentum erat, accumsan mattis lectus justo quis massa. Cras +eleifend arcu vitae mauris efficitur, ut dapibus ligula fermentum. +Aliquam eget nisi congue, varius mi id, placerat ante. Duis at +egestas ligula. Morbi pulvinar dolor ut nibh auctor, quis congue +elit aliquam. Cras placerat lorem eros, et pretium nisi finibus +a. Integer dignissim mi nulla, id consectetur nisi blandit sed. +In in maximus erat. Aenean gravida nibh elit, at pellentesque +lorem porttitor eget. \ No newline at end of file diff --git a/templates/main_tmpl.tex b/templates/main_tmpl.tex new file mode 100644 index 0000000..65cf9a2 --- /dev/null +++ b/templates/main_tmpl.tex @@ -0,0 +1,48 @@ +\documentclass[oneside]{book} + +\usepackage{amsmath} +\usepackage{amssymb} +\usepackage{amsthm} +\usepackage{enumitem} +\usepackage[a4paper, total={6in, 8in}]{geometry} +\usepackage{hyperref} +\usepackage{mathtools} +\usepackage[italian]{babel} +\usepackage[utf8]{inputenc} +\usepackage[parfill]{parskip} +\usepackage{wrapfig} + +\usepackage{pgfplots} +\pgfplotsset{compat=1.15} +\usepackage{mathrsfs} +\usetikzlibrary{arrows,angles,quotes} + +\renewcommand\qedsymbol{$\blacksquare$} + +\newcommand{\gfrac}[2]{\displaystyle \frac{#1}{#2}} +\newcommand{\abs}[1]{\lvert#1\rvert} +\newcommand{\norm}[1]{\lVert \vec{#1} \rVert} +\newcommand{\nnorm}[1]{\lVert #1 \rVert} + +\newtheorem{axiom}{Assioma}[section] +\newtheorem{theorem}{Teorema}[section] +\newtheorem{corollary}{Corollario}[theorem] +\newtheorem{lemma}[theorem]{Lemma} + +\theoremstyle{definition} +\newtheorem{definition}{Definizione}[section] + +\begin{document} + +\author{Gabriel Antonio Videtta} +\title{Appunti di {{titolo}}} + +\maketitle +\newpage + +\tableofcontents +\newpage + +\include{1. Primo capitolo.tex} + +\end{document} \ No newline at end of file