Skip to content

Instantly share code, notes, and snippets.

@dpkoch
dpkoch / myprospectus.tex
Last active January 1, 2019 20:47
A simple LaTeX document class for a prospectus
\documentclass{prospectus}
\usepackage[T1]{fontenc} % looks better than default font encoding
\usepackage{lmodern} % need a newer font to work with T1 font encoding
\usepackage{graphicx} % for including images
% standard document info
\title{My Prospectus Title}
\author{My Name}
\date{\today}
@dpkoch
dpkoch / header_symbols.c
Created May 9, 2015 03:15
Generates header symbol definitions for including in an EAGLE library
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#define TRUE 1
#define FALSE 0
static const char SYMBOL_OPEN[] = "<symbol name=\"HEADER-%dPOS\">\n";
static const char SYMBOL_CLOSE[] = "</symbol>\n";