-
Notifications
You must be signed in to change notification settings - Fork 0
/
cdtArticle.sty
59 lines (45 loc) · 2.55 KB
/
cdtArticle.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
\usepackage[utf8]{inputenc} % Codificación de caracteres en UTF-8.
\usepackage[spanish]{babel} % Cambia las variables del documento a español.
\usepackage{cmbright} % Fuente de letras, tras opciones: arev, cmbright, pxfonts.
\usepackage{graphicx} % Manejo de imágenes.
\usepackage[usenames,dvipsnames]{color} % Para usar y definir colores.
\usepackage{wallpaper} % Colocar imágenes en el fondo del documento.
\usepackage{fancyhdr} % Manejo de encabezados.
\usepackage[hmargin=1.5cm,vmargin=3cm]{geometry} % Manejo de márgenes del documento.
%\usepackage[Sonny]{fncychap} % Manejo de capítulos: Sonny, Lenny, Glenn, Conny, Rejne and Bjarne.
\usepackage{marvosym} % Algunos símbolos.
%\usepackage{minitoc}
%=====================================================
% Definición de colores
\definecolor{titleColor}{rgb}{0.3, 0.3, 0.3}
\definecolor{subTitleColor}{rgb}{0.45, 0.45, 0.45}
\definecolor{authorColor}{rgb}{0.6, 0.0, 0.0}
\definecolor{sectionColor}{rgb}{0.6, 0.0, 0.0}
%=====================================================
\pagestyle{fancy}
%\fancyhead[LE]{\includegraphics[height=35pt]{images/headerPar}}
%\fancyhead[RO]{\includegraphics[height=35pt]{images/headerInp}}
\addtolength{\headheight}{2\baselineskip}
\fancyfoot[CO,CE]{{\tiny\color{subTitleColor}\em Av. Juan de Dios Bátiz esq. Miguel Othón de Mendizabal S/N Col. Lindavista, GAM, D. F. {\color{sectionColor}\Telefon} 57296000 Ext. 52004 {\color{sectionColor}\Letter} [email protected]}}
\fancyfoot[RO,LE]{\footnotesize\thepage}
%=====================================================
\newcommand{\varSubTitle}{}
\newcommand{\subtitle}[1]{\renewcommand{\varSubTitle}{#1}}
\newcommand{\varTitle}[1]{}
\let\varTitle=\title
\renewcommand{\title}[1]{%
\varTitle{{\Huge\color{titleColor}#1}%
\\{\LARGE \color{subTitleColor}\varSubTitle}~{}\bigskip\\\color{authorColor}\rule{\textwidth}{1mm}}%
}
\newcommand{\varOrganization}{AIC Co Development}
\newcommand{\organization}[1]{\renewcommand{\varOrganization}{#1}}
\newcommand{\varAuthor}[1]{}
\let\varAuthor=\author
\renewcommand{\author}[1]{%
\varAuthor{\color{authorColor}#1\\\color{subTitleColor}\varOrganization}%
}
\renewcommand{\labelitemi}{\color{sectionColor}\textbullet}
%%=====================================================
%\newcommand{\varSection}[1]{}
%\let\varSection=\section
%\renewcommand{\section}[1]{{\color{sectionColor}\varSection{#1}}}