eelbrain.fmtxt.FMText¶
-
class
eelbrain.fmtxt.
FMText
(content=None, tag=None, options=None)¶ List of
FMTextElement
items- Parameters
Notes
The
property
argument is primarily used for TeX commands; for example,txt = FMText('Brie', r'\textbf')
will result in the following TeX representation: r”textbf{Brie}”. Some properties are automatically translated into HTML; thus, the HTML representation oftxt
would be “<b>Brie</b>”. The following are additional proprties that don’t exist in TeX:- ‘paragraph’
A <p> tag in HTML, and simple line breaks in TeX.
Methods¶
|
Append content to the FMText item |
|
Copy PDF to clipboard |
|
Copy TeX to clipboard |
|
Complete HTML representation |
|
|
|
String representation |
|
TeX representation |
|
Save in HTML format |
|
Save in PDF format |
|
Save in Rich Text format |
|
Save in TeX format |
|
Save as plain text file |