🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.text.tex
Article #11

Re: Tgrind II

#11
From: Jose Flores Peters
Date: Tue, 15 Sep 1992 21:38
29 lines
1250 bytes


Para usar tgrind en LaTeX debes hacer lo siguiente:

        % tgrind -f -lc hola.c > hola.tex

                       genero hola.tex a partir de hola.c  
                       -lc opcion para lenguaje C (default)
 
En el archivo en latex debes usar:


        \documentstyle[fullpage,tgrind]{articulo}   % agrego opcion tgrind
       
		...

        \begin{tgrind}[n]                   % [n] numera las lineas
                \input{hola.tex}            % incluyo hola.tex
        \end{tgrind}


Espero te sirva.

-- 
+---------------------------------------------------------------+
|    Pepe Flores            e-mail:   jflores@dcc.uchile.cl     |
| Facultad de Ingenieri'a                 U. de Chile           |
+---------------------------------------------------------------+
Technical Details
Message-ID: <1992Sep15.213856.19971@dcc.uchile.cl>
Path: arc1-ca.pugleaf.net!sparky!uchdcc!jflores
References: <1992Sep15.185949.3770@dcc.uchile.cl>

Show Full Headers
Complete Article Headers
Newsgroups: chile.text.tex
Path: arc1-ca.pugleaf.net!sparky!uchdcc!jflores
From: jflores@dcc.uchile.cl (Jose Flores Peters)
Subject: Re: Tgrind II
Originator: jflores@chaiten
Sender: usenet@dcc.uchile.cl (Network News)
Message-ID: <1992Sep15.213856.19971@dcc.uchile.cl>
Date: Tue, 15 Sep 1992 21:38:56 GMT
References:  <1992Sep15.185949.3770@dcc.uchile.cl>
Organization: Universidad de Chile, Depto. de Ciencias de la Computacion
Lines: 30