Skip to content

Instantly share code, notes, and snippets.

@majorgreys
Created March 23, 2016 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save majorgreys/05ba02d47df45e8518f4 to your computer and use it in GitHub Desktop.
Save majorgreys/05ba02d47df45e8518f4 to your computer and use it in GitHub Desktop.
Latex file for generating PDF that I used to create posters for a rally. I projected the PDF onto a wall using an LCD projector and then traced the letters onto poster board.
\documentclass{article}
\usepackage[letterpaper,margin=1.0in]{geometry}
\usepackage[T1]{fontenc}
\usepackage[sfdefault]{universalis}
% \usepackage{fontspec}
% \usepackage{xunicode}
% \usepackage{xltxtra}
% \setmainfont[Mapping=tex-text]{Lucida Sans Unicode}
\usepackage{tikz}
\usetikzlibrary{matrix,shapes.misc}
\begin{document}
\begin{tikzpicture}[mycross/.style={cross out, draw=gray,
minimum size=4pt, rotate=45, outer sep=0pt, inner sep=0pt},
myletter/.style={inner sep=0mm,
minimum width=11mm,
minimum height=14mm, anchor=center, font=\Huge\bf}]
\matrix (A) [matrix of nodes, nodes=myletter, column sep=0pt, row sep=0pt,]{
S & T & O & P & \_ \\
C & U & N & Y & \_ \\
C & U & T & S & ! \\
};
\foreach \j in {1,...,3}{
\foreach \i in {1,...,5}
\node[mycross] at (A-\j-\i.north west) {};
\node[mycross] at (A-\j-5.north east) {};
}
\foreach \i in {1,...,5}
\node[mycross] at (A-3-\i.south west) {};
\node[mycross] at (A-3-5.south east) {};
\end{tikzpicture}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment