Compare commits
5 Commits
f75812d0be
...
93dc025fca
Author | SHA1 | Date |
---|---|---|
Achim D. Brucker | 93dc025fca | |
Achim D. Brucker | e4ab26e02f | |
Achim D. Brucker | ae7da95767 | |
Achim D. Brucker | 52a907f9ca | |
Achim D. Brucker | 54cc1d42fa |
|
@ -0,0 +1,23 @@
|
|||
Copyright (c) Achim D. Brucker
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@ -0,0 +1,36 @@
|
|||
%% Copyright (C) 2019 Achim D. Brucker, https://www.brucker.ch
|
||||
%%
|
||||
%% License:
|
||||
%% This program can be redistributed and/or modified under the terms
|
||||
%% of the LaTeX Project Public License Distributed from CTAN
|
||||
%% archives in directory macros/latex/base/lppl.txt; either
|
||||
%% version 1.3c of the License, or (at your opinion) any later version.
|
||||
%% OR
|
||||
%% The 2-clause BSD-style license.
|
||||
%%
|
||||
%% SPDX-License-Identifier: LPPL-1.3c+ OR BSD-2-Clause
|
||||
\NeedsTeXFormat{LaTeX2e}\relax
|
||||
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
|
||||
\ProvidesClass{uoe-letter}%
|
||||
[2019/03/16 v1.0 LaTeX letter class following the cooperate design of the University of Exeter]
|
||||
\RequirePackage{ifthen}
|
||||
|
||||
\LoadClassWithOptions{scrlttr2}[2016/06/14]
|
||||
\ProcessOptions\relax
|
||||
|
||||
\RequirePackage[T1]{fontenc}
|
||||
\RequirePackage{gillius}
|
||||
\RequirePackage{uoe-logo}[2019/03/16]
|
||||
\RequirePackage{xcolor}
|
||||
\RequirePackage{hyperref}
|
||||
\KOMAoptions{
|
||||
refline=dateleft,
|
||||
foldmarks=off,
|
||||
backaddress=off,
|
||||
refline=dateleft,
|
||||
subject=afteropening,
|
||||
subject=left,
|
||||
}
|
||||
|
||||
\LoadLetterOption{uoe}
|
||||
\endinput
|
|
@ -0,0 +1,64 @@
|
|||
%% Copyright (C) 2016 Achim D. Brucker, https://www.brucker.ch
|
||||
%%
|
||||
%% License:
|
||||
%% This program can be redistributed and/or modified under the terms
|
||||
%% of the LaTeX Project Public License Distributed from CTAN
|
||||
%% archives in directory macros/latex/base/lppl.txt; either
|
||||
%% version 1.3c of the License, or (at your opinion) any later version.
|
||||
%% OR
|
||||
%% The 2-clause BSD-style license.
|
||||
%%
|
||||
%% SPDX-License-Identifier: LPPL-1.3c+ OR BSD-2-Clause
|
||||
\ProvidesFile{uoe.lco}[%
|
||||
2019/03/16 v1.0 Letter layout for uoe-letter.]
|
||||
|
||||
% type-setting the subject line
|
||||
\setkomafont{subject}{\normalcolor\bfseries}
|
||||
|
||||
% type-setting URLs
|
||||
\hypersetup{pdfborder=0 0 0}
|
||||
\renewcommand{\UrlFont}{\bfseries}
|
||||
\renewcommand{\familydefault}{\sfdefault}%
|
||||
%\raggedright
|
||||
\renewcommand*{\raggedsignature}{\raggedright}
|
||||
|
||||
% new variables
|
||||
\newkomavar{area}
|
||||
\newkomavar{college}
|
||||
\newkomavar[Blog:]{fromblog}
|
||||
|
||||
|
||||
\providecaptionname{american,australian,british,canadian,%
|
||||
english,newzealand,UKenglish,USenglish}\phonename{Telephone}%
|
||||
|
||||
% Define first head
|
||||
% \@setplength{firstheadhpos}{0mm}
|
||||
\newlength{\logowidth}
|
||||
\setlength{\logowidth}{45mm}
|
||||
%\@setplength{locwidth}{70mm}
|
||||
\@setplength{locvpos}{12mm}
|
||||
\@setplength{firstheadvpos}{12mm}
|
||||
%\@setplength{firstheadwidth}{\logowidth}
|
||||
%\@addtoplength[-1]{firstheadvpos}{14pt}
|
||||
|
||||
\setkomavar{firsthead}{%
|
||||
\uoeLogoLight[width=\logowidth]%
|
||||
}
|
||||
|
||||
% Define loc stuff (e.g., back address)
|
||||
\@setplength{lochpos}{0mm}
|
||||
\@setplength{locwidth}{75mm}
|
||||
\@addtoplength{locheight}{165pt}
|
||||
|
||||
\setkomavar{location}{\raggedright%
|
||||
\ifkomavarempty{area}{}{{\large\usekomavar{area}\\\bigskip}}%
|
||||
%
|
||||
\ifkomavarempty{college}{}{{\usekomavar{college}\\}}%
|
||||
\usekomavar{fromaddress}\\\bigskip
|
||||
\ifkomavarempty{fromphone}{}{t~\usekomavar{fromphone}\\}%
|
||||
\ifkomavarempty{fromfax}{}{f~\usekomavar{fromfax}\\}%
|
||||
\ifkomavarempty{fromemail}{}{e~\usekomavar{fromemail}\\}%
|
||||
\ifkomavarempty{fromblog}{}{b~\usekomavar{fromblog}\\}%
|
||||
\ifkomavarempty{fromurl}{}{w~\usekomavar{fromurl}\\}%
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
Copyright (c) Achim D. Brucker
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@ -0,0 +1,56 @@
|
|||
# uoe-logo
|
||||
|
||||
Trivial LaTeX style for using logo of the University of Exeter.
|
||||
|
||||
## Disclaimer
|
||||
|
||||
Please not that this LaTeX setup is neither endorsed nor officially
|
||||
supported by the University of Exeter.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Download the colour and mono version of the logo of the University of Exeter:
|
||||
|
||||
* [colour version (eps)](http://www.exeter.ac.uk/departments/communication/communications/design/downloads/logos/colour_logo_vector.eps)
|
||||
* [mono version (eps)](http://www.exeter.ac.uk/departments/communication/communications/design/downloads/logos/mono_logo_vector.eps)
|
||||
|
||||
It is recommended to use the eps-versions of the logos and convert them to PDF.
|
||||
|
||||
Please note that the use of the logo is governed by the
|
||||
[terms and conditions](http://www.exeter.ac.uk/departments/communication/communications/design/visualidentity/)
|
||||
set out by the University of Exeter.
|
||||
|
||||
## Installation
|
||||
|
||||
## Usage
|
||||
|
||||
Including the style in your latex document, i.e.,
|
||||
```tex
|
||||
\usepackage{uoe-logo}
|
||||
```
|
||||
defines two commands:
|
||||
```tex
|
||||
\uoeLogoLight
|
||||
\uoeLogoDark
|
||||
```
|
||||
where the first variant prints the logo designed for white (light)
|
||||
backgrounds and the latter print the logo designed for coloured (dark)
|
||||
backgrounds. Both commands take the same optional arguments as the
|
||||
`\includegraphics[]{}` command of the `graphicx` package.
|
||||
|
||||
The package itself has two options:
|
||||
* `high` for using the high resolution logo and
|
||||
* `bw` for using the black-and-white logo instead of the colour logo.
|
||||
|
||||
## License
|
||||
|
||||
This project is dual-licensed under a 2-clause BSD-style license and/or the
|
||||
LPPL version 1.3c or (at your opinion) any later version.
|
||||
|
||||
SPDX-License-Identifier: LPPL-1.3c+ OR BSD-2-Clause
|
||||
|
||||
## Master Repository
|
||||
|
||||
The master git repository for this project is hosted by the [Software
|
||||
Assurance & Security Research Team](https://logicalhacking.com):
|
||||
<https://git.logicalhacking.com/adbrucker/uoe-latex>.
|
Binary file not shown.
|
@ -0,0 +1,7 @@
|
|||
\documentclass{article}
|
||||
\usepackage{uoe-logo}
|
||||
\begin{document}
|
||||
\uoeLogoLight
|
||||
|
||||
\uoeLogoLight[width=2cm]
|
||||
\end{document}
|
|
@ -0,0 +1,26 @@
|
|||
%% Copyright (C) 2019 Achim D. Brucker, https://www.brucker.ch
|
||||
%%
|
||||
%% License:
|
||||
%% This program can be redistributed and/or modified under the terms
|
||||
%% of the LaTeX Project Public License Distributed from CTAN
|
||||
%% archives in directory macros/latex/base/lppl.txt; either
|
||||
%% version 1.3c of the License, or (at your opinion) any later version.
|
||||
%% OR
|
||||
%% The 2-clause BSD-style license.
|
||||
%%
|
||||
%% SPDX-License-Identifier: LPPL-1.3c+ OR BSD-2-Clause
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{uoe-logo}
|
||||
[2019/03/16 v1.0 The University of Exeter Logo.]
|
||||
\RequirePackage{graphicx}
|
||||
\RequirePackage{ifthen}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
\newcommand{\uoeLogoMono}[1][with=6cm]{\includegraphics[#1]{logo/mono_logo_vector}}
|
||||
\newcommand{\uoeLogoLight}[1][width=6cm]{\includegraphics[#1]{logo/colour_logo_vector}}
|
||||
\newcommand{\uoeLogoDark}[1][width=6cm]{\includegraphics[#1]{logo/white_logo_vector}}
|
||||
\newcommand{\uoeCrestMono}[1][width=6cm]{\includegraphics[#1]{logo/mono_crest_vector}}
|
||||
\newcommand{\uueCrestColour}[1][width=6cm]{\includegraphics[#1]{logo/colour_crest_vector}}
|
||||
|
||||
\endinput
|
Loading…
Reference in New Issue