Enrico Forestieri
f251e01892
Fix bug #8305 : ^ symbol does not render into upward arrow when using mhchem
...
The mhchem package treats the caret both as a shorthand for \uparrow or
as a superscript operator according to whether it is surrounded by
spaces or not. The \ce and \cf insets allow inserting spaces but there
is no provision for inserting a space after the caret, which is always
considered by LyX as a superscript operator. The solution here is to
insert a space after the caret if the superscript is empty or an empty
brace inset.
Mathed does not allow empty superscripts, so an empty brace has to be
inserted when working in LyX. On the other hand, when importing latex
code, an empty superscript is retained.
This has no effect whatsoever for normal latex code, as a space after
the caret is ignored. In any case, the output is only changed if an
empty brace inset is used as superscript. Specifically, the output is
changed from "^{{}}" to "^ {}".
2012-08-21 01:30:51 +02:00
..
2009-10-06 14:26:18 +00:00
2011-05-10 17:44:41 +00:00
2010-08-24 03:07:09 +00:00
2009-11-08 11:45:46 +00:00
2011-02-10 20:02:48 +00:00
2011-01-29 02:41:13 +00:00
2011-03-28 22:33:04 +00:00
2011-03-28 22:33:04 +00:00
2010-04-09 19:00:42 +00:00
2010-07-29 14:29:54 +00:00
2012-05-28 22:42:44 +02:00
2009-11-08 11:45:46 +00:00
2011-12-06 22:17:13 +00:00
2010-03-30 02:04:07 +00:00
2010-03-30 02:05:49 +00:00
2010-03-30 02:05:49 +00:00
2012-05-03 16:35:45 +02:00
2010-03-30 02:37:05 +00:00
2012-05-03 16:36:19 +02:00
2010-03-30 02:40:32 +00:00
2012-02-06 22:38:46 +00:00
2012-02-06 22:38:46 +00:00
2012-01-23 01:49:49 +00:00
2012-01-23 01:49:49 +00:00
2011-12-06 22:17:13 +00:00
2010-03-30 02:57:05 +00:00
2012-04-30 12:58:32 +02:00
2010-03-29 23:03:37 +00:00
2009-11-08 11:45:46 +00:00
2010-03-30 17:24:22 +00:00
2010-06-09 17:02:55 +00:00
2010-03-30 17:24:22 +00:00
2011-12-06 22:17:13 +00:00
2010-03-31 01:09:38 +00:00
2010-03-30 22:07:05 +00:00
2010-03-30 22:07:05 +00:00
2010-09-19 22:12:06 +00:00
2011-02-13 10:02:00 +00:00
2009-12-31 21:09:28 +00:00
2009-12-31 21:09:28 +00:00
2010-03-30 22:14:00 +00:00
2010-03-30 22:14:00 +00:00
2011-12-06 22:17:13 +00:00
2011-04-01 22:34:40 +00:00
2009-11-08 11:45:46 +00:00
2009-11-08 11:45:46 +00:00
2012-05-03 16:35:45 +02:00
2010-03-31 21:02:10 +00:00
2010-03-30 22:51:02 +00:00
2010-03-30 22:51:02 +00:00
2011-12-06 22:17:13 +00:00
2010-03-31 18:57:47 +00:00
2010-08-14 17:57:06 +00:00
2010-08-14 17:57:06 +00:00
2011-12-06 22:17:13 +00:00
2010-03-31 21:33:33 +00:00
2012-04-17 22:21:45 +02:00
2012-03-25 11:16:32 +02:00
2012-01-03 20:51:07 +00:00
2011-10-29 14:48:55 +00:00
2009-12-31 15:46:39 +00:00
2010-03-31 18:59:04 +00:00
2009-11-08 11:45:46 +00:00
2009-11-08 11:45:46 +00:00
2010-01-21 21:01:51 +00:00
2010-01-21 21:01:51 +00:00
2010-03-31 19:59:09 +00:00
2010-03-31 19:17:06 +00:00
2011-04-01 22:34:40 +00:00
2011-02-10 22:57:41 +00:00
2012-05-28 22:42:44 +02:00
2012-03-25 11:16:32 +02:00
2011-04-01 22:34:40 +00:00
2010-03-30 01:23:10 +00:00
2011-12-06 22:17:13 +00:00
2010-03-31 20:04:39 +00:00
2009-11-08 11:45:46 +00:00
2009-11-08 11:45:46 +00:00
2012-01-08 12:34:12 +00:00
2012-01-08 12:34:12 +00:00
2010-12-08 09:24:04 +00:00
2010-10-29 00:42:40 +00:00
2011-12-06 22:17:13 +00:00
2010-03-31 20:31:04 +00:00
2012-08-21 01:30:51 +02:00
2012-02-02 13:39:05 +00:00
2011-12-06 22:17:13 +00:00
2010-03-31 20:37:23 +00:00
2011-10-29 14:48:55 +00:00
2011-10-29 14:48:55 +00:00
2011-10-23 20:19:49 +00:00
2010-10-31 14:39:50 +00:00
2012-01-05 20:53:48 +00:00
2010-03-31 20:50:29 +00:00
2011-12-06 22:17:13 +00:00
2010-03-31 20:31:04 +00:00
2011-12-06 22:17:13 +00:00
2010-03-31 20:54:27 +00:00
2012-03-25 15:57:38 +02:00
2009-12-31 15:46:39 +00:00
2011-12-06 22:17:13 +00:00
2011-04-01 23:41:17 +00:00
2011-12-06 22:17:13 +00:00
2010-03-30 22:51:02 +00:00
2009-11-08 11:45:46 +00:00
2009-11-08 11:45:46 +00:00
2011-12-06 22:17:13 +00:00
2010-03-31 20:12:52 +00:00
2012-05-03 16:35:45 +02:00
2010-07-29 15:48:01 +00:00
2011-12-06 22:17:13 +00:00
2010-07-29 15:44:17 +00:00
2010-07-29 15:46:26 +00:00
2011-02-13 10:02:00 +00:00
2010-07-29 15:38:01 +00:00
2011-02-13 10:02:00 +00:00
2010-02-08 17:39:55 +00:00
2010-02-08 17:39:55 +00:00
2010-10-26 16:45:21 +00:00
2010-10-26 16:45:21 +00:00
2009-02-08 01:21:54 +00:00
2009-02-08 01:21:54 +00:00
2012-05-03 16:36:19 +02:00
2011-05-07 11:57:08 +00:00
2011-04-01 22:34:40 +00:00
2010-03-29 22:52:13 +00:00
2012-01-23 01:49:49 +00:00
2009-11-08 11:45:46 +00:00
2008-11-14 15:58:50 +00:00
2011-05-07 11:57:08 +00:00
2011-05-07 11:57:08 +00:00
2012-05-03 16:35:45 +02:00
2009-07-16 19:00:24 +00:00
2011-10-29 14:48:55 +00:00
2011-10-29 14:48:55 +00:00
2009-11-08 18:47:33 +00:00
2012-05-06 16:48:44 +02:00
2009-11-08 11:45:46 +00:00
2011-04-01 22:34:40 +00:00
2011-04-01 22:34:40 +00:00
2012-05-03 16:36:19 +02:00
2012-05-03 17:58:02 +02:00
2008-11-14 15:58:50 +00:00
2008-11-14 15:58:50 +00:00
2008-11-14 15:58:50 +00:00