1 Mar 2011 12:52
Re: handling of literal block in LaTeX (esp in slides)
Guenter Milde <milde <at> users.berlios.de>
2011-03-01 11:52:52 GMT
2011-03-01 11:52:52 GMT
On 2011-02-28, Alan G Isaac wrote: >> On 2011-02-21, Alan G Isaac wrote: >>> Why are literal blocks put in a quote environment? >> Because this shows up in the PDF similar to the way they are presented >> in HTML (indented and with vertical separation). > This seems to justify an unfortunate LaTeX display by > referencing an unfortunate HTML display, which in turn > is (I think?) just a reflection of unfortunate decisions > early on in various browsers. (I don't think it reflects > a W3C recommendation.) It is a style decision (unfortunate or not) made early on in the default Docutils CSS stylesheet. Together with a different background colour, it served to highlight literal blocks. It also reflects the layout of the source, where literal blocks are indented and only different from quote-blocks by the preceding ``::``. > In any case, two comments on LaTeX output. > 1. Can we agree this is undesirable in *slides* at least? I have no generic personal preference and believe there is no "correct" one-size-fits-all layout not even for slides. > Code I need to display gets cutoff *because of* this > quote environment.(Continue reading)
RSS Feed