Debian Codegraph @

texmf-dist/doc/latex/udepcolor/udepcolor-doc-EN.tex

raw
1 %% udepcolor-doc-EN.sty
2 %% Copyright 2024 Manuel E. Merino
3 %
4 % This work may be distributed and/or modified under the
5 % conditions of the LaTeX Project Public License, either version 1.3
6 % of this license or (at your option) any later version.
7 % The latest version of this license is in
8 % https://www.latex-project.org/lppl.txt
9 % and version 1.3c or later is part of all distributions of LaTeX
10 % version 2008 or later.
11 %
12 % This work has the LPPL maintenance status `maintained'.
13 %
14 % The Current Maintainer of this work is Manuel E. Merino
15 %
16 \documentclass[a4paper,12pt]{article}
17 \usepackage{fontspec}
18 \setmainfont{montserrat}
19 \setsansfont{montserrat}
20 \setmonofont[Scale=MatchLowercase]{Roboto Mono}
21 \usepackage{microtype}
22 \usepackage[english]{babel}
23 \usepackage{xcolor}
24 \usepackage{graphicx}
25 \usepackage{udepcolor}
26 \usepackage[margin=2.5cm]{geometry}
27 \usepackage{parskip}
28 \usepackage[hidelinks]{hyperref}
29
30 \newcommand{\Version}{1.0}
31
32 \NewDocumentCommand{\udepcolor}{}{\textbf{\color{udep}udepcolor}}
33
34 \NewDocumentCommand{\ColorPreview}{m}{%
35 \fcolorbox{black}{#1}{%
36 \vbox to 40pt {\vfil
37 \hbox to 140pt{\hfil\colorbox{white}{\ttfamily#1}\hfil}%
38 \vfil
39 }%
40 }}
41
42 \begin{document}
43 \begingroup%
44 \centering
45 \LARGE\textbf{Package \color{udep}udepcolor}\par
46 \large Manuel E. Merino\par
47 \texttt{v\Version{} - 04/02/2024}\par
48 \normalsize Institutional and corporate colors of the University of Piura for electronic documents and digital formats for use with \LaTeXe.\par
49 \noindent\ColorPreview{udep}
50 \ColorPreview{udep-oscuro}\\
51 \ColorPreview{udep-gris}
52 \ColorPreview{udep-claro}\par
53 \ColorPreview{udep-med-0}
54 \ColorPreview{udep-med-1}
55 \ColorPreview{udep-med-2}
56 \ColorPreview{udep-arq-0}
57 \ColorPreview{udep-arq-1}
58 \ColorPreview{udep-arq-2}
59 \ColorPreview{udep-emp-0}
60 \ColorPreview{udep-emp-1}
61 \ColorPreview{udep-emp-2}
62 \ColorPreview{udep-ing-0}
63 \ColorPreview{udep-ing-1}
64 \ColorPreview{udep-ing-2}
65 \ColorPreview{udep-der-0}
66 \ColorPreview{udep-der-1}
67 \ColorPreview{udep-der-2}
68 \ColorPreview{udep-psi-0}
69 \ColorPreview{udep-psi-1}
70 \ColorPreview{udep-psi-2}
71 \ColorPreview{udep-com-0}
72 \ColorPreview{udep-com-1}
73 \ColorPreview{udep-com-2}
74 \ColorPreview{udep-edu-0}
75 \ColorPreview{udep-edu-1}
76 \ColorPreview{udep-edu-2}
77 \ColorPreview{udep-hum-0}
78 \ColorPreview{udep-hum-1}
79 \ColorPreview{udep-hum-2}
80 \ColorPreview{udep-eco-0}
81 \ColorPreview{udep-eco-1}
82 \ColorPreview{udep-eco-2}%
83 \par
84 \endgroup
85 \clearpage
86 \normalfont
87 \tableofcontents
88
89 \section{Introduction}
90 The \udepcolor{} package has been designed with the purpose of providing simple and efficient access to the institutional and corporate color palette of the University of Piura (UDEP) within the \LaTeX{} system.
91
92 The colors have been selected and implemented using the \texttt{xcolor} package and following the brand and visual identity guidelines of the University of Piura.
93
94 \section{Installation and use}
95
96 To install the \udepcolor{} package download and unzip the \texttt{udepcolor.sty} file and place it in a folder accessible to \LaTeX{} (this can be the current working folder or a subfolder in the TEXMF directory).
97
98 To use the \udepcolor{} package add the following command to the preamble of your document: \verb|usepackage{udepcolor}|
99
100 \section{Available colors}
101 \subsection{Institutional colors}
102
103 The \udepcolor{} package defines the 4 institutional colors: \texttt{udep}, \texttt{udep-gris}, \texttt{udep-oscuro} and \texttt{udep-claro}.
104
105 \begin{center}
106 \ColorPreview{udep}
107 \ColorPreview{udep-gris}\\
108 \ColorPreview{udep-oscuro}
109 \ColorPreview{udep-claro}
110 \end{center}
111
112 \subsection{Corporate colors}
113
114 The 3 colors corresponding to each faculty have been defined according to the following naming convention: \texttt{udep-fac-n} where \texttt{fac} is a 3-letter identifier, unique for each faculty and \texttt{n} is a number that can be 0, 1 or 2.
115
116 For example, for the faculty of Engineering, its unique identifier would be \texttt{ing} being the 3 colors available: \texttt{udep-ing-0}, \texttt{udep-ing-1} and \texttt{udep-ing-2}.
117
118
119 \begin{center}
120 \ColorPreview{udep-ing-0}
121 \ColorPreview{udep-ing-1}
122 \ColorPreview{udep-ing-2}
123 \end{center}
124
125 For a complete list of available colors, see the first page of this document.
126
127 \section{Bug reports and suggestions}
128
129 For bug reports and suggestions, please use GitHub or send an email to [email protected].
130
131 \section{License}
132
133 The \udepcolor{} package and all its included files are licensed under the LPPL v1.3c or later.
134
135 \vfill
136 \centering
137 \footnotesize \udepcolor{} -- {\copyright} 2024 Manuel E. Merino. Licensed under LPPL v1.3c.
138 \end{document}