Created
October 25, 2016 22:05
-
-
Save Nosferatu31/c6dd6c84066103768a73517a52dc3a32 to your computer and use it in GitHub Desktop.
Logo da Universidade do Minho e da Escola de Engenharia
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Autor: Professor José Nuno Oliveira | |
\documentclass{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage{tikz} | |
% Define Colors | |
\definecolor{eng}{cmyk}{0.14,0.71,1,0.03} | |
\definecolor{um}{cmyk}{0.25,1.00,1.00,0.22} | |
% Default UM logo colors | |
\gdef\umc{um} | |
\gdef\engc{eng} | |
% UM_ENg Logo | |
\def\UMEng[#1]#2{\begin{tikzpicture}[ | |
% bars styling, | |
bar/.style={rectangle,fill=white,rounded corners=0.08cm,minimum width=0.16cm,inner sep=0pt}, | |
umBig/.style={minimum height=0.74cm}, | |
umSmall/.style={minimum height=0.48cm}, | |
engBar/.style={minimum height=0.86cm}, | |
umLogoPosition/.style={xshift=1.3cm,yshift=1.3cm}, | |
engLogoPosition/.style={xshift=3.9cm,yshift=1.3cm}] | |
% Uminho logo | |
\fill[fill=#1] (0,0) -- (2.6,0) -- (2.6,2.6) -- (0,2.6) -- cycle; | |
\foreach \i in {1,...,3}{ | |
\node at (\i*120+30:0.45)[bar,umBig,umLogoPosition,rotate=\i*120-60]{}; | |
\node at (\i*120+90:0.60)[bar,umSmall,umLogoPosition,rotate=\i*120]{}; | |
} | |
% EngUminho logo | |
\fill[fill=#2] (2.6,0) -- (5.2,0) -- (5.2,2.6) -- (2.6,2.6) -- cycle; | |
\foreach \i in {1,...,5} | |
\node at (\i*72-90:0.74)[bar,engBar,engLogoPosition,rotate=\i*72-90]{}; | |
\end{tikzpicture}} | |
\begin{document} | |
\UMEng[\umc]{\engc} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment