URL
https://opencores.org/ocsvn/phr/phr/trunk
Subversion Repositories phr
[/] [phr/] [trunk/] [doc/] [informe-tesis/] [reports/] [PPS/] [maximiq/] [manual usuario/] [ManualPhr.sty] - Rev 386
Go to most recent revision | Compare with Previous | Blame | View Log
%
% Este archivo define un estilo o formato para el manual.
% Cambia la fuente del texto, márgenes de página, títulos, etc.
%
% Para usar color en el texto:
\usepackage{color}
\definecolor{darkblue}{rgb}{0.0,0.0,0.45}
% Se redefinen los margenes de página
\setlength{\topmargin}{-1.5 cm}
\setlength{\oddsidemargin}{0 cm}
\setlength{\evensidemargin}{0 cm}
\setlength{\textheight}{25 cm}
\setlength{\textwidth}{16 cm}
% Separacion de los captions
%\setlength{\abovecaptionskip}{-5pt plus 0pt minus 0pt}
\setlength{\abovecaptionskip}{-5pt}
% Se define una nueva fuente para el texto
\usepackage{lmodern}
\renewcommand*\familydefault{\sfdefault}
\usepackage[T1]{fontenc}
% Se cambia el formato a los títulos
\usepackage{titlesec}
\titleformat{\chapter}
{\vspace{-2cm}\normalfont\huge\bfseries\color{darkblue}\itshape}{\thechapter.}{0.3em}{}[{\titlerule[1.5pt]}\vspace{-0.5cm}]
\titleformat{\section}
{\bfseries\Large}{}{0em}{}[]
\titleformat{\subsection}
{\bfseries\large}{}{0cm}{}[]
% Cambio del formato para cabecera y pie de página
\usepackage{fancyhdr}
\fancypagestyle{plain}{%
\fancyhf{}
\lhead[\bfseries\emph{PHR - Manual de usuario}]{}
\rhead[]{\bfseries\nouppercase{\emph{\leftmark}}}
\lfoot[\thepage]{\emph{CUDAR}}
\cfoot[docver \docver]{docver \docver}
\rfoot[\emph{UTN - FRC}]{\thepage}
\renewcommand{\headrulewidth}{.4pt}
\renewcommand{\footrulewidth}{.4pt}
}
\pagestyle{plain}
% Links
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
% Modificación a itemize, enumerate y description para reducir el spacing.
\usepackage{paralist}
\renewenvironment{itemize}[1]{\begin{compactitem}#1}{\end{compactitem}}
\renewenvironment{enumerate}[1]{\begin{compactenum}#1}{\end{compactenum}}
\renewenvironment{description}[0]{\begin{compactdesc}}{\end{compactdesc}}
% Para la fecha de la portada
\newcommand{\todaym}{\ifcase \month \or Enero\or Febrero\or Marzo\or Abril\or Mayo%
\or Junio\or Julio\or Agosto\or Septiembre\or Octubre\or Noviembre\or Diciembre\fi \space de \number \year}
%listings
\usepackage{listings}
\definecolor{light-gray}{gray}{0.9}
\lstset{
basicstyle=\ttfamily\footnotesize,%\scriptsize,
backgroundcolor=\color{light-gray},
language=bash,
keywordstyle=\bfseries,
breaklines=true,
keywords=[2]{INT8U,INT16U,DIO\_DI,DIO\_DO,CPU\_INT16S,CPU\_INT08U}
}
\lstset{literate=
{á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1
{Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1
{à}{{\`a}}1 {è}{{\'e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1
{À}{{\`A}}1 {È}{{\'E}}1 {Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1
{ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1 {ö}{{\"o}}1 {ü}{{\"u}}1
{Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1
{â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1
{Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1
{œ}{{\oe}}1 {Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1
{ç}{{\c c}}1 {Ç}{{\c C}}1 {ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1
{€}{{\EUR}}1 {£}{{\pounds}}1 {"}{{``}}1 {~}{{$\sim$}}1
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Redefinicion del comando \maketitle
%
\renewcommand*{\maketitle}{
\begin{titlepage}
\vspace*{\fill}
\vspace{2cm}
\includegraphics{./img/title/phr_logo.pdf}
\vspace{.8cm}
{\color{darkblue}\Huge\bfseries Plataforma de Hardware}
\vspace{.5cm}
{\color{darkblue}\Huge\bfseries Reconfigurable}
\vspace{1.2cm}
{\LARGE\bfseries Manual de usuario}
\vspace{.5cm}
Documento versión \docver
\todaym
\vspace{1cm}
\begin{center}
\includegraphics{./img/title/foto.pdf}
\end{center}
\vspace{2cm}
{\large\bfseries Centro Universitario de Desarrollo en Automación y Robótica}
\vspace{.3cm}
{\large \emph{Universidad Tecnológica Nacional}}
\vspace{.2cm}
{\large \emph{Facultad Regional Córdoba}}
\vspace*{\fill}
\end{titlepage}
}
Go to most recent revision | Compare with Previous | Blame | View Log