#137 ✓resolved
Richard Funderburk

Paragraph alignment in LaTeX

Reported by Richard Funderburk | March 24th, 2009 @ 08:56 AM | in 4.2.0

The following textile:

p=. This is centered

properly generates centered text in HTML but does not center in LaTeX. The header tags work the same way i.e.

h1=. This is a centered header

properly generates for HTML but not for LaTeX.

Comments and changes to this ticket

  • Bil Kleb

    Bil Kleb March 30th, 2009 @ 08:11 AM

    • State changed from “new” to “open”

    What do you propose the LaTeX output look like for these two?

    (I can't think of anything obvious because neither paragraphs nor headers are effected by the center environment.)

  • Richard Funderburk

    Richard Funderburk March 30th, 2009 @ 08:29 AM

    Really? I don't see that in my textile testing here. The following:

    \begin{center} Text \end{center}

    generates centered text in my tests. I can also generate bold and italics in a paragraph with:

    \begin{center} \textit{\textbf{This is bold}} This is normal \end{center}

    I must be missing something?

  • Bil Kleb

    Bil Kleb March 30th, 2009 @ 08:38 AM

    Hmmm, apparently my brain is cloudy this morning. I should have experimented first.

    I was thinking about the paragraph box when it has a full textwidth line, but even then the last line is indeed centered.

  • Richard Funderburk

    Richard Funderburk March 30th, 2009 @ 09:05 AM

    No problem, I've had whole weeks of cloudiness! :)

  • Jason Garber

    Jason Garber April 26th, 2009 @ 06:00 PM

    • State changed from “open” to “resolved”

    (from [1caa1b25d02905945ce7931dfa87f042a1a23447]) To enable LaTeX section and paragraph alignments.

    Note: Not DRY yet. [#137 state:resolved] http://github.com/jgarber/redclo...

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RedCloth is a Ruby library for converting Textile into HTML

Shared Ticket Bins

People watching this ticket

Referenced by