Tufte

\documentclass[a4paper]{tufte-handout}

\usepackage{tikz}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[italian]{babel}
\usepackage{amsthm}
\newtheorem{theorem}{Teorema}[section]
\newtheorem{corollary}{Corollario}[theorem]
\newtheorem{lemma}[theorem]{Lemma}

\theoremstyle{definition}
\newtheorem{definition}{Definizione}[section]

\theoremstyle{remark}
\newtheorem*{remark}{Osservazione}

\setcounter{secnumdepth}{2}

% chapter format
\titleformat{\chapter}%
  {\huge\rmfamily\itshape\color{red}}% format applied to label+text
  {\llap{\colorbox{red}{\parbox{1.5cm}{\hfill\itshape\huge\color{white}\thechapter}}}}% label
  {2pt}% horizontal separation between label and title body
  {}% before the title body
  []% after the title body

% section format
\titleformat{\section}%
  {\normalfont\Large\itshape\color{orange}}% format applied to label+text
  {\llap{\colorbox{orange}{\parbox{1.5cm}{\hfill\color{white}\thesection}}}}% label
  {1em}% horizontal separation between label and title body
  {}% before the title body
  []% after the title body

% subsection format
\titleformat{\subsection}%
  {\normalfont\large\itshape\color{blue}}% format applied to label+text
  {\llap{\colorbox{blue}{\parbox{1.5cm}{\hfill\color{white}\thesubsection}}}}% label
  {1em}% horizontal separation between label and title body
  {}% before the title body
  []% after the title body

  \newcommand\copyrighttext{\centering%
  \includegraphics[width=28.2mm]{80x15.png}\par\footnotesize Quest'opera è distribuita con Licenza Creative Commons Attribuzione -\par Non commerciale - Condividi allo stesso modo 4.0 Internazionale.}
\newcommand\copyrightnotice{%
  \begin{tikzpicture}[remember picture,overlay]
    \node[anchor=south,yshift=10pt,draw]
    at (current page.south)
    {\parbox{\dimexpr\textwidth-\fboxsep-\fboxrule\relax}{\copyrighttext}};
  \end{tikzpicture}%
}

\renewenvironment{description}
  {\begin{list}{}%
   {\renewcommand\makelabel[1]{##1\hfill}%
   \setlength\labelwidth{0.3\linewidth}%
   \setlength\leftmargin{\labelwidth}
   \addtolength\leftmargin{\labelsep}}}
  {\end{list}}

% Set up the images/graphics package
\usepackage{graphicx}
\setkeys{Gin}{width=\linewidth,totalheight=\textheight,keepaspectratio}
\graphicspath{{graphics/}}

\title[Titolo corto]{Titolo lungo\thanks{\url{https://telefilanda.wordpress.com/}}}
\author[P. Pinco]{Pallino Pinco e Pia Pulcina\thanks{Liceo scientifico \emph{Le filandiere} -- I G}}
\date{32 luglio 2016}  % if the \date{} command is left out, the current date will be used

% The following package makes prettier tables.  We're all about the bling!
\usepackage{booktabs}

% The units package provides nice, non-stacked fractions and better spacing
% for units.
\usepackage{units}

% Small sections of multiple columns
\usepackage{multicol}

\begin{document}

\maketitle% this prints the handout title, author, and date
\copyrightnotice % this prints the copyright notice

\begin{abstract}
\noindent
This document describes the Tufte\cite{Tufte2006} handout \LaTeX\ document style.
It also provides examples and comments on the style's use.  Only a brief
overview is presented here; for a complete reference, see the sample book.
\end{abstract}

\section{Titolo della sezione}\label{sec:page-layout}
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Vedi figura~\ref{fig:marginfig}.

\begin{marginfigure}[-1cm]%
  \includegraphics[width=\linewidth]{image3.jpeg}
  \caption{This is a margin figure.}
  \label{fig:marginfig}
\end{marginfigure}

\begin{definition}
\label{aw}
Chiameremo \emph{awanagana} tutti e soli i numeri che non si sa mai.
\end{definition}

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.

\subsection{Titolo della sottosezione}\label{sec:headings}
Totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae (vedi sezione~ref{altrecose}) vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur\footnote{This is a sidenote that was entered
using the \texttt{\textbackslash footnote} command.} aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.

\begin{lemma}[Teorema di Eulero]
Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
Nemo enim ipsam voluptatem quia voluptas sit aspernatur.
\end{lemma}

\begin{proof}
Inventore veritatis et quasi architecto:
\begin{itemize}
\item first;
\item second;
\item third.
\end{itemize}
Quia voluptas sit aspernatur.
\end{proof}

\subsection{Titolo della seconda sottosezione}\label{sec:due}

\begin{theorem}
Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.\marginnote{This is a
margin note.  Notice that there isn't a number preceding the note, and
there is no number in the main text where this note was written.}
Nemo enim ipsam voluptatem quia voluptas sit aspernatur.
\end{theorem}

\begin{proof}
Inventore veritatis et (vedi definizione~\ref{aw}) quasi architecto:
\begin{enumerate}
\item first;
\item second;
\item third.
\end{enumerate}
Nemo enim ipsam voluptatem quia voluptas sit aspernatur.
\begin{description}
\item[$AB\cong BC$] first;
\item[$ABC\cong DBC$] nemo enim ipsam voluptatem quia voluptas sit aspernatur;
\item[$A\widehat{B}F\cong B\widehat{C}F$] third.
\end{description}
Nemo enim ipsam voluptatem quia voluptas sit aspernatur.
\end{proof}

\begin{corollary}
Nemo enim ipsam voluptatem quia voluptas sit aspernatur.
\end{corollary}

\begin{proof}
Ovvio:
\begin{equation}
  x=\frac{\pi}{2}.
\end{equation}
Quia voluptas sit aspernatur.
\end{proof}

\begin{remark}
Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
Nemo enim ipsam voluptatem quia voluptas sit aspernatur.
\end{remark}

Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
Nemo enim ipsam voluptatem quia voluptas sit aspernatur.\cite{Bringhurst2005}

\begin{table}[h!]
  \centering
  \begin{tabular}{cl}
    \toprule
    $n$ & Numero di lati \\
    \midrule
    0 & $2^{0}=1$ \\
    1 & $2^{1}=2$ \\
    2 & $2^{2}=4$ \\
    3 & $2^{3}=8$ \\
    3 & $2^{4}=16$ \\
    \bottomrule
  \end{tabular}
  \caption{Questa è una tabella.}
  \label{tab:normaltab}
  %\zsavepos{pos:normaltab}
\end{table}

Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
Nemo enim ipsam voluptatem quia voluptas sit aspernatur.

\section{Altre cose}
\label{altrecose}
Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
Nemo enim ipsam voluptatem quia voluptas sit aspernatur.

\begin{figure*}
  \includegraphics{hilbertcurves.pdf}
  \caption{Hilbert curves of various degrees $n$.}
  \label{fig:textfig}
\end{figure*}

Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
Nemo enim ipsam voluptatem quia voluptas sit aspernatur. Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
Nemo enim ipsam voluptatem quia voluptas sit aspernatur.

\begin{figure}[h!]
  \includegraphics[width=\linewidth]{sine.pdf}%
  \caption{This graph shows $y = \sin x$ from about $x = [-10, 10]$.
  \emph{Notice that this figure takes up the full page width.}}%
  \label{fig:fullfig}%
\end{figure}

Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
Nemo enim ipsam voluptatem quia voluptas sit aspernatur. Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
Nemo enim ipsam voluptatem quia voluptas sit aspernatur. Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. 

\begin{fullwidth}
Lorem ipsum dolor sit amet...
Lorem ipsum dolor sit amet...
Lorem ipsum dolor sit amet...
Lorem ipsum dolor sit amet...
Lorem ipsum dolor sit amet...
Lorem ipsum dolor sit amet...
Lorem ipsum dolor sit amet...
Lorem ipsum dolor sit amet...
Lorem ipsum dolor sit amet...
Lorem ipsum dolor sit amet...
Lorem ipsum dolor sit amet...
Lorem ipsum dolor sit amet...
Lorem ipsum dolor sit amet...
Lorem ipsum dolor sit amet...
\end{fullwidth}

\bibliography{sample-handout}
\bibliographystyle{plainnat}

\end{document}

Rispondi

Effettua il login con uno di questi metodi per inviare il tuo commento:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione /  Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione /  Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione /  Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione /  Modifica )

Connessione a %s...