For quite a while I wanted to redo in LaTeX the ASCII file table I did more than 8 years ago. The original was done in Word, in a dozen different fonts. Of course, this only ever worked on the original machine I prepared the file on. I was basically left with a scanned version of a printout of the original. Exactly why Word sucks.
So, after doing a poster recently in LaTeX, I finally found a way to do it: using the textpos package. Now I hopefully have something that will remain editable for all future times. The result is on the Refcard page
As opposed to my older ASCII Table, this one shows the extended character set for Latin1/CP1252 (aka the default Windows encoding). It’s much more relevant than CP850 that was active on my computer 8 years ago. If would like a different codepage, there’s a little python script that you can use to replace symbols in the ascii.tex file. You’ll have to edit the source. The script reads the symbols (latex code) from a text file and inserts them into ascii.tex.
- build_ascii.py The script
- latin1_symbols.txt The text file I used to generate this version of the ascii table
Still, three questions remain:
- Why can’t I compile this with pdflatex? I get error about the fonts. XeTeX seems to be the only thing producing PDF that can handle this.
- Why is the font rendering bitmapped?
- Why is it so difficult to get a page into landscape? Why do I have to compile it differently depending on the page format? Why does using the hyperref package have an influence on the page orientation?