[Tex/LaTex] Desktop wallpaper with black background templates

fontspngspacing

I want to prepare some cheat sheets to be used as desktop wallpapers.

I would like to go for something like this:
enter image description here

It has, I think, context highlighting (or maybe just environmental highlighting) a black background, it's png format, it's got 4 columns and tabular alignment (or so it appears) for each item.

Can I adapt the templates here?: Template for cheat sheet and http://www.stdout.org/~winston/latex/latexsheet.tex

I would want fine-grained control of the pixel size, spacing, column beginnings and endings, colors, fonts, etc…

If I used those templates, what would I need to change?

Looks like I can output to png and control pixel size for one: Compile a LaTeX document into a PNG image that's as short as possible

I think colors are doable: http://en.wikibooks.org/wiki/LaTeX/Colors

Based on my experience and these references, I think it's really doable, but am I missing anything?

Want to create a best-practice template for me?

Best Answer

Here is a startpoint. You can continue writing...

enter image description here

Code:

\documentclass[10pt,landscape]{article}

\usepackage{multicol}
\usepackage{array}
\newcolumntype{L}{>{\ttfamily\color{red!50}}l}

\usepackage[landscape]{geometry}
\geometry{paperwidth=508mm,paperheight=286mm,top=1cm,left=3cm,right=3cm,bottom=1cm}

\usepackage{xcolor}
\pagecolor{black}
\color{yellow!50}

\makeatletter
\renewcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\normalfont\large\bfseries\color{cyan!75}}}
\makeatother

\setcounter{secnumdepth}{0}
\setlength{\parindent}{0pt}
\setlength{\parskip}{0pt plus 0.5ex}

\newcommand{\textpink}[1]{\textcolor{red!50}{\texttt{#1}}}
\newcommand{\textyellow}[1]{\textcolor{yellow!50}{\textbf{#1}}}


\begin{document}

\begin{multicols*}{4}

\setlength{\premulticols}{1pt}
\setlength{\postmulticols}{1pt}
\setlength{\multicolsep}{1pt}
\setlength{\columnsep}{2pt}

\begin{center}
     \color{cyan!75}
     \Large\textbf{GNU Emacs Reference Card} \\
     \normalsize (for version 23)\\
\end{center}

\subsection{Starting Emacs}
To enter GNU Emacs 23, just type its name:\quad\textpink{emacs}

\subsection{Leaving Emacs}
\begin{tabular}{@{}p{7cm}L@{}}
suspend Emacs (or iconify under X) & C-z \\
exit Emacs permanently & C-x C-c \\
\end{tabular}

\subsection{Files}
\begin{tabular}{@{}p{7cm}L@{}}
\textbf{read} a file into Emacs & C-x C-f \\
\textbf{save} a file back to disk & C-x C-s \\
save \textbf{all} files & C-x s \\
insert contents of another file into this buffer & C-x i \\
\dots \\
\end{tabular}

\subsection{Motion}
\begin{tabular}{@{}p{5.75cm}LL@{}}
\textbf{entity to move over } & \textyellow{backward} & \textyellow{forward} \\
character & C-b & C-f \\
\dots \\
scroll to next screen & \multicolumn{2}{c}{\textpink{C-v}} \\
\dots \\
\end{tabular}

\end{multicols*}
\end{document} 

Document zoomed in:

enter image description here