Re: [R] indentation(?) in Rd file, section "details"

About this list Date view Thread view Subject view Author view Attachment view

From: Ernesto Jardim (ernesto@ipimar.pt)
Date: Fri 28 May 2004 - 02:38:33 EST


Message-id: <1085675913.4998.363.camel@gandalf.local>

On Thu, 2004-05-27 at 17:18, Martin Maechler wrote:
> >>>>> "Ernesto" == Ernesto Jardim <ernesto@ipimar.pt>
> >>>>> on Thu, 27 May 2004 15:55:51 +0100 writes:
>
> Ernesto> Hi, I want to describe an algoritm in the details
> Ernesto> section of an Rd file and I'm having trouble to
> Ernesto> ident the different text rows. Can someone tell me
> Ernesto> how I can ident text in Rd files ?
>
> Do you mean "indent(ation)" (2nd letter = 'n') ?
> If yes,
> you might consider using
> \describe{ ........ } or \itemize{ .... }
>
> You can find many examples in R's sources, or directly looking inside
> the (large) file
>
> system.file("man/base.Rd")
>
> look for '\name{DateTimeClasses}' and its \details{..} section
>
> ------
>
> Martin Maechler <maechler@stat.math.ethz.ch> http://stat.ethz.ch/~maechler/
> Seminar fuer Statistik, ETH-Zentrum LEO C16 Leonhardstr. 27
> ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND
> phone: x-41-1-632-3408 fax: ...-1228 <><

Hi,

I want to do something like

step1
loop1
        step2
        loop2
                step3
        next2
next1
step4
step5

I thought I could use \hspace{1cm} ...

The environments only use 1 level of identation, I think. I may be able
to do it with a table but I'd like to know if there's a better way.

Regards

EJ

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:13 EST