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 03:20  |
Eclipse User |
|
|
|
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 262 times)
Attachment: document.tex
(Size: 11.13KB, Downloaded 255 times)
|
|
|
Re: for the PhD students among us: typesetting Emfatic in LaTeX [message #408975 is a reply to message #408970] |
Thu, 03 May 2007 07:14   |
Eclipse User |
|
|
|
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 #427231 is a reply to message #408975] |
Fri, 06 February 2009 16:48   |
Eclipse User |
|
|
|
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: Sat Jul 05 23:35:56 EDT 2025
Powered by FUDForum. Page generated in 0.06761 seconds
|