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