A Conversation for The GuideML Clinic
Formatting poems
minorvogonpoet Started conversation Mar 1, 2014
Can you advise me on how to format my poems?
Dmitri showed me a way that used to work, which went (spaces inserted just to demonstrate)
< P > </ P>
< CENTER > line of text < / P>
Now I get a message that is invalid. The poem will still centre in Alabaster but, in Pliny, I get a crunched up block of text.
Formatting poems
Titania (gone for lunch) Posted Mar 2, 2014
First, why would you want to start with an empty space?
Second, you have one too much. starts a new paragraph, ends it. You start a new paragraph but end it twice?
Personally, I think I'd do it something like this:
First line of text
Second line of text
Third line of text
Fourth line of text
Formatting poems
Titania (gone for lunch) Posted Mar 2, 2014
Haven't used Pliny myself (Goo rules!) but here is a go using my method first with the and your method with a for each line:
http://h2g2.com/entry/A87824523
Formatting poems
minorvogonpoet Posted Mar 2, 2014
Thank you all for your advice.
Unfortunately, I confused everybody by getting my original post garbled.
But, in my latest attempt at formatting a poem A87823047 I used the
< CENTER > Line of text </ CENTER >
approach. It works in Alabaster, but in Pliny I get a crunched up paragraph.
I don't mind if my poems are centered on a page, or lined up down the left-hand margin, but I do want them in lines.
Formatting poems
Titania (gone for lunch) Posted Mar 2, 2014
Then I'd like to point back at my posting no.2, to use between each line rather than the CENTER tag repeatedly.
Although the line spacing seems a bit odd in my own example.
Formatting poems
Pastey Posted Mar 2, 2014
Right, I see what's happening
Pliny doesn't force new lines on unedited entries like the older skins do. So, if you want to create a new line, use the break tag: < br />
With the < center > tag, you should only need it once at the start of what you want centring, and at the end.
So with your poem, if you want it all centred, put the start center tag right at the start, and the end one right at the end. Then put a break tag at the end of each line.
That should sort it for you
Formatting poems
minorvogonpoet Posted Mar 2, 2014
I tried the approach you recommended, Pastey.
In Pliny I got line breaks, so an advance on the previous result, but the centering didn't work!
Key: Complain about this post
Formatting poems
- 1: minorvogonpoet (Mar 1, 2014)
- 2: Titania (gone for lunch) (Mar 2, 2014)
- 3: Titania (gone for lunch) (Mar 2, 2014)
- 4: Pastey (Mar 2, 2014)
- 5: minorvogonpoet (Mar 2, 2014)
- 6: Titania (gone for lunch) (Mar 2, 2014)
- 7: Pastey (Mar 2, 2014)
- 8: minorvogonpoet (Mar 2, 2014)
- 9: minorvogonpoet (Mar 2, 2014)
- 10: Pastey (Mar 2, 2014)
- 11: Pastey (Mar 2, 2014)
- 12: minorvogonpoet (Mar 2, 2014)
- 13: Pastey (Mar 2, 2014)
More Conversations for The GuideML Clinic
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."