Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » for the PhD students among us: typesetting Emfatic in LaTeX
for the PhD students among us: typesetting Emfatic in LaTeX [message #408970] Thu, 03 May 2007 07:20 Go to next message
Miguel Garcia is currently offline Miguel GarciaFriend
Messages: 40
Registered: July 2009
Member
Hi,

Some of us write from time to time LaTeX documents containing Emfatic
snippets. If the same happens to you, then read on!

In order to highlight Emfatic-specific keywords as shown in the attached
PDF, the LaTeX "listings" package needs a language definition for Emfatic.
I've included in the attached .tex file an example, which requires the
"color" package. It takes no time to remove coloring, and stay with the more
traditional bold highlighting of reserved keywords, if you like. As usual,
the full customizability of the "listings" package,
ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/list ings/listings.pdf
is available (frames, line numbers, mono vs proportional spacing, etc)

Sugestions are welcome. After enough review, improved definitions could be
contributed to the CTAN archive to become a standard LaTeX style file.


Regards,

Miguel



  • Attachment: document.pdf
    (Size: 63.88KB, Downloaded 197 times)
  • Attachment: document.tex
    (Size: 11.13KB, Downloaded 214 times)
Re: for the PhD students among us: typesetting Emfatic in LaTeX [message #408975 is a reply to message #408970] Thu, 03 May 2007 11:14 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31907
Registered: July 2009
Senior Member
Miguel,

I haven't used LaTeX since my university days, but I used to love it. :-)


Miguel Garcia wrote:
> Hi,
>
> Some of us write from time to time LaTeX documents containing Emfatic
> snippets. If the same happens to you, then read on!
>
> In order to highlight Emfatic-specific keywords as shown in the attached
> PDF, the LaTeX "listings" package needs a language definition for Emfatic.
> I've included in the attached .tex file an example, which requires the
> "color" package. It takes no time to remove coloring, and stay with the more
> traditional bold highlighting of reserved keywords, if you like. As usual,
> the full customizability of the "listings" package,
> ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/list ings/listings.pdf
> is available (frames, line numbers, mono vs proportional spacing, etc)
>
> Sugestions are welcome. After enough review, improved definitions could be
> contributed to the CTAN archive to become a standard LaTeX style file.
>
>
> Regards,
>
> Miguel
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: for the PhD students among us: typesetting Emfatic in LaTeX [message #427231 is a reply to message #408975] Fri, 06 February 2009 21:48 Go to previous messageGo to next message
Moritz Eysholdt is currently offline Moritz EysholdtFriend
Messages: 161
Registered: July 2009
Location: Kiel, Germany
Senior Member
Hi Miguel,

great, thx for posting this. It might be useful for me.

cheers,
Moritz


Ed Merks wrote:
> Miguel,
>
> I haven't used LaTeX since my university days, but I used to love it. :-)
>
>
> Miguel Garcia wrote:
>> Hi,
>>
>> Some of us write from time to time LaTeX documents containing Emfatic
>> snippets. If the same happens to you, then read on!
>>
>> In order to highlight Emfatic-specific keywords as shown in the
>> attached PDF, the LaTeX "listings" package needs a language definition
>> for Emfatic. I've included in the attached .tex file an example, which
>> requires the "color" package. It takes no time to remove coloring, and
>> stay with the more traditional bold highlighting of reserved keywords,
>> if you like. As usual, the full customizability of the "listings"
>> package,
>> ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/list ings/listings.pdf
>>
>> is available (frames, line numbers, mono vs proportional spacing, etc)
>>
>> Sugestions are welcome. After enough review, improved definitions
>> could be contributed to the CTAN archive to become a standard LaTeX
>> style file.
>>
>>
>> Regards,
>>
>> Miguel
>>
>>
Re: for the PhD students among us: typesetting Emfatic in LaTeX [message #1736821 is a reply to message #408970] Sat, 02 July 2016 10:31 Go to previous message
Thanos Zolotas is currently offline Thanos ZolotasFriend
Messages: 1
Registered: August 2011
Junior Member
That was very useful for me. Thanks for sharing!
Previous Topic:Behavior of objects in the model
Next Topic:StackOverflowError when saving resource
Goto Forum:
  


Current Time: Fri Jun 18 04:08:33 GMT 2021

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

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

Back to the top