Aedh Wishes for the Cloths of Heaven
by W. B. Yeats
Had I the heavens’ embroidered cloths,
Enwrought with golden and silver light,
The blue and the dim and the dark cloths
Of night and light and the half light,
I would spread the cloths under your feet:
But I, being poor, have only my dreams;
I have spread my dreams under your feet;
Tread softly because you tread on my dreams.
This is a poetry formatting component by carolynn w.
How to use:
1. Place [[include :wanderers-library:component:poem]] at the top of your article
2. Begin a poem with [[div class="poem"]] or a prose poem with [[div class="prosepoem"]]
3. Write your poem.
3.1. Separate each line with two line breaks (i.e. one extra blank line).
This is the correct way
to make two separate lines.This way will
not work correctly.3.2. Use lines of four @s to separate stanzas.
This is the first stanza.
It has two lines.
@@@@
@@@@
This is the second stanza.
It also has two lines.3.3. Use two pairs of @@ to preserve long stretches of whitespace (for indentation or otherwise).
This is not indented.
@@ @@This is indented by five spaces.
These words will be far apart from @@ @@ these words.4. Finish the poem with [[/div]]
Optional Parameters
This component has optional parameters. These are their default settings:
[[include :wanderers-library:component:poem
| pad = 5%
| fonturl = https://occnie.com/fonts/DuffnerEBGaramond.css
| fontname = Duffner EB Garamond
| headerfont = EB Garamond
| wrap = wrap]]
These parameters are
- pad, which adjusts the padding under poems. (I tend to adjust this to 20% when an article's body solely consists of a single poem, and 10% can look nice for a series of multiple poems; either way lets the endings of poems breathe a bit more.)
- fonturl and fontname, which allow for users to select a custom font for poems, and optionally a CSS stylesheet from which to import the font (such as Google Fonts). The default is Georg Duffner's most recent revision of EB Garamond which I host myself. The Octavio Pardo version of EB Garamond hosted by Google Fonts is selected as a fallback font in all cases.
- headerfont selects a separate font for poem titles and by-lines. Pardo's EB Garamond is used by default because it can be bolded.
- wrap, which sets how poems respond to overflow. Set to nowrap if you don't want poems to wrap on smaller screens; this will result in the poem div becoming scrollable. Does not apply to prosepoem divs.
This component…
- …enables using @@ to encase whitespace at the start of lines as indentation
- …switches font to EB Garamond, an open-source and high-quality literary font appropriate to the poetry medium
- …adds some extra horizontal padding (that disappears at smaller screen sizes) and vertical padding to provide space for the poem. Again, use the pad parameter to adjust for your purposes
- …makes divs with the poem class wrap on small-width screens, with a small 1em indent to indicate the continuing line. Can look messy and ugly in poems that use indentation or really require a particular shape, so feel free to use the wrap parameter to turn this behavior off
- …only affects stuff in poem and prosepoem divs, allowing you to embed poems in other works
- …is open for all to use for any poetry they would like to share!
