[Rd] ASCII art in function documentation?
Brian G. Peterson
brian at braverock.com
Thu Sep 5 16:20:27 CEST 2013
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
More information about the R-devel
mailing list