mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Andr�'s patch to math.bind and Herbert's fix to vspace.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2882 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d7f6dcbd71
commit
07db8683b6
@ -35,8 +35,6 @@
|
||||
\bind "M-m m" "math-mode"
|
||||
\bind "M-m d" "math-display"
|
||||
|
||||
\bind "M-m g" "math-greek"
|
||||
\bind "M-m S-G" "math-greek-toggle"
|
||||
#\bind "M-m o" "math-insert \oint"
|
||||
\bind "M-m p" "math-insert \partial"
|
||||
\bind "M-m r" "math-insert \root"
|
||||
@ -106,4 +104,51 @@
|
||||
\bind "Escape" "escape"
|
||||
\bind "C-Tab" "tab-insert"
|
||||
\bind "M-m space" "math-space"
|
||||
\bind "M-m S-G" "command-sequence math-mode ; math-greek-toggle ; "
|
||||
\bind "M-m S-G" "math-greek-toggle"
|
||||
|
||||
# This should be handled properly by some "get the next key" method
|
||||
|
||||
\bind "M-m g a" "math-insert \alpha"
|
||||
\bind "M-m g b" "math-insert \beta"
|
||||
\bind "M-m g c" "math-insert \chi"
|
||||
\bind "M-m g d" "math-insert \delta"
|
||||
\bind "M-m g e" "math-insert \epsilon"
|
||||
\bind "M-m g f" "math-insert \phi"
|
||||
\bind "M-m g g" "math-insert \gamma"
|
||||
\bind "M-m g h" "math-insert \eta"
|
||||
\bind "M-m g i" "math-insert \iota"
|
||||
\bind "M-m g j" "math-insert \epsilon"
|
||||
\bind "M-m g k" "math-insert \kappa"
|
||||
\bind "M-m g l" "math-insert \lambda"
|
||||
\bind "M-m g m" "math-insert \mu"
|
||||
\bind "M-m g n" "math-insert \nu"
|
||||
\bind "M-m g o" "math-insert \omega"
|
||||
\bind "M-m g p" "math-insert \pi"
|
||||
\bind "M-m g q" "math-insert \vartheta"
|
||||
\bind "M-m g r" "math-insert \rho"
|
||||
\bind "M-m g s" "math-insert \sigma"
|
||||
\bind "M-m g t" "math-insert \tau"
|
||||
\bind "M-m g u" "math-insert \upsilon"
|
||||
\bind "M-m g v" "math-insert \theta"
|
||||
\bind "M-m g w" "math-insert \omega"
|
||||
\bind "M-m g x" "math-insert \xi"
|
||||
\bind "M-m g y" "math-insert \varphi"
|
||||
\bind "M-m g z" "math-insert \zeta"
|
||||
|
||||
\bind "M-m g S-D" "math-insert \Delta"
|
||||
\bind "M-m g S-E" "math-insert \varepsilon"
|
||||
\bind "M-m g S-F" "math-insert \Phi"
|
||||
\bind "M-m g S-G" "math-insert \Gamma"
|
||||
\bind "M-m g S-I" "math-insert \iota"
|
||||
\bind "M-m g S-J" "math-insert \epsilon"
|
||||
\bind "M-m g S-O" "math-insert \Omega"
|
||||
\bind "M-m g S-P" "math-insert \Pi"
|
||||
\bind "M-m g S-Q" "math-insert \vartheta"
|
||||
\bind "M-m g S-R" "math-insert \varrho"
|
||||
\bind "M-m g S-S" "math-insert \Sigma"
|
||||
\bind "M-m g S-T" "math-insert \varsigma"
|
||||
\bind "M-m g S-U" "math-insert \Upsilon"
|
||||
\bind "M-m g S-V" "math-insert \Theta"
|
||||
\bind "M-m g S-W" "math-insert \Omega"
|
||||
\bind "M-m g S-X" "math-insert \Xi"
|
||||
\bind "M-m g S-Y" "math-insert \Varphi"
|
||||
|
@ -1,3 +1,7 @@
|
||||
2001-10-15 Herbert Voss <voss@perce.de>
|
||||
|
||||
* vspace.C (asLatexString): fix bug in output of string for l% and p%.
|
||||
|
||||
2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
|
||||
|
@ -339,12 +339,12 @@ string const LyXLength::asLatexString() const
|
||||
case PW:
|
||||
case PE:
|
||||
buffer << abs(static_cast<int>(val/100)) << "." << abs(static_cast<int>(val)%100) << "\\columnwidth";
|
||||
break;
|
||||
|
||||
case PP:
|
||||
buffer << "." << abs(static_cast<int>(val/100)) << "." << abs(static_cast<int>(val)%100) << "\\pagewidth";
|
||||
buffer << abs(static_cast<int>(val/100)) << "." << abs(static_cast<int>(val)%100) << "\\pagewidth";
|
||||
break;
|
||||
case PL:
|
||||
buffer << "." << abs(static_cast<int>(val/100)) << "." << abs(static_cast<int>(val)%100) << "\\linewidth";
|
||||
buffer << abs(static_cast<int>(val/100)) << "." << abs(static_cast<int>(val)%100) << "\\linewidth";
|
||||
break;
|
||||
default:
|
||||
buffer << val << unit_name[uni]; // setw?
|
||||
|
Loading…
Reference in New Issue
Block a user