mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 22:06:15 +00:00
Fix output of \lightning in math mode.
The \lightning symbol is text mode only. Hence, for using it in mathed, it must be inserted in a text mode environment such as \mbox, \text, etc. However, as it is not marked as textmode, LyX "helpfully" encloses it in \ensuremath everytime one tries to put it in a text mode environment, thus defying the countermeasure. By declaring it textmode only, LyX stops doing that and thus it can be correctly output by simply selecting it and hitting Ctrl-M.
This commit is contained in:
parent
d9971802c2
commit
0fc9b08e4d
@ -674,7 +674,7 @@ currency wasy 27 0 textmode ¤ wasysym # works in text
|
||||
phone wasy 7 0 textmode ☎ wasysym # works in text mode only (produces \Upsilon in math mode)
|
||||
recorder wasy 6 0 textmode ⌕ wasysym # works in text mode only (produces \Sigma in math mode)
|
||||
clock wasy 28 0 textmode &clock; wasysym # works in text mode only (produces \o in math mode)
|
||||
lightning wasy 18 0 x ☇
|
||||
lightning wasy 18 0 textmode ☇ wasysym # works in text mode only (produces ` in math mode)
|
||||
# FIXME Display is wrong (bug 8493): qt does not display characters at the \t position (0x09)
|
||||
pointer wasy 9 0 textmode x wasysym # works in text mode only (produces \Psi in math mode)
|
||||
RIGHTarrow wasy 17 0 textmode ▶ wasysym # works in text mode only (produces \jmath in math mode)
|
||||
|
Loading…
Reference in New Issue
Block a user