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 |
Miguel Garcia 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 247 times) -
Attachment: document.tex
(Size: 11.13KB, Downloaded 242 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 |
Ed Merks Messages: 33217 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 |
Moritz Eysholdt 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
>>
>>
|
|
| |
Goto Forum:
Current Time: Mon Sep 23 09:24:47 GMT 2024
Powered by FUDForum. Page generated in 0.05121 seconds
|