From Rainer at krugs.de  Thu Sep  5 17:12:03 2013
From: Rainer at krugs.de (Rainer M Krug)
Date: Thu, 5 Sep 2013 17:12:03 +0200
Subject: [Rd] ASCII art in function documentation?
References: <m238pjjr5s.fsf@krugs.de> <5228932B.8050407@braverock.com>
Message-ID: <m2ppsncngc.fsf@krugs.de>

"Brian G. Peterson" <brian at braverock.com> writes:

> 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

Thanks - mus't have overlooked it.

This would definitely work, but in this case I think ASCII art would be
the better solution.

Thanks,

Rainer

>
> Regards,
>
> Brian
<#secure method=pgpmime mode=sign>

-- 
Rainer M. Krug

email: RMKrug<at>gmail<dot>com



[Rd] ASCII art in function documentation?
Rainer M Krug