Georg Baum
ac1fd9b37f
fix bug 2558: hspace support in math
...
The basic idea was to reuse the corresponding text space inset in the same
fashion as is already done for references. The dialog displays a different
selection for math than for text. If wanted, the additional spaces could
also be enabled for text, but that would be a file format change.
Constructs like \hspace{\mylengthvariable} that are not supported are
treated by the math parser as ERT as before.
For reasons I don't know the context menu does not work, but this is not so
important IMHO (since a left click opens the dialog).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27954 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-22 18:12:32 +00:00
Enrico Forestieri
7d4ec3f944
Fix bug 5393
...
http://bugzilla.lyx.org/show_bug.cgi?id=5393
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27044 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 00:48:06 +00:00
Jürgen Spitzmüller
30a777e8a8
honour requirements for dots (bug 5376).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26947 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 14:15:56 +00:00
Richard Heck
e16468d72e
Revert 26348 and 26350. Wrong solution.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26353 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-10 14:36:38 +00:00
Richard Heck
e78347a673
Restore toggling behavior to math bold.
...
I've left mathbf in the symbols file. We should perhaps restore it as something that can be toggled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26348 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-09 17:50:37 +00:00
Enrico Forestieri
4fa59cbd9b
Fix bug 4320
...
http://bugzilla.lyx.org/show_bug.cgi?id=4320
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25367 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 05:51:15 +00:00
Jürgen Spitzmüller
a299b2ca2f
* lib/symbols:
...
- \implies requires amsmath (bug 4561).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23061 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-19 07:14:05 +00:00
Enrico Forestieri
c2f54cd891
Add the esint font to the private fonts.
...
The \dotsint glyph is remapped to an unsed code point in the
font such that to maintain compatibility with the TeX font
and convince Qt4 to show the glyph.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20786 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 15:30:29 +00:00
Uwe Stöhr
7cb5868e03
fix bug 1942: http://bugzilla.lyx.org/show_bug.cgi?id=1942
...
- we don't require wasysym any more. Either esint or amsmath is used, depending if esint is installed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18857 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 21:25:41 +00:00
Georg Baum
2db7521b70
Add support for the esint package
...
* src/LaTeXFeatures.C
(LaTeXFeatures::getPackages): handle esint and wasysym
* src/mathed/MathMacroTable.[Ch]
(requires_): New member: tell the feature this macro requires
(MacroTable::insert): take new requires arg
* src/mathed/MathMacroTemplate.C
(MathMacroTemplate::asMacroData): adjust to change above
* src/mathed/MathSupport.C
(fontinfos): add esint10 font
* src/mathed/InsetMathHull.C
(InsetMathHull::doDispatch): AMS_ON -> package_on
* src/mathed/MathMacroTable.h
* src/mathed/MathFactory.C
(initSymbols): read and store requires field for symbols
* src/mathed/InsetMathSymbol.C
(InsetMathSymbol::metrics): handle esint
(InsetMathSymbol::takesLimits): ditto
* src/buffer.C
(LYX_FORMAT): update format
(Buffer::validate): handle esint, AMS_ON -> package_on
* src/bufferparams.C:
(AMSTranslator): Rename to PackageTranslator
(BufferParams::readToken): Read \use_esint
(BufferParams::writeFile): Write \use_esint
* src/frontends/qt4/QDocumentDialog.C: handle esint
* src/frontends/qt4/ui/MathsUi.ui : add esint checkboxes
* src/frontends/qt4/GuiFontLoader.C
(symbol_fonts: Add esint10 font
(symbolFamily): handle esint10 font
(isChosenFont): Add comment
* src/frontends/controllers/ControlMath.C
(latex_varsz): Add new integral symbols
* src/support/fontutils.C
(win_fonts_truetype): Add esint10 font
* src/bufferparams.h
(enum AMS): rename to enum Package
(use_esint): new parameter
* src/lyxfont.[Ch]: Add esint font
* lib/symbols: Add new integral symbols
* lib/lyx2lyx/LyX.py
(format_relation): Update format
* lib/lyx2lyx/lyx_1_5.py: handle new format
* lib/chkconfig.ltx: Test esint package
* lib/images/math/oiintop.xpm
* lib/images/math/sqintop.xpm
* lib/images/math/sqint.xpm
* lib/images/math/ointctrclockwiseop.xpm
* lib/images/math/ointctrclockwise.xpm
* lib/images/math/iiintop.xpm
* lib/images/math/iintop.xpm
* lib/images/math/sqiint.xpm
* lib/images/math/iiint.xpm
* lib/images/math/ointclockwiseop.xpm
* lib/images/math/oiint.xpm
* lib/images/math/dotsintop.xpm
* lib/images/math/sqiintop.xpm
* lib/images/math/ointclockwise.xpm
* lib/images/math/iiiintop.xpm
* lib/images/math/dotsint.xpm
* lib/images/math/iiiint.xpm
* lib/images/math/iint.xpm: new icons
* lib/doc/LaTeXConfig.lyx.in: Add docs for esint package
* lib/doc/UserGuide.lyx: Add short documentation of integral symbols
* lib/Makefile.am: Add new files
* development/scons/scons_manifest.py: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15907 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 17:35:18 +00:00
André Pönitz
21e8d10d97
convert symbols file to UTF8
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15471 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 11:48:21 +00:00
Georg Baum
368f6a53a8
Support lgathered and rgathered math environments
...
* src/mathed/InsetMathSplit.C
(InsetMathSplit::validate): Only require amsmath for AMS stuff
* src/mathed/MathFactory.C
(createInsetMath): create InsetMathSplit if the latexkey is "split"
* src/mathed/MathParser.C
(Parser::parse1): remove "gathered" and "aligned", since these are
now handled via lib/symbols
(Parser::parse1): create InsetMathSplit if the latexkey is "split"
* lib/symbols: Add aligned, gathered, lgathered and rgathered
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15224 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 19:45:43 +00:00
Georg Baum
254b3cf67c
Fix limit display of intop and ointop
...
* src/mathed/math_scriptinset.C
(MathScriptInset::hasLimits): handle \intop and \ointop
* lib/symbols: add intop and ointop
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14225 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 15:01:35 +00:00
Georg Baum
2bbe7e5b89
Make MathBigInset working
...
* src/cursor.C
(LCursor::plainInsert): combine the previous math atom with the new
one to a MathBigInset if possible
* src/mathed/math_biginset.[Ch]
(MathBigInset::name): implement
(MathBigInset::isBigInsetDelim): new, test whether a given token is
a valid MathBigInset delimiter
* src/mathed/math_biginset.C
(MathBigInset::size): handle Big, Bigg and Biggg
(MathBigInset::increase): ditto
(MathBigInset::draw): fix deco drawing
(MathBigInset::write): append space if necessary
* src/mathed/math_factory.C
(createMathInset): handle l->inset == "big"
* src/mathed/math_parser.C
(Token::asInput): return a token as input, stolen from tex2lyx
(void Parser::parse1): Create a MathBigInset when needed
* src/mathed/math_support.C:
(deco_table): add lbrace and rbrace
* src/mathed/math_nestinset.C
(MathNestInset::interpret): combine the previous math atom with the
new character to a MathBigInset if possible
* src/ParagraphParameters.C
(findToken): move from here
* src/support/lstrings.[Ch]
(findToken): to here
* lib/symbols: add MathBigInset symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13700 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-20 09:55:45 +00:00
Georg Baum
fad5cd6700
fix bug 2234
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13399 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:05:47 +00:00
Georg Baum
9ba33772a8
fix bug 2361
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13369 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 17:56:32 +00:00
Georg Baum
5858a82efa
speedup math init time when symbol font is not available (qt)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10669 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-19 11:03:07 +00:00
Martin Vermeer
eebda223db
The ��ngstr��m, ��rsted patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9394 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-17 13:34:02 +00:00
André Pönitz
e4be3d150e
change handling of #
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8659 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-18 07:33:32 +00:00
André Pönitz
6df510866c
recognize '&' (i.e. draw it blue, not red in math)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8643 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-08 17:01:13 +00:00
Angus Leeming
a60b5c0b72
Whitespace only.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7905 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 09:50:10 +00:00
André Pönitz
fb7298145a
somewhat better rendering of \^
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7628 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-29 06:11:23 +00:00
André Pönitz
48d6e3a90e
add overset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7593 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 16:00:53 +00:00
John Levon
17c2c4e024
add bmod
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6571 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-24 18:51:53 +00:00
Dekel Tsur
1a8aba292c
Fix \Box, \Diamond, \cong, and \surd.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5961 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-15 19:07:00 +00:00
Dekel Tsur
8a8724129a
Fix symbols file for RH8
...
Update mathed.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5887 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-20 18:13:44 +00:00
André Pönitz
094190ca46
Support for \implies and \dots
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5795 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-09 09:51:55 +00:00
André Pönitz
9babb4a5f9
add AMS smallmatrix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5571 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-01 15:29:13 +00:00
Dekel Tsur
13ec304e16
Update file.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5528 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-28 10:39:56 +00:00
Dekel Tsur
90c5920f8c
Fix \Join
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5517 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-25 20:54:49 +00:00
André Pönitz
fd2740ca18
remove spurious backslash
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5494 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-24 11:39:47 +00:00
Dekel Tsur
b04538960e
Handle \not using a macro
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5458 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-21 13:38:02 +00:00
Dekel Tsur
dde4440425
Better alignment of \longrightarrow like macros.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5432 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-17 13:15:25 +00:00
André Pönitz
907a7c903a
emph and noun missing...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5322 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-19 13:44:48 +00:00
André Pönitz
6e81342025
textsc was missing, too
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5320 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-19 09:20:22 +00:00
André Pönitz
e03929a496
'textnormal' was missing, too.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5319 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-19 08:58:58 +00:00
André Pönitz
7c538fc516
add a line for textsf
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5317 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-19 06:37:35 +00:00
André Pönitz
3d97dead36
make AMS's CD environment known to mathed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5183 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-30 08:42:59 +00:00
André Pönitz
1181da4a5d
Herbert's space.diff patch for neg*space support.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4984 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-15 07:13:21 +00:00
André Pönitz
2347f4e642
herbert's fix for leo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4967 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 11:05:21 +00:00
André Pönitz
ae44ffe9fc
fix typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4965 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 10:38:13 +00:00
André Pönitz
49c09933c9
Herbert's Bmatrix patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4938 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 07:05:02 +00:00
André Pönitz
5b3d1c64be
fix typo in scriptstyle/scriptscriptstyle
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4864 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 16:19:44 +00:00
André Pönitz
2e835ba909
fix font info
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4825 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 11:47:40 +00:00
André Pönitz
cdbe361370
fix \neq bug reported by edwin
...
rename the math-extern menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4818 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-31 13:08:48 +00:00
André Pönitz
67e2f58e78
make math-extern a bit more visible in Edit->Math,
...
revamp some math key bindings
add \boxed to the list of known things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4815 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-31 05:36:33 +00:00
André Pönitz
d242ff53eb
some spaces had disappeared
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4699 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-18 09:13:10 +00:00
André Pönitz
19699c9f57
fill in 'extra' field for displaystyle etc
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4685 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 15:58:00 +00:00
André Pönitz
8c7befa454
fix typo in font list, add \hbar symbol
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4678 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 11:37:28 +00:00
André Pönitz
403d15bdd4
add previously hard-coded predefined macros
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4625 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 15:32:07 +00:00
André Pönitz
e52a528119
more a few formerly hard-wired symbols to lib/symbols
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4618 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 11:18:56 +00:00
André Pönitz
5e4dbd344c
Add sub menu for font changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4615 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 08:32:18 +00:00
André Pönitz
909a631592
add \not as symbol
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4608 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 15:37:39 +00:00
André Pönitz
26391776f2
Do not hard-code assosiation of latex macros to insets anymore.
...
So people who don't like the defaults can override them here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4598 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 09:32:58 +00:00
André Pönitz
b23d2ad302
symbols: wasy symbols added (screen display only)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4565 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 13:36:35 +00:00
André Pönitz
1fcad464fe
*** empty log message ***
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4544 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 11:51:14 +00:00
André Pönitz
7bddad38fd
old MathSpecialCharInset now realized by MathSymbolInset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4476 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 14:00:59 +00:00
Dekel Tsur
160d830280
Add glyph for \colon for the symbol font.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3211 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 11:26:57 +00:00
André Pönitz
46e600604c
add ∫ for starters...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3003 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 18:53:58 +00:00
André Pönitz
2e865ef2a5
add a column for XML entity names
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3001 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 18:46:08 +00:00
Dekel Tsur
bc5e92cb03
More symbols (mainly arrows)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2772 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-19 17:22:34 +00:00
Dekel Tsur
d17b70af27
mapsto -> mapstochar
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2682 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 13:09:47 +00:00
Dekel Tsur
25a99d9071
Remove stmry symbols
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2646 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-31 15:35:52 +00:00
Dekel Tsur
74728503e4
More fonts in mathed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2633 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-30 22:43:08 +00:00