Skip to content
Prev 82002 / 398503 Next

Sweave: How can I include S input in paragraph mode

> Sweavers
  > As the title suggests I would appreciate any help to include S code in
  > ordinary paragraph mode. I can use the textsl font but is isn't the
  > same.

You can always renew the Sinput and Soutput environments to whatever
you like. Sweave.sty provides a default setting, but you are free to
modify them as you like. E.g., for slides I redefine them such that
input and output have different colors.

HTH,