Codice base disegno lezione
This commit is contained in:
parent
5eb072ce9f
commit
20edc56a48
|
@ -0,0 +1,44 @@
|
|||
% !TEX encoding = utf8
|
||||
% !TEX program = pdflatex
|
||||
% !TEX root = /not-the-end
|
||||
% !TEX spellcheck = it-IT
|
||||
|
||||
\newcommand{\lect}[3]%
|
||||
{\begin{center}
|
||||
\begin{minipage}[t]{.3\columnwidth}
|
||||
\vspace{0pt}
|
||||
\begin{tikzpicture}
|
||||
Define vertexes
|
||||
\coordinate (nw) at (0,0);
|
||||
\coordinate (se) at (6,-8);
|
||||
\coordinate (ne) at (nw -| se);
|
||||
\coordinate (sw) at (nw |- se);
|
||||
|
||||
% Uncomment the next line to show the help grid
|
||||
% (for debug purposes)
|
||||
|
||||
% \draw [help lines] (nw) grid (se);
|
||||
|
||||
\draw (nw) rectangle (se);
|
||||
|
||||
\node [anchor=north,% draw,
|
||||
text width=5cm, align=center,
|
||||
font=\scshape]
|
||||
at ($ (nw)!.5!(ne) + (0,-0.25)$)
|
||||
{#1}
|
||||
coordinate (title);
|
||||
|
||||
\node [anchor=north,% draw
|
||||
text width=5cm, align=justify,
|
||||
font=\small]
|
||||
at ($ (nw)!.5!(ne) + (0,-2) $)
|
||||
{#2};
|
||||
\end{tikzpicture}%
|
||||
\medskip
|
||||
\end{minipage}
|
||||
\hspace{\fill}
|
||||
\begin{minipage}[t]{.5\columnwidth}
|
||||
\vspace{0pt}
|
||||
#3
|
||||
\end{minipage}
|
||||
\end{center}}
|
|
@ -39,6 +39,10 @@
|
|||
inkscapelatex=false}
|
||||
\graphicspath{{img/},}
|
||||
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{calc}
|
||||
|
||||
|
||||
% Customization
|
||||
%% Redefine \marginpar to reduce content font size
|
||||
\newcommand{\marginparfontsize}{\tiny}
|
||||
|
@ -76,6 +80,9 @@
|
|||
{#1\,$\oast$}%
|
||||
}
|
||||
|
||||
\input{lezioni}
|
||||
|
||||
|
||||
\begin{document}
|
||||
\title{Not The End}
|
||||
\author{Claudio Pustorino}
|
||||
|
|
Loading…
Reference in New Issue