Compare commits
5 Commits
26bd7439e2
...
764f40af5e
Author | SHA1 | Date |
---|---|---|
Achim D. Brucker | 764f40af5e | |
Achim D. Brucker | cc4dde8043 | |
Achim D. Brucker | 6e3b744252 | |
Achim D. Brucker | 6402089688 | |
Achim D. Brucker | 5f8a55b5f9 |
|
@ -0,0 +1,23 @@
|
|||
Copyright (c) 2016 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,24 @@
|
|||
# lh-businesscard
|
||||
A LaTeX class (based on the [beamer class](https://www.ctan.org/pkg/beamer))
|
||||
that implements the cooperate style of the
|
||||
[Software Assurance & Security Research Team Sheffield](https://logialhacking.com).
|
||||
|
||||
## Prerequisites
|
||||
* The `lh-presentation` class/theme.
|
||||
|
||||
## Installation
|
||||
* Copy the various `*.sty` and `*.cls` files into your `texmf` tree.
|
||||
|
||||
## Usage
|
||||
The `lh-businesscard` class is a customised setup of the
|
||||
[beamer class](https://www.ctan.org/pkg/beamer). Thus, please see the
|
||||
beamer documentation for its detailed use. In general, you can just
|
||||
start by using `\documentclass{lh-businesscard}`.
|
||||
|
||||
Currently, the class only defines the back of the card, as for the front,
|
||||
the style of the university is used.
|
||||
|
||||
## License
|
||||
This project is dual-licensed under a 2-clause BSD-style license and/or
|
||||
the LPPL version 1 or any later version.
|
||||
|
Binary file not shown.
|
@ -0,0 +1,16 @@
|
|||
\documentclass{lh-businesscard}
|
||||
|
||||
\contactauthor{Dr. Achim D. Brucker}
|
||||
\contactemail{a.brucker@sheffield.ac.uk}
|
||||
\contacttwitter{adbrucker}
|
||||
\contactlinkedin{https://uk.linkedin.com/in/adbrucker/}
|
||||
\contactwww{https://www.brucker.uk/}
|
||||
\contactblog{https://logicalhacking.com/blog/}
|
||||
\renewcommand{\vCardName}{Brucker;Achim;D.;Dr.}
|
||||
\renewcommand{\vCardPhone}{+44\ 114\ 22\ 21806}
|
||||
|
||||
\begin{document}
|
||||
% \lhBusinessCardFront
|
||||
\lhBusinessCardBack
|
||||
\end{document}
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
%% Copyright (C) 2017 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 of the License, or any later version.
|
||||
%% OR
|
||||
%% The 2-clause BSD-style license.
|
||||
%%
|
||||
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
|
||||
\ProvidesClass{lh-businesscard}%
|
||||
[2017/04/14 v0.0 LaTeX class implementing the cooperate design of LogicalHacking.com]
|
||||
|
||||
\LoadClass[inverse]{lh-presentation}
|
||||
|
||||
\newcommand{\vCardName}{}
|
||||
\newcommand{\vCardPhone}{}
|
||||
|
||||
\usepackage{qrcode}
|
||||
\usepackage{pst-barcode}
|
||||
\geometry{top=0mm,bottom=0mm,left=0mm,right=0mm,paperwidth=90mm,paperheight=60mm}
|
||||
|
||||
|
||||
\newcommand{\lhBusinessCardFront}{\begin{frame}[plain]%
|
||||
\centerline{Not yet supported.}
|
||||
\end{frame}}
|
||||
|
||||
\newcommand{\lhBusinessCardBack}{%
|
||||
\begin{frame}[plain]
|
||||
\begin{beamercolorbox}[ht=25mm,sep=.2cm,center,dp=12mm,wd=90mm]{}
|
||||
\centerline{\hspace{-3mm}\lhcomLogoDark[width=70mm]}
|
||||
\end{beamercolorbox}
|
||||
\hspace{8mm}
|
||||
\begin{beamercolorbox}[sep=2mm,ht=25mm,sep=9mm,wd=74mm]{footer}
|
||||
\raggedright
|
||||
{\scriptsize
|
||||
\hfill\begin{minipage}[]{15mm}\raggedleft
|
||||
\centering\vfill
|
||||
\colorbox{lhWhite}{\color{lhDarkGray}\qrcode[level=L,version=0,height=12mm]{BEGIN:VCARD\?VERSION:4.0\?N:\vCardName\?ORG:Software\
|
||||
Assurance\ \&\ Security\ Research\?TEL;TYPE=work:\vCardPhone\?EMAIL:\lh@contactemail\?URL;Type=work:\lh@contactwww\?URL;Type=work:logicalhacking.com\?END:VCARD}}
|
||||
\vfill
|
||||
\end{minipage}
|
||||
\hfill
|
||||
\hfill
|
||||
\begin{minipage}[]{40mm}
|
||||
\tiny
|
||||
\faEnvelopeSquare~\lh@contactemail\\
|
||||
\faTwitterSquare~@\lh@contacttwitter\\
|
||||
\faLinkedinSquare~\lh@contactlinkedin\\
|
||||
\faExternalLinkSquare~\lh@contactwww\\
|
||||
\faRssSquare~\lh@contactblog
|
||||
\end{minipage}\hfill}
|
||||
\end{beamercolorbox}
|
||||
\end{frame}}
|
||||
\endinput
|
Loading…
Reference in New Issue