Johannes logo with font tweaks

This commit is contained in:
2026-01-26 15:22:14 +00:00
parent b8ac41bf47
commit 3354e64c61
3 changed files with 71 additions and 6 deletions

View File

@@ -39,9 +39,6 @@
%% in the graphics-cropped folder to speed up processing. %% in the graphics-cropped folder to speed up processing.
%%%%%%%%%%%%%%%%%Information for the Title page %%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%Information for the Title page %%%%%%%%%%%%%%%%%
\logo{graphics/ru-logo}%Get RU logo from help.ru.is at
% https://uthelp.refined.site/space/UKB/312279050/Final+Project+%2F+Thesis+%2F+Dissertation+Template
% and put it in the graphics folder
\title{Thesis and Project Report Template for \theInstitution{}} \title{Thesis and Project Report Template for \theInstitution{}}
\author{Joseph~T.~Foley and Marcel~Kyas} \author{Joseph~T.~Foley and Marcel~Kyas}
\date{November, 2025}%Generally this is set to the day of the defense \date{November, 2025}%Generally this is set to the day of the defense

68
rulogo.sty Normal file
View File

@@ -0,0 +1,68 @@
%% Reykjavik University Logo in Tikz
%% Logo designed by graphic designers Alli Metal and Annetta Scheving in 2009
%% Conversion by Johannes Berger Gunnarson <johannesg at RU dot IS> 2022-03-17
\RequirePackage[table]{xcolor}
\RequirePackage{tikz}
\usetikzlibrary{decorations.text,decorations.shapes,decorations.pathreplacing}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{arrows.meta,bending}
\usetikzlibrary{positioning}
\definecolor{HRred}{RGB}{230 45 9} %Rétt, fengið frá skóla
%\colorlet{HRgray}{gray!10!black!70} %gamalt
\definecolor{HRgray}{RGB}{72 72 72}%Rétt, fengið frá skóla
\newcommand{\charCommand}[1]{\hspace{0.5mm}#1\hspace{0.5mm}}
\newcommand{\charCommandROT}[1]{\hspace{0.5mm}\rotatebox[origin = c]{180}{#1}\hspace{0.5mm}}
% Use TeX Gyre Heros (tgheros) to replace copyrighted font.
\RequirePackage{tgheros}
\newfontfamily\rufont{TeX Gyre Heros}
\newcommand\rulogo{\drawrulogo{0.5}}%most documents only need the half-size logo
\newcommand{\drawrulogo}[1]{
%ARG: scale based upon 6cm = 1
\phantom{bla}
\begin{tikzpicture}[scale=#1, every node/.style={scale=#1}]
\useasboundingbox (-6cm, -6cm)rectangle (6cm, 6cm);
\clip[overlay]
(-6cm, -6cm) rectangle (6cm, 6cm)
(0, 0) circle (1.13cm);
\pgfmathsetmacro{\Null}{-17}
\pgfmathsetmacro{\hringSidast}{\Null}
\foreach \horn/\rad in{43/3.45, 42/4.08, 6/2.1, 26/3.45, 5/2.85, 65/4.08, 4/3.4, 12/2.8, 8.5/0.5, 1.5/3.4, 25/4.08, 9/2.85, 11/2.05, 9/0.5, 45/4.08, 11/3.43, 9/2.85, 24/4.08, 4/2}
{
\pgfmathsetmacro{\hringNu}{\hringSidast+\horn}
\draw [HRred, fill=HRred] (0,0) --+(\hringSidast:\rad) arc(\hringSidast:\hringNu:\rad)--(0,0);
\global\let\hringSidast=\hringNu
}
{%\large
\bfseries\fontsize{6pt}{6pt}\rufont
\draw [rotate = -2,decorate,decoration={text effects along path,
text={H{Á}SK{Ó}LINN {Í} REYKJAV{Í}K},
text align=center,
text effects/.cd,
text along path, scale text to path,
characters={HRgray,character command=\charCommand}}
]
{(180:4.8) arc (180:4:4.8) };
% \draw[rotate = -5] (0,0) --(180:4.8) arc (180:10:4.8)--cycle;
\draw [ rotate = -8,decorate,decoration={text effects along path,
text={YTISREVINU KIVAJKYER},
text align=center,
text effects/.cd,
text along path, scale text to path,
characters={HRgray,character command=\charCommandROT}}
]
{(0:4.8) arc (0:-164:4.8) };
}
% \draw[rotate = 5] (0,0) --(180:4.8) arc (180:350:4.8)--cycle;
\end{tikzpicture}
\phantom{bla}
}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "main-dissertation"
%%% TeX-engine: luatex
%%% End:

View File

@@ -54,6 +54,8 @@
%% ---------------- Graphics ------------------------------ %% ---------------- Graphics ------------------------------
\RequirePackage{graphicx} \RequirePackage{graphicx}
%% GraphicsX converts and includes graphics intelligently which is needed for jpg, png, etc. %% GraphicsX converts and includes graphics intelligently which is needed for jpg, png, etc.
\RequirePackage{rulogo}
%% RU logo with font compatible with Skemman
%% ---------------- URLs and Paths ----------------------------- %% ---------------- URLs and Paths -----------------------------
\PassOptionsToPackage{obeyspaces,spaces,hyphens,allowmove}{url} \PassOptionsToPackage{obeyspaces,spaces,hyphens,allowmove}{url}
@@ -116,15 +118,13 @@
\newcommand{\DocumentDescription}[1]{\renewcommand{\docdesc@ruthesis}{#1}}%nop for now \newcommand{\DocumentDescription}[1]{\renewcommand{\docdesc@ruthesis}{#1}}%nop for now
\newcommand{\pubplaceyear@ruthesis}{Reykjavik, 2025} \newcommand{\pubplaceyear@ruthesis}{Reykjavik, 2025}
\newcommand{\publocation}[1]{\renewcommand{\pubplaceyear@ruthesis}{#1}} \newcommand{\publocation}[1]{\renewcommand{\pubplaceyear@ruthesis}{#1}}
\newcommand{\logo@ruthesis}{graphics/smiley-logo}
\newcommand{\logo}[1]{\renewcommand{\logo@ruthesis}{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%% TITLE PAGE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%% TITLE PAGE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Memoir titlepage definition and info at p.64 %% Memoir titlepage definition and info at p.64
%% \title is ignoring formatting for reasons I don't understand %% \title is ignoring formatting for reasons I don't understand
\renewcommand{\maketitlehooka}{ \renewcommand{\maketitlehooka}{
\begin{center} \begin{center}
\includegraphics[width=0.3\textwidth]{\logo@ruthesis} \rulogo{}
\par\end{center}\vspace{0.7cm} \par\end{center}\vspace{0.7cm}
} }
%% TODO: investigate why bold isn't working on the title %% TODO: investigate why bold isn't working on the title