Commit Graph

115 Commits

Author SHA1 Message Date
Georg Baum
93be0e08a1 whitespace 2015-02-26 20:43:05 +01:00
Georg Baum
5dc9568f8d Native support for \smash[t] and \smash[b]
This is a follow-up of bug #8967. The implementation is self-explaining, the
only part which needs a comment is lyx2lyx: Since a 100% correct solution is
not possible, it has been decided not to switch amsmath off in the forward
conversion if no other ams command than \smash[t] and \smash[b] is used, but
to consider it a bug that older versions do not load amsmath automatically for
these commands. In the backward direction it is easy to keep the document
compilable, so just do that.
2014-05-27 22:13:58 +02:00
Vincent van Ravesteijn
7cda8f36b2 Update uifiles to latest fileformat 2014-03-20 22:11:13 +01:00
Uwe Stöhr
a780443338 stdtoolbars.inc: add icons for \xleftarrow.png
LyX supports \xleftarrow since years but an icon in the toolbar was missing
2014-02-19 23:42:40 +01:00
Uwe Stöhr
bd7dad25a2 stdtoolbars.inc: move \sideset to frame decorations
The frame decoration IconPalette contains already \overset etc. and \sideset has the same logic like \over- and \underset. Moreover we should keep the math panel clean and avoid the listing of many very special commands
2014-02-19 01:09:18 +01:00
Vincent van Ravesteijn
270ba80097 Add a toolbar button for continuous spellchecking
This fixes the second part of #8589.
2013-03-24 20:29:01 +01:00
Georg Baum
6e2d8cf10a Fix sideset keyboard short cuts
\sideset1 can't be entered via keyboard, so I renamed the commands.
2013-02-26 21:38:27 +01:00
Georg Baum
efaae780db Fix regression of 5261ae6a2
Somehow I overlooked that \sideset also supports nonscript arguments for
left and right. This is now fixed, although I do not like the toolbar names.
If somebody knows something better, please improve.
2013-02-24 21:23:50 +01:00
Georg Baum
5261ae6a29 Fix bug #1424: Native \sideset inset
The toolbar image is the one Uwe attached to the bug report. Note that
\sideset works only for operators like \sum in the nucleus. LyX allows
any content, so you might get a LaTeX error. I don't know how to prevent
wrong content in the nucleus.
2013-02-17 11:08:58 +01:00
Scott Kostyshak
3c84267d8d Implement move row/column in tabular inset
This patch implements 'move row' and 'move column' features for tabular.
The purpose is to provide a useful behavior in tabular that is
consistent with PARAGRAPH_MOVE_UP and PARAGRAPH_MOVE_DOWN so that the
user can, for example, do alt-<up> to move a row up. Alternatively,
icons for these features are also added to the table toolbar and
context menu.

If there is any selection, the feature is disabled. This is consistent
with how PARAGRAPH_MOVE_UP works in other contexts. Additionally, 'move
row' is disabled if there is a multi-row in the current or target row;
and 'move column' is disabled if there is a multi-column in the current
or target column.

'move row' moves only the left and right borders of a cell along with
the row. Similarly, 'move column' moves only the the top and bottom
borders.

Implementing similar functionality for other insets, such as arrays and
array environments, is on my TODO list.
2013-01-20 21:54:30 -05:00
Georg Baum
cbe5066622 Add missing math toolbar symbols 2013-01-13 21:43:14 +01:00
Georg Baum
56ece75ad9 Fix bug #8464: stackrel with subscript.
The fix is basically mechanical, the additional code for fraction like insets
with three arguments was stolen from \unitfrac. As any math package,
stackrel.sty needs a buffer parameter to switch it off.
I also added the two stackrel flavours to the toolbar.
2012-12-28 20:08:43 +01:00
Tommaso Cucinotta
1e50bfb446 Call a LyX note as a LyX note consistently in the toolbar and menus.
The term "LyX note" seems somewhat confusing, but until someone comes
up with a better name, at least it's consistently referred to as a LyX note.
2012-10-17 22:57:43 +01:00
Juergen Spitzmueller
ee1fc9130a Add support for some basic non-unicoded IPA macros
We now support everything on the IPA chart via the toolbar
2012-08-23 17:42:53 +02:00
Juergen Spitzmueller
b6a63bfce8 An IPA toolbar
Translators: sorry ;-)
2012-08-21 14:56:34 +02:00
Uwe Stöhr
138b615a3b again some things which cherry pick did not catch, sorry 2012-03-22 00:02:36 +01:00
Pavel Sanda
af6a03a331 Lets try first commit and bring trunk back to compiling. 2012-03-17 01:29:18 +01:00
Uwe Stöhr
7a46910f04 support for table cell rotations; fileformat change 2012-03-16 02:29:37 +01:00
Georg Baum
433b919457 Revert r40742, since it broke the tooltips of the changed commands.
Apart from that it implies a tab width of 4, which is not used by everybody.
The other commands should probably be fixed as well, but I do not touch foreign code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40756 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-15 20:18:21 +00:00
Uwe Stöhr
dfee6bc359 stdtoolbars.inc: correct layout to fit with the other entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40742 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 22:44:23 +00:00
Uwe Stöhr
322a1c1740 add icon files for the \cancel support in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40741 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 22:41:23 +00:00
Georg Baum
187790135b Fix bug #5029: Support \smash, \mathclap, \mathllap and \mathrlap.
Also improve lyx2lyx roundtrip for automatically loaded packages.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40589 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-08 12:34:12 +00:00
Uwe Stöhr
30de1c744e - UI support for the LaTeX-package undertilde, fileformat change, fixed the remaining part of bug #6622, Georg already implemented the non-UI support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39464 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-10 03:37:33 +00:00
Julien Rioux
8719c5c99c Fix bug #7620 (LaTeX \unit{} in math mode): The
commands displayed in the toolbar menu now
correspond with the internal LyX commands.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39002 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 15:20:03 +00:00
Georg Baum
32f6c066cc Partial fox for bug #6622: Display \utilde on screen correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38633 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 10:06:33 +00:00
Pavel Sanda
78263b1c19 Broken link, closing #7388. Patch from Diego Queiroz.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38114 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 00:41:35 +00:00
Enrico Forestieri
0acb928688 Revert again the changes to stdtoolbars.inc.
They were recommitted by mistake.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38052 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-25 15:47:50 +00:00
Enrico Forestieri
36bf758ed9 Move to PrefUi the icon set choice and solve problem with translation
of icon set names.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38046 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-25 14:21:28 +00:00
Enrico Forestieri
1fa45cf27c Fix toolbar broken by r38035
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38037 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-25 01:54:55 +00:00
Joost Verburg
a209de9bb9 new icons and toolbar design
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38035 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-24 23:05:03 +00:00
Richard Heck
e5b25ce78e Update all of our bind and ui files to format 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37253 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 15:42:27 +00:00
Enrico Forestieri
36ee8cdd52 Revert r36465 and r36467. Soon to be replaced by proper code for correctly
show on screen italic uppercase greek letters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37059 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-01 19:19:32 +00:00
Georg Baum
4736356bf9 fix remaining bits of bug #6709
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36718 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 16:43:41 +00:00
Georg Baum
ebd59dbc00 show inverted diagonal dots in math dots toolbar (was forgotten in r35251)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36686 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 17:42:16 +00:00
Pavel Sanda
aef9d84e83 Disentangle various "in"s
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36613 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 00:55:34 +00:00
Uwe Stöhr
e16ee11f18 fix #1983 (rest of #4606): add missing \var*** characters (gig Greek math letters)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36465 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 01:27:53 +00:00
Uwe Stöhr
4a4abc98ef stdtoolbars.inc: rename to be uniform with menus and documentation
@Pavel: the phantom dialog is called when using the Edit menu on an existing phantom

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36334 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 04:25:38 +00:00
Uwe Stöhr
72292b98a6 support for formal math script
- fileformat change
- fixes #2340

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34941 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 15:51:11 +00:00
Edwin Leuven
0ebe0ff37e add support for decimal alignment in tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34598 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-05 07:44:44 +00:00
Enrico Forestieri
3450dbaa49 Maybe this is more meaningful.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34504 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 21:09:52 +00:00
Pavel Sanda
507675c270 Change toolbar tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34503 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 15:14:47 +00:00
Pavel Sanda
053b905e08 Add output_sync icon to view/update toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34499 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 11:36:02 +00:00
Pavel Sanda
56e0928eb8 Revision info into toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33535 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 05:40:39 +00:00
Pavel Sanda
6271278749 Icons for VCS comparison
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33528 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 02:00:40 +00:00
Abdelrazak Younes
b5049e769b * InsetTabular cleanup:
- proper message passing for all tabular features
- properly define which feature needs an argument

* replace LFUN_TABULAR_FEATURE with LFUN_INSET_MODIFY
- The math tables are also affected. In the future a common base class
between math and text table will solve this inconsistency.
- There is a hack in GuiApplication in order to not rename the toolbar
icons. This will have to be cleaned up with a general icon naming for
LFUN_INSET_MODIFY... to be discussed.

* Tabular Dialog:
- big cleanup, lots and lots of bug fixing here
- migrated to InsetParamsWidget


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33495 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 08:28:46 +00:00
Uwe Stöhr
8bb69f24b6 support for multirows in tables:
- fileformat change (lyx2lyx code follows the next days)
- the patch is a joint work of Edwin and me

The patch is huge but the major parts work already. I put it in now as the minor known issues can be solved step by step the next days. I think this is the best solution because collaborating with such large patches already lead to copy/paste bugs.

The known issues are listed here:
http://wiki.lyx.org/Devel/Multirow

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33414 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 01:07:54 +00:00
Pavel Sanda
ae752e13a5 Introduce "samerow" toolbar tag and let View/Update toolbar to be in the
beginning of the first row.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg156961.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33234 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 17:19:14 +00:00
Jürgen Spitzmüller
96dc966114 really fix the Diamond toolbar item.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33176 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 09:59:48 +00:00
Uwe Stöhr
c49ad94a98 Diamond2.png: new image file for the math symbol \Diamond, see this thread: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg157327.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33152 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-22 02:32:17 +00:00
Uwe Stöhr
9a47988959 stdtoolbars.inc: correct place for \Diamond
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32481 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 23:10:37 +00:00