From brian at braverock.com  Thu Sep  5 16:20:27 2013
From: brian at braverock.com (Brian G. Peterson)
Date: Thu, 05 Sep 2013 09:20:27 -0500
Subject: [Rd] ASCII art in function documentation?
In-Reply-To: <m238pjjr5s.fsf@krugs.de>
References: <m238pjjr5s.fsf@krugs.de>
Message-ID: <5228932B.8050407@braverock.com>

On 09/05/2013 09:10 AM, Rainer M Krug wrote:
>   want to include ascii art in a function documentation which should
> look as follow:
>
> ,----
> | +------+------+------+
> | | 1/16 | 1/16 | 1/16 |
> | +------+------+------+
> | | 1/16 | 8/16 | 1/16 |
> | +------+------+------+
> | | 1/16 | 1/16 | 1/16 |
> | +------+------+------+
> `----
>
>
> to keep the monospaced font even in html, I decided to use \code{}:

Wouldn't it be best to use the relatively new \figure markup with 
alternate text?

http://cran.r-project.org/doc/manuals/R-exts.html#Figures

Regards,

Brian


-- 
Brian G. Peterson
http://braverock.com/brian/
Ph: 773-459-4973
IM: bgpbraverock



[Rd] ASCII art in function documentation?
Brian G. Peterson