TEI Text Encoding: A FairCopy User Guide for COVE

Formatting Text with Indentations & Alignment

To modify indentation or alignment, click the p element (or any other element containing the text to be formatted) to open the Element Inspector. Type the appropriate style code into the rend field, as shown below. Multiple style codes may be used in the same rend field with a single space between codes.

List of Style Code Rend Values for Text Alignment & Indentation


Common Text Alignment

Align Right - style495
Block Quote or Epigraph (margin-left:10%; margin-right:10%) - style511

Text Alignment with Unusual Indentation

Left Aligned with Indent

text-align: left; margin-left: 10% - style499
text-align: left; margin-left: 15% - style749
text-align: left; margin-left: 20% - style967
text-align: left; margin-left: 25% - style500
text-align: left; margin-left: 27% - style501
text-align: left; margin-left: 33% - style503
text-align: left; margin-left: 37% - style910
text-align: left; margin-left: 50% - style1066

Right Aligned with Indent

text-align: right; margin-right: 10% - style927
text-align: right; margin-right: 20%; - style925
text-align: right; margin-right: 26.5% - style934
text-align: right; margin-right: 35% - style938
text-align: right; margin-right: 43% - style1024
text-align: right; margin-right: 51% - style1025

Both Margins Indented

margin-left:10%; margin-right:10% - style511
margin-left: 20%; margin-right: 20%; - style585
margin-left: 32%; margin-right: 32% - style842

Indent by Character Spaces

To indent text by a certain number of character spaces (most useful in formatting individual lines of poetry), type “indent#” into the rend field, replacing # with the number of spaces to indent. For example, “indent2” would indent a line two character spaces.

Using Caesuras

Some texts, particularly poems, have gaps or breaks between words in a single line. To reflect these gaps in your encoding, insert a caesura element, mark it as a seg, and then enter a rend value of "indent#" with the # replaced by the number of character spaces the gap should be (e.g., indent10). See step-by-step instructions below:

1. 
Insert a caesura element where you want the space to appear. Find the caesura element by clicking the Insert Inline icon in the top toolbar, then clicking Transcription, then caesura.

2. 
Next, add a space before the caesura character, and then highlight the space and the caesura element. (Note: it may appear as though only the space is highlighted, but as long as you click and drag your cursor from before the space, to the right, over the caesura icon, you will have highlighted the proper text. You will see this reflected once you mark the phrase as a seg.) Click Mark Phrase in the top toolbar, then General, then select seg to add a seg element to the highlighted space + caesura element.

3. 
Give the seg element a rend value of "indent#" with the # replaced by however many character spaces you'd like the caesura to reflect. For example, you might use "indent2" for a small space or "indent10" for a larger space.

4. 
Your end product will show spacing between words in individual lines, like in this example:.



 

Return to Text Encoding Topics Index

This page has paths:

This page references: