/* -*-ePiX-*- */ #include "epix.h" using namespace ePiX; const P LdY(0, 4); const P LdX(4, 0); std::string sfmt(const std::string& msg) { #ifdef SANSSERIF return "$\\mathsf{"+msg+"}$"; #else return "$"+msg+"$"; #endif } int main() { picture(P(0, 0), P(1, 1), "10 x 8pt"); begin(); bold(); line(P(0,0), P(1,0)); line(P(0,0), P(1,1)); line(P(0,1), P(1,1)); tikz_format(); end(); }