Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
docutils.utils.math.math2html.FormulaConfig Class Reference

Static Public Attributes

dict alphacommands
 
dict array
 
dict bigbrackets
 
dict bracketcommands
 
dict combiningfunctions
 
dict commands
 
dict cmddict = {}
 
dict oversetfunctions
 
dict undersetfunctions
 
dict endings
 
dict environments
 
dict fontfunctions
 
dict hybridfunctions
 
dict hybridsizes
 
dict labelfunctions
 
dict limitcommands
 
dict modified
 
dict onefunctions
 
dict spacedcommands
 
dict starts
 
dict symbolfunctions
 
dict textfunctions
 
dict unmodified
 

Member Data Documentation

◆ alphacommands

dict docutils.utils.math.math2html.FormulaConfig.alphacommands
static
Initial value:
= {
'\\AmS': '<span class="textsc">AmS</span>',
'\\AA': 'Å',
'\\AE': 'Æ',
'\\DH': 'Ð',
'\\L': 'Ł',
'\\O': 'Ø',
'\\OE': 'Œ',
'\\TH': 'Þ',
'\\aa': 'å',
'\\ae': 'æ',
'\\dh': 'ð',
'\\i': 'ı',
'\\j': 'ȷ',
'\\l': 'ł',
'\\o': 'ø',
'\\oe': 'œ',
'\\ss': 'ß',
'\\th': 'þ',
'\\hbar': 'ħ', # cf. \hslash: ℏ in tex2unichar
}

◆ array

dict docutils.utils.math.math2html.FormulaConfig.array
static
Initial value:
= {
'begin': r'\begin',
'cellseparator': '&',
'end': r'\end',
'rowseparator': r'\\',
}

◆ bigbrackets

dict docutils.utils.math.math2html.FormulaConfig.bigbrackets
static
Initial value:
= {'(': ['⎛', '⎜', '⎝'],
')': ['⎞', '⎟', '⎠'],
'[': ['⎡', '⎢', '⎣'],
']': ['⎤', '⎥', '⎦'],
'{': ['⎧', '⎪', '⎨', '⎩'],
'}': ['⎫', '⎪', '⎬', '⎭'],
# TODO: 2-row brackets with ⎰⎱ (\lmoustache \rmoustache)
'|': ['|'], # 007C VERTICAL LINE
# '|': ['⎮'], # 23AE INTEGRAL EXTENSION
# '|': ['⎪'], # 23AA CURLY BRACKET EXTENSION
'‖': ['‖'], # 2016 DOUBLE VERTICAL LINE
# '∥': ['∥'], # 2225 PARALLEL TO
}

◆ bracketcommands

dict docutils.utils.math.math2html.FormulaConfig.bracketcommands
static
Initial value:
= {
'\\left': 'span class="stretchy"',
'\\left.': '<span class="leftdot"></span>',
'\\middle': 'span class="stretchy"',
'\\right': 'span class="stretchy"',
'\\right.': '<span class="rightdot"></span>',
}

◆ combiningfunctions

dict docutils.utils.math.math2html.FormulaConfig.combiningfunctions
static
Initial value:
= {
"\\'": '\u0301', # x́
'\\"': '\u0308', # ẍ
'\\^': '\u0302', # x̂
'\\`': '\u0300', # x̀
'\\~': '\u0303', # x̃
'\\c': '\u0327', # x̧
'\\r': '\u030a', # x̊
'\\s': '\u0329', # x̩
'\\textcircled': '\u20dd', # x⃝
'\\textsubring': '\u0325', # x̥
'\\v': '\u030c', # x̌
}

◆ endings

dict docutils.utils.math.math2html.FormulaConfig.endings
static
Initial value:
= {
'bracket': '}',
'complex': '\\]',
'endafter': '}',
'endbefore': '\\end{',
'squarebracket': ']',
}

◆ environments

dict docutils.utils.math.math2html.FormulaConfig.environments
static
Initial value:
= {
'align': ['r', 'l'],
'eqnarray': ['r', 'c', 'l'],
'gathered': ['l', 'l'],
'smallmatrix': ['c', 'c'],
}

◆ fontfunctions

dict docutils.utils.math.math2html.FormulaConfig.fontfunctions
static
Initial value:
= {
'\\boldsymbol': 'b', '\\mathbb': 'span class="blackboard"',
'\\mathbb{A}': '𝔸', '\\mathbb{B}': '𝔹', '\\mathbb{C}': 'ℂ',
'\\mathbb{D}': '𝔻', '\\mathbb{E}': '𝔼', '\\mathbb{F}': '𝔽',
'\\mathbb{G}': '𝔾', '\\mathbb{H}': 'ℍ', '\\mathbb{J}': '𝕁',
'\\mathbb{K}': '𝕂', '\\mathbb{L}': '𝕃', '\\mathbb{N}': 'ℕ',
'\\mathbb{O}': '𝕆', '\\mathbb{P}': 'ℙ', '\\mathbb{Q}': 'ℚ',
'\\mathbb{R}': 'ℝ', '\\mathbb{S}': '𝕊', '\\mathbb{T}': '𝕋',
'\\mathbb{W}': '𝕎', '\\mathbb{Z}': 'ℤ', '\\mathbf': 'b',
'\\mathcal': 'span class="scriptfont"',
'\\mathcal{B}': 'ℬ', '\\mathcal{E}': 'ℰ', '\\mathcal{F}':
'ℱ', '\\mathcal{H}': 'ℋ', '\\mathcal{I}': 'ℐ',
'\\mathcal{L}': 'ℒ', '\\mathcal{M}': 'ℳ', '\\mathcal{R}': 'ℛ',
'\\mathfrak': 'span class="fraktur"',
'\\mathfrak{C}': 'ℭ', '\\mathfrak{F}': '𝔉', '\\mathfrak{H}': 'ℌ',
'\\mathfrak{I}': 'ℑ', '\\mathfrak{R}': 'ℜ', '\\mathfrak{Z}': 'ℨ',
'\\mathit': 'i',
'\\mathring{A}': 'Å', '\\mathring{U}': 'Ů',
'\\mathring{a}': 'å', '\\mathring{u}': 'ů', '\\mathring{w}': 'ẘ',
'\\mathring{y}': 'ẙ',
'\\mathrm': 'span class="mathrm"',
'\\mathscr': 'span class="mathscr"',
'\\mathscr{B}': 'ℬ', '\\mathscr{E}': 'ℰ', '\\mathscr{F}': 'ℱ',
'\\mathscr{H}': 'ℋ', '\\mathscr{I}': 'ℐ', '\\mathscr{L}': 'ℒ',
'\\mathscr{M}': 'ℳ', '\\mathscr{R}': 'ℛ',
'\\mathsf': 'span class="mathsf"',
'\\mathtt': 'span class="mathtt"',
'\\operatorname': 'span class="mathrm"',
}

◆ hybridsizes

dict docutils.utils.math.math2html.FormulaConfig.hybridsizes
static
Initial value:
= {
'\\binom': '$1+$2', '\\cfrac': '$1+$2', '\\dbinom': '$1+$2+1',
'\\dfrac': '$1+$2', '\\frac': '$1+$2', '\\tbinom': '$1+$2+1',
}

◆ labelfunctions

dict docutils.utils.math.math2html.FormulaConfig.labelfunctions
static
Initial value:
= {
'\\label': 'a name="#"',
}

◆ modified

dict docutils.utils.math.math2html.FormulaConfig.modified
static
Initial value:
= {
'\n': '', ' ': '', '$': '', '&': ' ', '\'': '’', '+': '\u2009+\u2009',
',': ',\u2009', '-': '\u2009−\u2009', '/': '\u2009⁄\u2009', ':': ' : ', '<': '\u2009&lt;\u2009',
'=': '\u2009=\u2009', '>': '\u2009&gt;\u2009', '@': '', '~': '\u00a0',
}

◆ onefunctions

dict docutils.utils.math.math2html.FormulaConfig.onefunctions
static
Initial value:
= {
'\\big': 'span class="bigdelimiter size1"',
'\\bigl': 'span class="bigdelimiter size1"',
'\\bigr': 'span class="bigdelimiter size1"',
'\\Big': 'span class="bigdelimiter size2"',
'\\Bigl': 'span class="bigdelimiter size2"',
'\\Bigr': 'span class="bigdelimiter size2"',
'\\bigg': 'span class="bigdelimiter size3"',
'\\biggl': 'span class="bigdelimiter size3"',
'\\biggr': 'span class="bigdelimiter size3"',
'\\Bigg': 'span class="bigdelimiter size4"',
'\\Biggl': 'span class="bigdelimiter size4"',
'\\Biggr': 'span class="bigdelimiter size4"',
# '\\bar': 'span class="bar"',
'\\begin{array}': 'span class="arraydef"',
'\\centering': 'span class="align-center"',
'\\ensuremath': 'span class="ensuremath"',
'\\hphantom': 'span class="phantom"',
'\\noindent': 'span class="noindent"',
'\\overbrace': 'span class="overbrace"',
'\\overline': 'span class="overline"',
'\\phantom': 'span class="phantom"',
'\\underbrace': 'span class="underbrace"',
'\\underline': '',
'\\vphantom': 'span class="phantom"',
}

◆ oversetfunctions

dict docutils.utils.math.math2html.FormulaConfig.oversetfunctions
static
Initial value:
= {
# math accents (cf. combiningfunctions)
# '\\acute': '´',
'\\bar': '‒', # FIGURE DASH
# '\\breve': '˘',
# '\\check': 'ˇ',
'\\dddot': '<span class="smallsymbol">⋯</span>',
# '\\ddot': '··', # ¨ too high
# '\\dot': '·',
# '\\grave': '`',
# '\\hat': '^',
# '\\mathring': '˚',
# '\\tilde': '~',
'\\vec': '<span class="smallsymbol">→</span>',
# embellishments
'\\overleftarrow': '⟵',
'\\overleftrightarrow': '⟷',
'\\overrightarrow': '⟶',
'\\widehat': '^',
'\\widetilde': '~',
}

◆ spacedcommands

dict docutils.utils.math.math2html.FormulaConfig.spacedcommands
static
Initial value:
= {
# negated symbols without pre-composed Unicode character
'\\nleqq': '\u2266\u0338', # ≦̸
'\\ngeqq': '\u2267\u0338', # ≧̸
'\\nleqslant': '\u2a7d\u0338', # ⩽̸
'\\ngeqslant': '\u2a7e\u0338', # ⩾̸
'\\nsubseteqq': '\u2AC5\u0338', # ⫅̸
'\\nsupseteqq': '\u2AC6\u0338', # ⫆̸
'\\nsqsubset': '\u2276\u228F', # ⊏̸
# modified glyphs
'\\shortmid': '<span class="smallsymbol">∣</span>',
'\\shortparallel': '<span class="smallsymbol">∥</span>',
'\\nshortmid': '<span class="smallsymbol">∤</span>',
'\\nshortparallel': '<span class="smallsymbol">∦</span>',
'\\smallfrown': '<span class="smallsymbol">⌢</span>',
'\\smallsmile': '<span class="smallsymbol">⌣</span>',
'\\thickapprox': '<span class="boldsymbol">≈</span>',
'\\thicksim': '<span class="boldsymbol">∼</span>',
'\\varpropto': '<span class="mathsf">\u221d</span>', # ∝ PROPORTIONAL TO
}

◆ starts

dict docutils.utils.math.math2html.FormulaConfig.starts
static
Initial value:
= {
'beginafter': '}', 'beginbefore': '\\begin{', 'bracket': '{',
'command': '\\', 'comment': '%', 'complex': '\\[', 'simple': '$',
'squarebracket': '[', 'unnumbered': '*',
}

◆ symbolfunctions

dict docutils.utils.math.math2html.FormulaConfig.symbolfunctions
static
Initial value:
= {
'^': 'sup', '_': 'sub',
}

◆ textfunctions

dict docutils.utils.math.math2html.FormulaConfig.textfunctions
static
Initial value:
= {
'\\mbox': 'span class="mbox"',
'\\text': 'span class="text"',
'\\textbf': 'span class="textbf"',
'\\textit': 'span class="textit"',
'\\textnormal': 'span class="textnormal"',
'\\textrm': 'span class="textrm"',
'\\textsc': 'span class="textsc"',
'\\textsf': 'span class="textsf"',
'\\textsl': 'span class="textsl"',
'\\texttt': 'span class="texttt"',
'\\textup': 'span class="normal"',
}

◆ undersetfunctions

dict docutils.utils.math.math2html.FormulaConfig.undersetfunctions
static
Initial value:
= {
'\\underleftarrow': '⟵',
'\\underleftrightarrow': '⟷',
'\\underrightarrow': '⟶',
}

◆ unmodified

dict docutils.utils.math.math2html.FormulaConfig.unmodified
static
Initial value:
= {
'characters': ['.', '*', '€', '(', ')', '[', ']',
'·', '!', ';', '|', '§', '"', '?'],
}

The documentation for this class was generated from the following file: