Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add poster #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added poster/images/mhv-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added poster/images/mhv-logo.xcf
Binary file not shown.
Binary file added poster/images/probe-neutral.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added poster/images/probe-timeset.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added poster/images/tweet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added poster/main.pdf
Binary file not shown.
89 changes: 89 additions & 0 deletions poster/main.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% "How to use the Spaceprobe"
%
% https://github.com/makehackvoid/spaceprobe
%
% Adapted from "A Template for 'How to create a WiFi account' with Re2o'"
% https://github.com/Klafyvel/create_account_re2o_poster
% Images belong to their authors
%
% Distributed under Creative Commons CC BY 4.0
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


% Here you can set the color and the text size
% Rézo Metz : 1cc0fa
% Aurore : cf0f23
\documentclass[color=1cc0fa, size=12pt, logo=mhv-logo.png]{re2o-poster}

\newcommand{\intranet}[1]{\newcommand{\theintranet}{#1}\newcommand{\thecontact}{#1/contact/}}
\newcommand{\forum}[1]{\newcommand{\theforum}{#1}}
\newcommand{\github}[1]{\newcommand{\thegithub}{#1}}

% Some informations
\title{How to use the Spaceprobe}
\forum{https://forum.makehackvoid.com}
\github{https://github.com/makehackvoid/spaceprobe}

% You should not need to change anything below

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\usepackage{tabularx}
\usepackage{multicol}
\usepackage{qrcode}
\usepackage{cclicenses}
\usepackage{graphicx}

\graphicspath{{images/}}

\begin{document}

\maketitle

\vskip \baselineskip
\begin{minipage}[0.6\pageheight]{\linewidth}
\Large
\begin{enumerate}

\item Ensure that the meter is at 0
\begin{center}
\includegraphics[width=0.4\textwidth]{probe-neutral.png}
\end{center}

\item Turn the knob until the \emph{meter} shows the time you plan to be open for (the knob is on a rotary encoder, so the labels aren't relevant)
\begin{center}
\includegraphics[width=0.4\textwidth]{probe-timeset.png}

The meter shows 4 hours
\end{center}

\item Press the knob in; The LED should flash, and the meter should return to 0

\item Success! The probe should have tweeted
\begin{center}
\includegraphics[width=0.4\textwidth]{tweet.png}
\end{center}


\end{enumerate}
\end{minipage}

\vskip \baselineskip

\hskip -1.1cm%
\renewcommand{\arraystretch}{1.8}%


\vfill
\vskip -0.9\baselineskip
{
\footnotesize
\qrcode[height=0.08\linewidth]{\thegithub} %
\hskip 1cm %
An issue? \emph{\thegithub} %
Or post on the forum \emph{\theforum}
}

\end{document}
48 changes: 48 additions & 0 deletions poster/re2o-poster.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{re2o-poster}[Re2o Poster]

\RequirePackage{kvoptions}
\SetupKeyvalOptions{prefix=re@}
\DeclareStringOption{color}[cf0f23]
\DeclareStringOption{size}[12pt]
\DeclareStringOption{logo}[logo.png]
\ProcessKeyvalOptions*
\PassOptionsToClass{\re@size}{article}
\LoadClass[a4paper]{article}
\RequirePackage[table]{xcolor}
\RequirePackage[sfdefault,lf]{carlito}
\RequirePackage[margin=1.1cm,a4paper]{geometry}
\RequirePackage{ragged2e}
\RequirePackage{graphicx}
\RequirePackage{background}


\definecolor{MainColor}{HTML}{\re@color}

\pagestyle{empty}
\RaggedRight
\parskip=\re@size plus 4pt

\renewcommand{\labelenumi}{\Huge\color{MainColor}\bfseries \arabic{enumi} }

\renewcommand{\maketitle}{{\fontsize{40pt}{42pt}\bfseries\selectfont\color{MainColor}%
\makeatletter\@title\makeatother%
\par}}

\renewcommand{\emph}[1]{{\itshape\color{MainColor}\bfseries#1}}

\newcommand{\link}[1]{{\bfseries#1}}

\backgroundsetup{
scale=1,
color=black,
opacity=0.1,
angle=0,
placement=top,
vshift=1.9cm,
contents={%
\includegraphics[width=\paperwidth]{\re@logo}
}%
}

%\endinput