Table of Contents

General Technical Information

A resource for technical information we've found useful. For the moment, most will be found at The Structural Complexity Lab's info page.

General Linux Info

Macintosh Info

LaTeX Info

A resource for weird LaTeX related stuff

Papers for MIT Journals

Artificial Intelligence Journal, and probably other MIT journals, require use of the apa7 LaTeX class, but also require natbib macros. Not well documented anywhere I could find, but after a lot of experimentation, what worked was

\documentclass[man,floatsintext,draftall]{apa7} % for submission version, remove 'draftall' for final publishable version
\usepackage[style=apa,backend=biber,natbib=true]{biblatex}

MIT journals also requires all images to be in CMYK colour space, but we used pdflatex with all images being png format, which supports only sRGB colour space. I found this bash script useful on linux with imagemagick for converting pngs to CMYK pdfs that pdflatex can handle (it can probably also work on macs and windows, probably requires installation of imagemagick on both, and cygwin on windows).

#!/bin/bash
# Usage: png2cmykpdf.sh (converts all pngs in directory to corresponding CMYK pdfs)

for file in *.png
do
	f="$(basename $file .png)"
#	echo "$f"
	convert $file -colorspace CMYK -units PixelsPerInch -density 1200 $f.pdf
done

It would probably work also for converting (standard) sRGB jpgs to CMYK jpgs, but I haven't tested this.

BioIntelligence Lab / old Structural Complexity Lab Info

A backup resource for some old Structural Complexity Lab info