[Journal] A little help with LaTex.

Tyler Mitchell (OSGeo) tmitchell at osgeo.org
Wed Feb 24 12:35:20 EST 2010


We have quit often done this, depending on the needs of any given
author, no problem.

Tyler

Sunburned Surveyor wrote:
> If I use the Listings package in one of my articles will it cause
> problems for the people working on the main Tex file?
> 
> Landon
> 
> On Sat, Feb 20, 2010 at 1:35 AM, Markus Neteler <neteler at osgeo.org> wrote:
>> On Fri, Feb 19, 2010 at 9:44 PM, Sunburned Surveyor
>> <sunburned.surveyor at gmail.com> wrote:
>>> I need to ask for a little help with LaTex. I'm working on the
>>> conversion of the "GPGPU with GDAL" article.
>>>
>>> Is there a special way I should be formatting source code within the article?
>> The `listings' package is a source code printer for LaTeX.
>> http://ctan.org/pkg/listings
>>
>> See details at
>> http://en.wikibooks.org/wiki/LaTeX/Packages/Listings
>>
>> Untested example (from [1]):
>>
>> \documentclass{article}
>> \usepackage{listings}
>> \begin{document}
>> \lstset{language=C}
>> \begin{lstlisting}
>> main ()
>>   { int pid;
>>      switch (pid = fork())
>>  ....
>> \end{lstlisting}
>> \end{document}
>>
>> Markus
>>
>> [1] http://www.latex-community.org/forum/viewtopic.php?f=46&t=6958
>>
> _______________________________________________
> newsletter mailing list
> newsletter at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/newsletter



More information about the newsletter mailing list