\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}} |
% 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} |
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 |
% 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