Help save net neutrality! Learn more.
Close

#119 \centering should not generate a new paragraph

closed
nobody
None
5
2012-10-30
2010-11-23
A Student
No

According to Latex manual, "Unlike the center environment, the \centering command does not start a new paragraph". However the converted does generate a new paragraph.

In the attached example the usage of \centering in the middle of a paragraph is rather uncommon. It just illustrates the point.

More realistically, \centering is often used as the first directive in 'picture' environment. In this case the converter unnecessary creates a new paragraph of 'centerpar' style, ending the picture paragraph. The latter does occupy some space.

(Version: latex2rtf-2.1.1beta4_win.exe)

Discussion

  • A Student

    A Student - 2010-11-23

    LaTeX file

     
  • Scott Prahl

    Scott Prahl - 2012-06-02

    You are correct. This is a deficiency in the converter. Unfortunately, \centering is too awkward to handle properly. Basically the problem is that the RTF formatting for the paragraph is already emitted before the \centering token is encountered. The best that can be done is to just start a new centered paragraph.

     

Log in to post a comment.