Dear list,

how do I place a verbatim environment in the text such that the
following paragraph is not indented?  I expect the environment to
behave the same as the formula-environment. How can I achieve this?

--- minimal example ---

\starttext

\setupindenting[1.3em]
\setupindenting[yes]

\definetyping
    [R]
    [options=R,
    style={\ss},
    before={\startframedtext
        [width=.975\makeupwidth,
        frame=off,
        bottomframe=on,
        topframe=on,
        background=screen,
        backgroundscreen=.95]},
    after={\stopframedtext},
    bodyfont=9pt,
    margin=1.3em]

\input ward

You can use the following syntax
\startR
f <- function(x) x^2
\stopR
to define a function. (Begging of line should not be indented.)

\input ward

Have a look at
\startformula
f(x) = x^2
\stopformula
where $f$ is a function. (No indent as expected.)

\input ward
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to