Hello Nilo, here is the manual for the listings package http://ftp.uni-erlangen.de/mirrors/CTAN/macros/latex/contrib/listings/listings.pdf
Chapter 4.18 "Language definitions" describes how to create your own language definition. Definitions for part of AMPL exist, e.g. http://puszcza.gnu.org.ua/support/?287 http://puszcza.gnu.org.ua/support/?135 Could you, please, share your experience. Best regards Xypron -------- Original-Nachricht -------- > Datum: Fri, 11 Nov 2011 16:05:46 -0200 > Betreff: [Help-glpk] Embedding a mathprog model in latex > Hi all, > > I found the listings package in Latex, which handles source code > embedding, > but it doesn't implement gmpl (or ampl) syntax. > > What would be a good way to embed a mathprog model in a latex document > (with color coding if possible) ? > > Thanks. > > -- > *Nilo Cesar Teixeira* > [email protected] -- Follow me at http://twitter.com/#!/xypron NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
