Changeset 2778 in lmdz_wrf for trunk/tools
- Timestamp:
- Dec 1, 2019, 7:13:48 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/generic_tools.py
r2759 r2778 11059 11059 'â¥': '$\\geq$', '~': '$\sim$', '±': '$\\pm$', 'µ': '$\\mu$', 'Ï': '$\\sigma$'} 11060 11060 11061 # FROM: https://www.rapidtables.com/code/text/unicode-characters.html 11062 unichars = {#'\\': '\\textbackslash', \ 11063 'á': unichr(225), 'é': unichr(233), 'Ã': unichr(237), 'ó': unichr(243), 'ú': unichr(250), \ 11064 'Ä': "\\'c", 'ǵ': "\\'g", 'áž±': "\\'k", 'ĺ': "\\'l", 'áž¿': "\\'m", 'Å': "\\'n", \ 11065 'á¹': "\\'p", 'Å': "\\'r", 'Å': "\\'s", 'áº': "\\'w", 'Ãœ': "\\'y", 'ź': "\\'z", \ 11066 'à ': unichr(224), 'Ú': unichr(232), 'ì': unichr(236), 'ò': unichr(242), 'ù': unichr(249), \ 11067 'ǹ': "\\`n", 'áº': "\\`w", 'ỳ': "\\`y", \ 11068 'â': "\\^a", 'ê': "\\^e", 'î': "\\^i", 'ÃŽ': "\\^o", 'û': "\\^u", \ 11069 'Ä': "\\^c", 'Ä': "\\^g", 'Ä¥': "\\^h", 'ĵ': "\\^j", 'Å': "\\^s", 'ŵ': "\\^w", \ 11070 'Å·': "\\^y", 'áº': "\\^z", \ 11071 'À': '\\"a', 'ë': '\\"e', 'ï': '\\"i', 'ö': '\\"o', 'ÃŒ': '\\"u', \ 11072 'ឧ': '\\"h', 'áº': '\\"t', 'Ạ11073 ': '\\"w', 'áº': '\\"x', 'ÿ': '\\"y', \ 11074 'Ä': '\\u{a}', 'Ä': '\\u{e}', 'Ä': '\\u{i}', 'Å': '\\u{o}', 'Å': '\\u{u}', \ 11075 'Ä': '\\u{g}', \ 11076 'ı': '{\\i}', 'Ä°': '\\.{I}', \ 11077 'Ç': '\\v{a}', 'Ä': '\\v{e}', 'Ç': '\\v{i}', 'Ç': '\\v{o}', 'Ç': '\\v{u}', \ 11078 'Ä': '\\v{c}', 'Ä': '\\v{d}', 'ǧ': '\\v{g}', 'È': '\\v{h}', 'Ç°': '\\v{j}', \ 11079 'Ç©': '\\v{k}', 'ÄŸ': '\\v{l}', 'Å': '\\v{n}', 'Å': '\\v{r}', 'Å¡': '\\v{s}', \ 11080 'Å¥': '\\v{t}', 'ÅŸ': '\\v{z}', \ 11081 'Ã¥': '\\a{}', 'ů': '\\r{u}', 'áº': '\\r{w}', 'áº': '\\r{y}', \ 11082 'ã': '\\~{a}', 'ẜ': '\\~{e}', 'Ä©': '\\~{i}', 'õ': '\\~{o}', 'Å©': '\\~{u}', \ 11083 'ñ': '\\~{n}', 'Ṝ': '\\~{v}', 'ỹ': '\\~{y}', \ 11084 'ç': '\\c{c}', 'áž': '\\c{d}', 'È©': '\\c{e}', 'Ä£': '\\c{g}', 'áž©': '\\c{h}', \ 11085 'Ä·': '\\c{k}', 'ÄŒ': '\\c{l}', 'Å': '\\c{n}', 'Å': '\\c{r}', 'Å': '\\c{s}', \ 11086 'Å£': '\\c{t}', \ 11087 'Å': '\\l{}', 'Þ': '\\o{}', 'Ä': '\\dj{}', 'Ã': '\\ss{}', \ 11088 'Ê': '\\ae{}', 'Å': '\\oe{}', \ 11089 'Ã': "\\'A", 'Ã': "\\'E", 'Ã': "\\'I", 'Ã': "\\'O", 'Ã': "\\'U", \ 11090 'Ä': "\\'C", 'ÇŽ': "\\'G", 'áž°': "\\'K", 'Ĺ': "\\'L", 'ស': "\\'M", 'Å': "\\'N", \ 11091 'á¹': "\\'P", 'Å': "\\'R", 'Å': "\\'S", 'áº': "\\'W", 'Ã': "\\'Y", 'Ź': "\\'Z", \ 11092 'Ã': "\\`A", 'Ã': "\\`E", 'Ã': "\\`I", 'Ã': "\\`O", 'Ã': "\\`U", \ 11093 'Çž': "\\`N", 'áº': "\\`W", 'Ỳ': "\\`Y", \ 11094 'Ã': "\\^A", 'Ã': "\\^E", 'Ã': "\\^I", 'Ã': "\\^O", 'Ã': "\\^U", \ 11095 'Ä': "\\^C", 'Ä': "\\^G", 'Ä€': "\\^H", 'ÄŽ': "\\^J", 'Å': "\\^S", 'ÅŽ': "\\^W", \ 11096 'Ŷ': "\\^Y", 'áº': "\\^Z", \ 11097 'Ã': '\\"A', 'Ã': '\\"E', 'Ã': '\\"I', 'Ã': '\\"O', 'Ã': '\\"U', \ 11098 'ដ': '\\"H', 'áº': '\\"W', 'áº': '\\"X', 'Åž': '\\"Y', \ 11099 'Ä': '\\u{A}', 'Ä': '\\u{E}', 'Ĭ': '\\u{I}', 'Å': '\\u{O}', 'Ŭ': '\\u{U}', \ 11100 'Ä': '\\u{G}', 'Åœ': '\\u{Z}', \ 11101 'Ç': '\\v{A}', 'Ä': '\\v{E}', 'Ç': '\\v{I}', 'Ç': '\\v{O}', 'Ç': '\\v{U}', \ 11102 'Ä': '\\v{C}', 'Ä': '\\v{D}', 'ÇŠ': '\\v{G}', 'È': '\\v{H}', 'Çš': '\\v{K}', \ 11103 'Äœ': '\\v{L}', 'Å': '\\v{N}', 'Å': '\\v{R}', 'Å ': '\\v{S}', 'Å€': '\\v{T}', \ 11104 'Åœ': '\\v{Z}', \ 11105 'à 11106 ': '\\AA{}', 'Å®': '\\r{U}', \ 11107 'Ã': '\\~{A}', 'Ẍ': '\\~{E}', 'Äš': '\\~{I}', 'Ã': '\\~{O}', 'Åš': '\\~{U}', \ 11108 'Ã': '\\~{N}', 'Ṍ': '\\~{V}', 'Ở': '\\~{Y}', \ 11109 'Ã': '\\c{C}', 'áž': '\\c{D}', 'Èš': '\\c{E}', 'Ä¢': '\\c{G}', 'ážš': '\\c{H}', \ 11110 'Ķ': '\\c{K}', 'Ä»': '\\c{L}', 'Å 11111 ': '\\c{N}', 'Å': '\\c{R}', 'Å': '\\c{S}', \ 11112 'Å¢': '\\c{T}', \ 11113 'Å': '\\L{}', 'Ã': '\\O{}', 'Ä': '\\DJ{}', \ 11114 'Ã': '\\AE{}', 'Å': '\\OE{}', \ 11115 # '¡': '!`, '¿': '¿`' 11116 '¡': '\\textexclamdown', '¿': '\\textquestiondown', \ 11117 '%': '\\%', '#': '\\#', '&': '\\&', '$': '\\$', 'â': '-', \ 11118 '_': '\\_', 'â': '--', '·': '\\textperiodcentered{}', '|': '\\textbar{}', \ 11119 '<': '\\textless', '>': '\\textgreater', \ 11120 'ï': '*', 'ª': '\\textordfeminine{}', 'º': '\\textordmasculine{}', \ 11121 '°': '$^{\\circ}$', '²': '$^{2}$', \ 11122 '\n': '\\\\\n', '\t': '\\medskip', 'âŠ': '...', \ 11123 'â': '\\textquotedblleft{}', 'â': '\\textquotedblright{}', \ 11124 '^': '\^{}', 'â': "'", 'â¢_x0001_': '\n$bullet$', 'â¢': '$\\bullet$', \ 11125 'â¥': '$\\geq$', '~': '$\sim$', '±': '$\\pm$', 'µ': '$\\mu$', 'Ï': '$\\sigma$'} 11126 11061 11127 if to == 'tex': 11062 11128 chars = texchars
Note: See TracChangeset
for help on using the changeset viewer.