I'm a student from Germany and currently I'm writing my diploma thesis
in optimization. Therefor I'd like to include an AMPL source file in
the appendix of the LaTeX file. I found the TeX-package 'listings' and
embedded it by the declaration \usepackage{listings}. Then you've to
choose different options with the command \lstset{ ... }, e.g. the
used programming language. Do you know, if there's any possibility to
use "AMPL" in this declaration? Or if not, which of the supported
languages' syntax (you can find them here at page 12:
ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf)
is most similar to AMPL?
Thank a lot!
Greetz, alibaba :)
On 23 Mrz., 23:23, olin...@engr.smu.edu wrote:
> A simple solution is to use the verbatim enviroment to include AMPL sources.
>
>
>
> > Hi!
>
> > I'm a student from Germany and currently I'm writing my diploma thesis
> > in optimization. Therefor I'd like to include an AMPL source file in
> > the appendix of the LaTeX file. I found the TeX-package 'listings' and
> > embedded it by the declaration \usepackage{listings}. Then you've to
> > choose different options with the command \lstset{ ... }, e.g. the
> > used programming language. Do you know, if there's any possibility to
> > use "AMPL" in this declaration? Or if not, which of the supported
> > languages' syntax (you can find them here at page 12:
> >ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/list...)