Last active
August 29, 2015 14:16
-
-
Save vermiculus/39233f755386ab9e914c to your computer and use it in GitHub Desktop.
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
\usepackage[paperheight=250pt,paperwidth=220pt]{geometry} | |
\usepackage{graphicx} | |
\usepackage{xcolor} | |
\pagecolor[HTML]{CFE3F7} | |
\pagenumbering{gobble} | |
\newcommand\Reddit{{\ttfamily | |
\color{gray}% | |
www.reddit.com% | |
\SubReddit}} | |
\newcommand\SubReddit{{\ttfamily | |
\color{blue!75!black}% | |
\subreddit}} | |
\newcommand\FullWidth[1]{% | |
\resizebox{\textwidth}{!}{#1}} |
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
% arara: xelatex | |
\documentclass{article} | |
\input{common} | |
\def\subreddit{/r/emacs} | |
\begin{document} | |
\centering | |
\null\vfill | |
\FullWidth{\sffamily Want an opinion?} | |
\vfill\vfill | |
\FullWidth{% | |
\fontspec{Source Code Pro}% | |
\raisebox{-1ex}{% | |
\includegraphics[height=4ex]{reddit-alien}}~Emacs} | |
\bigskip | |
\FullWidth{% | |
} | |
\vfill | |
\end{document} |
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
LOGOS = emacs-sx tex-sx | |
all: | |
test -e reddit-alien.png || wget --quiet 'https://www.redditstatic.com/about/assets/reddit-alien.png' | |
@$(foreach f,$(LOGOS),printf 'Processing %s\n' $(f); arara $(f); printf 'Converting... '; convert -density 1200 $(f).pdf -resize 440x500 $(f).png; printf 'done.\n';) | |
clean: | |
rm *.log *.pdf *.aux *.png |
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
% arara: pdflatex | |
\documentclass{article} | |
\input{common} | |
\def\subreddit{/r/LaTeX} | |
\begin{document} | |
\centering | |
\null\vfill | |
\FullWidth{\sffamily Want an opinion?} | |
\vfill\vfill | |
\FullWidth{% | |
\raisebox{-1ex}{% | |
\includegraphics[height=4ex]{reddit-alien}}~\LaTeX} | |
\bigskip | |
\FullWidth{% | |
} | |
\vfill | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment