Attempt superscript without affecting line spacing

This commit is contained in:
Jonathan Corwin 2011-03-27 23:28:20 +01:00
parent 2edfbd9223
commit 1e973c6c8d
1 changed files with 3 additions and 2 deletions

View File

@ -65,8 +65,9 @@ base_html_expands.append({u'desc': u'White', u'start tag': u'{w}',
u'start html': u'<span style="-webkit-text-fill-color:white">',
u'end tag': u'{/w}', u'end html': u'</span>', u'protected': True})
base_html_expands.append({u'desc': u'Superscript', u'start tag': u'{su}',
u'start html': u'<sup>', u'end tag': u'{/su}', u'end html': u'</sup>',
u'protected': True})
u'start html': u'<span style=" font-size:0.6em; vertical-align:top;'
+ u' position:relative; top:-0.3em;">', u'end tag': u'{/su}',
u'end html': u'</span>', u'protected': True})
base_html_expands.append({u'desc': u'Subscript', u'start tag': u'{sb}',
u'start html': u'<sub>', u'end tag': u'{/sb}', u'end html': u'</sub>',
u'protected': True})