Hello.
I've looked, but I can't seem to find the answer anywhere, and when I try something, I have results I didn't plan on. Long story short, for an English class at UNLV my group is utilizing Allen Ginsberg's 1956 poem, "America." No matter what (so far), I cannot replicate his format. For example:
"The Russia wants to eat us alive. The Russia's power made. She
wants to take our cars from out our garages."
There are several passages like this, including 2-3 indented lines below the original line. But I cannot figure out how to indent a line or several lines in Twine.
Thanks.
Stan
Comments
If you wrap each paragraph of the poem within a HTML p element like so: ... then you can use CSS like the following to indent all lines (excluding the first) of the paragraph. The CSS needs to be place in your Story Stylesheet area.
a. Harlowe b. SugarCube 1.x
You can then insert more of the No-Break Space as needed inside the <<print>>, to indent the text.
Using 25 of the Non-Break spaces within a <<print>>, I got this
It sure as heck is a round-about way of indentation, but does work for precise work.
You can write the Non-Break Spaces directly into the text, but I found incapsulating them into a <<print>> statement worked better for managing what is normal-spaced, and what is not. Output will be the same though.
I'd recommend against adding any raw invisibles which aren't normal spaces or line breaks. Tracking them down, should they escape, is a pain in the arse. If anyone was inclined to do it this way, I'd suggest using one of the NBSP's character escapes, '\xA0' or '\u00A0'. For example:
Better yet, simply use the NBSP HTML character entity reference, . For example:
You don't explain how you were making some of the lettering red but Harlowe does have a (colour:) macro which can be used to do this. ... note: I left out the whitespace needed to align the second line correctly below the first.
I was making selected portions of the poem red by using:
<span style="color:red;">Wellll, it depends on who's sitting in the Big White House.<pre>...remaining text including the format of having succeeding lines being indented....</span>
One of the other students looking at the current situatino discovered that making the change of adding the color again after the initial <pre> converted the following sentences back to red:
<span style="color:red;">Wellll, it depends on who's sitting in the Big White House.<pre><span style="color:red;">...remaining text including the format of having succeeding lines being indented....</span>
Like I said previously, I hope, the project is looking at Alan Ginsberg's poem "America" and relating it to today. In my section his lines are in black and in whatever default font and size that Twine uses, while my "response" to his lines are in red. And used to be the same size and font, but now appears to be Times New Roman and smaller than the Twine default font and size.
Ah well, such is life.
Thanks.
Stan