mirror of https://github.com/hearot/notes
feat: aggiunge i PDF degli appunti fino a dicembre 2022
parent
2eaa7db9fd
commit
2776c9979f
Binary file not shown.
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 93 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,21 +0,0 @@
|
||||
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)
|
@ -1,14 +1,5 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/xterm/3.14.5/xterm.min.css" />
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/xterm/3.14.5/xterm.min.js"></script>
|
||||
</head>
|
||||
<body id="terminal" style="background-color:black;">
|
||||
</body>
|
||||
<script>
|
||||
var term = new Terminal();
|
||||
term.open(document.getElementById('terminal'));
|
||||
term.writeln('I\'m sorry, there is nothing here at the moment.');
|
||||
</script>
|
||||
<meta http-equiv="refresh" content="0; URL='http://hearot.it'" />
|
||||
</html>
|
@ -1,18 +0,0 @@
|
||||
\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.
|
@ -1,48 +0,0 @@
|
||||
\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}
|
Loading…
Reference in New Issue