[continuing/correcting my previous posting on 'showexpl' package:] An environment 'LTXexample' with one optional argument and a user command \LTXinputExample are defined (user interface, seem to be all of it). showexpl.cfg defines the style of typesetting the examples. -- Uwe.