added latex shortcuts, cleaned up c_java