%\documentclass[12pt,titlepage]{article}
\documentclass[12pt]{article}
\usepackage[italian]{babel}
%\usepackage{amsmath,amssymb,graphicx,wrapfig,fancyhdr,subfigure,color,pictex}
\usepackage{amsmath,amssymb,graphicx,color,amscd}
\usepackage{pst-all}
%\usepackage{makeidx}
%\makeindex
\definecolor{prova}{rgb}{1,.4,.5}
\def\prova{\color{prova}}
\begin{document}
\title{Esempi vari}
\author{G. Benfatto}

\maketitle

\begin{abstract}
Esempi vari di uso di comandi LeTeX.
\end{abstract}


\tableofcontents


\section{Sezione 1}
\hrule \marginpar{nota a margine} \vspace{1cm}
%\index{item 1}
\framebox[1cm]{\rotatebox[origin=c]{90}{\parbox{2cm}{ prova\\ prova}} }
%
\framebox[5.5cm]{
\begin{minipage}[c][4cm][c]{5cm}
Questa \`e la prima {\blue finestra}

$$\boldsymbol{\alpha=2} \quad \alpha=2$$

Base prima
%\index{gruppo!elem.1}
{\prova finestra}\hfill fine
\end{minipage}
}
%
\begin{minipage}{6cm}
\framebox{\includegraphics[height=4cm, angle=0]{seno.jpg}}
\end{minipage}

\begin{figure}
Prova dell'ambiente ``figure''
\includegraphics[height=4cm, angle=0]{seno.jpg}
\caption{grafico della sinusoide}
\end{figure}

\medskip

\begin{center}
\begin{tabular}{|r@{--}l|}
\multicolumn{2}{c}{\bf Unicode}\cr
\hline
0x80&0x7FF \cr
0x800&0xFFFF \cr
0x10000&0x1FFFF \cr
\hline
\end{tabular}
\end{center}

\newpage


\section{Sezione 2}

\begin{equation}\label{xx}
\begin{split}
a& =b+c-d\\
& \quad +e-f\\
& =g+h\\
& =i
\end{split}
\end{equation}

%\index{item 2}

{\Huge
$$
\begin{pmatrix}
1&2\\3&4
\end{pmatrix}
$$}

\begin{verbatim}
$$\begin{CD}
S^{{\mathcal{W}}_\Lambda}\otimes T @>j>>               T\\
@VVV                               @VV{\text{End\ } P} V\\
(S\otimes T)/I                     @=                  (Z\otimes T)/J
\end{CD}$$
\end{verbatim}



$$\begin{CD}
S^{{\mathcal{W}}_\Lambda}\otimes T @>j>> T\\
@VVV @VV{\text{End\ } P}V\\
(S\otimes T)/I @= (Z\otimes T)/J
\end{CD}$$

\begin{itemize}
\item primo elemento
\item secondo elemento
\end{itemize}



%\printindex
\end{document}
