Add sub/superscript in RichText
This commit is contained in:
parent
fe9a34ebbd
commit
a3b3fdfa18
10
CHANGES.rst
10
CHANGES.rst
@ -1,9 +1,13 @@
|
||||
0.5.3 (2018-09-19)
|
||||
------------------
|
||||
- Add sub/superscript in RichText
|
||||
|
||||
0.5.2 (2018-09-13)
|
||||
-------------------
|
||||
------------------
|
||||
- Fix table vertical merge
|
||||
|
||||
0.5.0 (2018-08-03)
|
||||
-------------------
|
||||
------------------
|
||||
- An hyperlink can now be used in RichText
|
||||
|
||||
0.4.13 (2018-06-21)
|
||||
@ -19,7 +23,7 @@
|
||||
- Better tabs and spaces management for MS Word 2016
|
||||
|
||||
0.4.10 (2018-05-08)
|
||||
------------------
|
||||
-------------------
|
||||
- Wheel distribution
|
||||
|
||||
0.4.9 (2018-05-08)
|
||||
|
||||
@ -5,7 +5,7 @@ Created : 2015-03-12
|
||||
@author: Eric Lapouyade
|
||||
'''
|
||||
|
||||
__version__ = '0.5.2'
|
||||
__version__ = '0.5.3'
|
||||
|
||||
from lxml import etree
|
||||
from docx import Document
|
||||
|
||||
@ -33,6 +33,10 @@ rt.add('\nFonts :\n',underline=True)
|
||||
rt.add('Arial\n',font='Arial')
|
||||
rt.add('Courier New\n',font='Courier New')
|
||||
rt.add('Times New Roman\n',font='Times New Roman')
|
||||
rt.add('\n\nHere some')
|
||||
rt.add('superscript', superscript=True)
|
||||
rt.add(' and some')
|
||||
rt.add('subscript', subscript=True)
|
||||
|
||||
context = {
|
||||
'example' : rt,
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user