Skip to main content



      Home
Home » Modeling » ATL » Listing Format of ATL Rules in Latex(What is the language name?)
Listing Format of ATL Rules in Latex [message #1840416] Wed, 14 April 2021 16:00 Go to next message
Eclipse UserFriend
Hello,

I want to add my ATL program to the pdf draft with the same Eclipse coloring using Latex. I create the listing for that but I do not know what should I put as a language name in the listing format.

Here is the header of my listing:

\begin{lstlisting}[language=, caption=Model Refactoring, label=model-refactoring]

Could you please explain to me which name is the right one for the language?

Thanks in advance,

Mohammed
Re: Listing Format of ATL Rules in Latex [message #1840435 is a reply to message #1840416] Thu, 15 April 2021 04:11 Go to previous messageGo to next message
Eclipse UserFriend
You have to define the language yourself with lstlisting. Therefore, you can choose the language name yourself, but of course "atl" appears most logical. See https://github.com/dwagelaar/trainbenchmark-ttc/blob/master/paper/atl/ttc15-atl.tex for an example.
Re: Listing Format of ATL Rules in Latex [message #1840470 is a reply to message #1840435] Thu, 15 April 2021 18:25 Go to previous message
Eclipse UserFriend
Thank you so much Dennis. The example is really useful, I followed it and it works.

Regards,
Previous Topic:Source attachment
Next Topic:Null-safe navigator operator
Goto Forum:
  


Current Time: Thu Sep 25 01:29:27 EDT 2025

Powered by FUDForum. Page generated in 0.03655 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top