gnarly ternaries to make illustration italics work
created new method in class to create latex command