URL
https://opencores.org/ocsvn/phr/phr/trunk
Subversion Repositories phr
[/] [phr/] [trunk/] [doc/] [informe-tesis/] [reports/] [PPS/] [maximiq/] [manual gui v01/] [reporte-phr.sty] - Rev 223
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}
% 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[hola]{hola}
%\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
}
%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
}
% 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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand*{\maketitle}{
%\begin{centering}
\vspace*{10em}
\includegraphics{\logo}
\vspace{.8cm}
{\color{darkblue}\Huge\bfseries\sffamily\producto}
\vspace{.8cm}
{\LARGE\bfseries\sffamily\@title}
\vspace{.5cm}
{Documento versión \docver}
{\@date}
\vspace{6ex}
%\end{centering}
}
Go to most recent revision | Compare with Previous | Blame | View Log