Skip to content
Back to formatted view

Raw Message

Message-ID: <4EB2AA89.7020607@cbio.uct.ac.za>
Date: 2011-11-03T14:51:53Z
From: Renaud Gaujoux
Subject: R CMD check and error in an \Sexpr in an Rd file
In-Reply-To: <438D2EC9EAFE5946B2D5864670EA468E0899A8@MBXP01.ds.man.ac.uk>

On 03/11/2011 16:33, Georgi Boshnakov wrote:
> Dear Renalud,,
>
>> Would a 'results=tex' (html, text) be possible? or 'results=source' that
>> could be combined with \if{format}{text}?
> This may well be a clean approach.
>
> After my previous email, I looked again at the definition of thr \AsIs macro.
> Its purpose seems to be to typeset text containing special characters in normal text mode
> and thus its purpose is different from \verb and ``verbatm'  macros/environments in LaTeX.
>
Maybe using an environment such as Verbatim defined in fancyvrb would 
solve the problem?
I think you can control the font, etc... still keeping the "no 
formatting" of plain verbatim.