Skip to content

Instantly share code, notes, and snippets.

@aziis98
Last active May 25, 2020 23:55
Show Gist options
  • Save aziis98/290c29eac0315b5b0613c418a6ebae42 to your computer and use it in GitHub Desktop.
Save aziis98/290c29eac0315b5b0613c418a6ebae42 to your computer and use it in GitHub Desktop.
Mio template per le cose in LaTeX.

LaTeX Template

Perché è sempre cosa buona e giusta mettere i README:

  • Font: Linux Libertine
  • Geometry: Margine di soli 30mm
  • Section: Linee sotto le section
  • Babel: Supporto per l'italiano
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{libertine}
\usepackage{libertinust1math}
\usepackage[T1]{fontenc}
\usepackage{titlesec}
\usepackage{geometry}
\geometry{
a4paper,
hmargin=30mm,
vmargin=30mm,
}
\titleformat{\section}{\Large\scshape\raggedright}{}{0em}{}[\titlerule]
\title{<Nome del documento>}
\author{<Autore>}
\date{<Data di scrittura>}
\begin{document}
\maketitle
\tableofcontents
\newpage
\section{Sezione di prova}
Testo di prova.
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment