| 1 |
from parades import * |
| 2 |
|
| 3 |
add_style(ParagraphOptions(stylecmd='UseParaDefault', |
| 4 |
fontsize='10pt', baseline='12pt plus.5pt minus.5pt', |
| 5 |
)) |
| 6 |
|
| 7 |
add_style(ParagraphOptions(cmd='paracmd', env='para', |
| 8 |
space_above='10pt plus1pt minus1pt', |
| 9 |
)) |
| 10 |
|
| 11 |
head_i = add_style(ParagraphOptions(cmd='HeadI', |
| 12 |
space_above='20pt', space_below='20pt', |
| 13 |
fontsize='12pt', baseline='14pt', fontcmd=r'\fontseries{b}\selectfont', |
| 14 |
afterpar='\\nobreak', |
| 15 |
)) |
| 16 |
|
| 17 |
add_style(ParagraphOptions(cmd='HeadII', |
| 18 |
parent=head_i, |
| 19 |
space_above='15pt', space_below='15pt', |
| 20 |
fontsize='11pt', baseline='13pt', |
| 21 |
)) |
| 22 |
|
| 23 |
add_style(ParagraphOptions(env='udhrlist', cmd='UseParaUdhrList', |
| 24 |
space_above='10pt plus1pt minus1pt', |
| 25 |
space_below='10pt plus1pt minus1pt', |
| 26 |
)) |
| 27 |
|
| 28 |
add_style(ParagraphOptions(cmd='listitem', |
| 29 |
moresetup='\\interlinepenalty=150\\relax', |
| 30 |
space_above='8pt', |
| 31 |
boxes=(('0cm', '0.5cm'),), leftskip='0.5cm')) |
| 32 |
|
| 33 |
main('paras') |