cameronbracken / pgfSweave

Quality graphics and speedy compilation with Sweave
http://r-forge.r-project.org/projects/pgfsweave/
29 stars 6 forks source link

put graphics output in a special LaTeX environment? #29

Closed yihui closed 13 years ago

yihui commented 13 years ago

Just like Hinput/Houtput, does it make sense to put graphics output in a LaTeX environment like Goutput? In this case, we can have more flexible control over the appearance of the graphics by redefining this environment (e.g. center the figures, add boxes around them, ...).

cameronbracken commented 13 years ago

Centering can be achieved now with \centering or the equivalent since in 1.2.x hilighted code is output in its own environment as you say. I suppose this could be useful for adding boxes.... And there is no point in limiting the possibilites here, the environment could just be defined as empty by default.