/**/ body { margin-left: 10%; margin-right: 10% } /* normal indent */ p { text-indent: 2%; text-align: justify } /* hanging indent */ .p2 { text-indent: -6%; padding-left: 6%; text-align: justify } /* no indent */ .p_no_indent { text-indent: 0%; text-align: justify } /* Standard sup and sub have the same fontsize as normal text, it's only moved up or down half a line. But usually you will find sup/sub in a smaller font. Therefore these adaptations: */ sup { vertical-align: super; font-size: 50% } sub { vertical-align: sub; font-size: 50% } .standard { font-size: 100%; font-weight: normal } .indent02 { margin-left: 2%; margin-right: 10% } .indent10 { margin-left: 10%; margin-right: 10% } .indent20 { margin-left: 20%; margin-right: 10% } .indent30 { margin-left: 30%; margin-right: 10% } .indent40 { margin-left: 40%; margin-right: 10% } .indent50 { margin-left: 50%; margin-right: 10% } .indent60 { margin-left: 60%; margin-right: 10% } .fontsize60 { font-size: 60% } .fontsize80 { font-size: 80% } .fontsize110 { font-size: 110% } .fontsize133 { font-size: 133% } /* Use this to format the actual text of footnotes: */ .note_text { font-size: 80%; font-weight: normal } /* for big and small caps on one line. Usable as class in a 'span' tag around text or in the 'p'/tag */ .smallcaps { font-variant: small-caps } /* use for Transcribers Notes and such */ .notebox { margin-left: 10%; margin-right: 10%; margin-top: 5%; margin-bottom: 5%; padding: 1em; border: solid black 1px } /* For showing the original pagenumbers in the text: 1. Reset and increment a counter that is named [pagenumber]. For instance in the [body]-tag 2. Then use the class [pagenum] on the place where you want to see the pagenumber. The way the pagenumber is presented, happens with the pagenum:before. This makes the pagenumber "virtual", or: if you try to copy and paste it somewhere else, the pagenumber is NOT copied. 3. In case the pagenumber is placed inside a word, use the class [hyphen] to show a "virtual" hyphen. 4. If you want to hide the pagenumbers, change [display: inline;] in [display: none;] for the classes [pagenum] and [hyphen]. 5. If you want to jump to a pagenumber from other parts, add the [a] tag with a unique id, like this:
The last word on a page <|a><|span> and then the first word on the next page<|p>
6. If you have a blank page in the paper original that participates in the pagenumbering, and you don't want it
to appear in the e-book, you need to increment your pagenumber in the text. Do that as follows: <|span>
Of course with more than one consecutive blank page, alter the increment to the right number.
7. If you want the first pages to have roman pagenumbers, use as class "pagenum_roman".
8. Resetting can be tricky: better do a counter-increment of minus a number.
*/
.pagenum {
display: inline;
font-size: 70%;
font-style: normal;
color: gray
}
.pagenum_roman {
display: inline;
font-size: 70%;
font-style: normal
}
.pagenum:before {
counter-increment: pagenumber;
content: "[" counter(pagenumber) "]"
}
.pagenum_roman:before {
counter-increment: pagenumber;
content: "[" counter(pagenumber, upper-roman) "] "
}
.hyphen {
display: inline
}
.hyphen:before {
content: "-"
}
/* ...end of: For showing the original pagenumbers in the text.
/* To mark a correction in the text, use this class. It will put a dotted red line underneath the corrected word and
you can even display the original text in a hint when the cursor hovers above the word.
Example (replace pipe-symbol with forwardslash if you are going to use it):
This sentence contained<|span> an error.<|p>
You can hyperlink the word from the Transcriber's notes:
Example (replace pipe-symbol with forwardslash if you are going to use it):
[XXX] —> [YYY]<|a>
*/
span.corrected {
border-bottom: 1px dotted red
}
/* use for words to show extra spacing between characters
Example: