Beleg Tâl/Sandbox | Sandbox

Problem 1: Child wider than parent

edit

See e.g. Page:Gilbert Original Plays.djvu/350

Desired layout:

  Hello world!
This poem
Should be centered.
 
This section title is wider than the poem and should extend into the margin but not beyond the margin's edge.
  The poem
Then continues
As before.
 

Attempt #1:

Hello world!
This poem
Should be centered.

This section title is wider than the poem and should extend into the margin but not beyond the margin's edge.
 

The poem
Then continues

As before.

Attempt #2:

Hello world!
This poem
Should be centered.

This section title is wider than the poem and should extend into the margin but not beyond the margin's edge.

The poem
Then continues

As before.

Problem 2: Centered playscript

edit

Desired layout:

Romeo: Hello Juliet!
This poem
Should be centered.
Romeo:
Juliet: I agree!
It shouldn't be difficult.
Juliet:
This section title is wider than the poem and should extend into the margin but not beyond the margin's edge.
Together: The poem
Then continues
As before.
Together: