Difference between revisions of "MWE"

From Wiki
Jump to navigation Jump to search
(added new category: smallest pdf file)
m (make first example one character shorter)
Line 17: Line 17:
 
== ConTeXt ==
 
== ConTeXt ==
  
* \starttext a\stoptext
+
* \starttext.\stoptext
  
 
* \startTEXpage !\stopTEXpage
 
* \startTEXpage !\stopTEXpage

Revision as of 16:23, 5 November 2014

< Main Page | Humour >

Minimum WORKING Examples

Here we launch a contest for the creation of the most minimal working examples. There shall be different categories:

  • shortest code
  • fastest execution
  • shortest code + fastest execution
  • smallest PDF file produced

Rules: the example MUST compile and create a pdf!

ConTeXt

  • \starttext.\stoptext
  • \startTEXpage !\stopTEXpage

MetaPost

  • \startMPpage draworigin;\stopMPpage
  • \startMPpage draworigin\stopMPpage
  • \startMPpage draw(0,0)\stopMPpage