Dear LyX developers, I continue to use LyX on a daily basis and I was excited to see a new version 1.3 come out recently.
Attached to this message are some updates to the files sciword.bind (the Scientific Word-like keybinding file) and the accompanying description for the Customization.lyx manual, in the file sciword_bind.lyx. I have significantly revised and expanded the description to make it easier for new users. I have also corrected some problems with the keybindings and made sure they worked under 1.3. I have the following to report. I have compiled LyX 1.3 against libforms 0.89.5, on a stock Debian 3.0 machine. I tried to say "math-greek" (from the mini-buffer line), just to see what happens. Then LyX has issued lots of warning messages to the console, such as this should not really happen - 1: 0 0 in: 0x88325d8 ############ idx_ 0 not valid ############ idx_ 0 not valid I don't have a cell 1 MathInset::getPos() called directly! MathInset::getPos() called directly! MathInset::getPos() called directly! MathInset::getPos() called directly! MathInset::getPos() called directly! MathInset::getPos() called directly! MathInset::getPos() called directly! MathInset::getPos() called directly! MathInset::getPos() called directly! this should not really happen - 1: 0 0 in: 0x88325d8 ############ idx_ 0 not valid ############ idx_ 0 not valid I don't have a cell 1 ############ idx_ 0 not valid this should not really happen - 1: 0 0 in: 0x88325d8 ############ idx_ 0 not valid ############ idx_ 0 not valid I don't have a cell 1 MathInset::getPos() called directly! MathInset::getPos() called directly! The stream of messages continued until I put the cursor somewhere else. A math insert was created with the text "lyxgreek1" or something like that. This looks like a bug to me. Regards, -- Serge
# This file is part of LyX # LyX keyboard definitions similar to those of Scientific Word. # Prepared by Serge Winitzki. Version 1.3 #\bind "C-a" "------" #\bind "C-b" "font-bold" # Copy, paste, etc.: more familiar keys \bind "C-c" "copy" # Display equation toggle: type it in a displayed equation to convert it # back to an inline equation # Sciword mnemonic. \bind "C-d" "math-display" #\bind "C-e" "------" # Sciword mnemonic. \bind "C-f" "math-insert \frac" # Greek for only one character. "math-greek-toggle" is the persistent Greek # toggle which nobody really needs when typing math. #\bind "C-g" "math-greek" #\bind "C-S-G" "math-greek-toggle" # Since the toggles don't work in 1.2.0, let's define all letters. # lowercase math Greek \bind "C-g a" "math-insert \alpha" \bind "C-g b" "math-insert \beta" \bind "C-g g" "math-insert \gamma" \bind "C-g d" "math-insert \delta" \bind "C-g e" "math-insert \varepsilon" \bind "C-g C-e" "math-insert \epsilon" \bind "C-g z" "math-insert \zeta" \bind "C-g h" "math-insert \eta" \bind "C-g q" "math-insert \theta" \bind "C-g C-q" "math-insert \vartheta" \bind "C-g i" "math-insert \iota" \bind "C-g k" "math-insert \kappa" \bind "C-g l" "math-insert \lambda" \bind "C-g m" "math-insert \mu" \bind "C-g n" "math-insert \nu" \bind "C-g x" "math-insert \xi" \bind "C-g p" "math-insert \pi" \bind "C-g C-p" "math-insert \varpi" \bind "C-g r" "math-insert \rho" \bind "C-g s" "math-insert \sigma" \bind "C-g C-s" "math-insert \varsigma" \bind "C-g t" "math-insert \tau" \bind "C-g v" "math-insert \upsilon" \bind "C-g f" "math-insert \phi" \bind "C-g c" "math-insert \chi" \bind "C-g y" "math-insert \psi" \bind "C-g w" "math-insert \omega" # uppercase math Greek \bind "C-g S-G" "math-insert \Gamma" \bind "C-g S-D" "math-insert \Delta" \bind "C-g S-Q" "math-insert \Theta" \bind "C-g S-L" "math-insert \Lambda" \bind "C-g S-X" "math-insert \Xi" \bind "C-g S-P" "math-insert \Pi" \bind "C-g S-S" "math-insert \Sigma" \bind "C-g S-V" "math-insert \Upsilon" \bind "C-g S-F" "math-insert \Phi" \bind "C-g S-Y" "math-insert \Psi" \bind "C-g S-W" "math-insert \Omega" # Do we need this? #\bind "C-h" "hyphenation-point-insert" # Sciword mnemonic. \bind "C-i" "math-insert \int" #\bind "C-j" "------" \bind "C-k" "line-delete-forward" \bind "C-l" "screen-recenter" # Toggle: in text mode, switch to math, and vice versa. Also C-t. \bind "C-m" "math-mode" # C-n is numbering equations now. Sciword had "C-Tab" mnemonic which conflicts with many things. # Numbering equations. Should perhaps simplify math-number and math-nonumber into one command since they are used in very different contexts. This and also math-macro stuff should be available in the Lyx menus! \bind "C-n" "math-number" \bind "S-C-N" "math-nonumber" \bind "C-o" "file-open" # Insert a quote character. Do I need this? # Probably, since we need a way to get a raw quote \bind "C-q" "self-insert \"" # Sciword mnemonic. \bind "C-r" "math-insert \sqrt" \bind "S-C-R" "math-insert \root" # This combination is now a gateway to math symbols (C-s ...) #\bind "C-s" "------" # Sciword mnemonic for going between text and math modes. \bind "C-t" "math-mode" \bind "C-u" "font-underline" \bind "C-v" "paste" \bind "C-w" "buffer-close" \bind "C-x" "cut" \bind "C-z" "undo" \bind "S-C-Z" "redo" # This combination makes an umlaut accent now. #\bind "S-C-quotedbl" "quote-insert" # Bracket delimiters. Sciword mnemonic is to press Control-<bracket key> \bind "C-9" "math-delim ( )" \bind "S-C-parenleft" "math-delim ( )" \bind "C-0" "math-delim ( )" \bind "S-C-parenright" "math-delim ( )" \bind "C-bracketleft" "math-delim [ ]" \bind "C-bracketright" "math-delim [ ]" \bind "C-S-less" "math-delim langle rangle" \bind "C-S-greater" "math-delim langle rangle" # The bar bracket: on some keyboards, e.g. British, the bar character is # bound to an Alt-something and on some wayward Unices to "brokenbar". \bind "C-S-bar" "math-delim | |" \bind "C-S-brokenbar" "math-delim | |" \bind "C-M-bar" "math-delim | |" \bind "S-C-braceleft" "math-delim { }" \bind "S-C-braceright" "math-delim { }" # Accents by Sciword mnemonics. Mostly press Ctrl-<accent key> # e.g. Ctrl-. for overdot, Ctrl-' for acute accent, Ctrl-~ for tilde etc. # Some of them work only in math mode \bind "C-period" "accent-dot" \bind "C-comma" "math-insert \dot" \bind "S-C-colon" "math-insert \ddot" \bind "C-quoteleft" "accent-grave" \bind "S-C-asciitilde" "accent-tilde" \bind "S-C-quotedbl" "accent-umlaut" \bind "C-apostrophe" "accent-acute" \bind "S-C-asciicircum" "accent-circumflex" # accent-vector has been changed? #\bind "C-equal" "accent-vector" # Why is it not "accent-bar"? \bind "C-minus" "math-insert \bar" # What is "accent-underbar"? #\bind "S-C-underscore" "accent-underbar" # Function keys. #\bind "F1" "help" # Not yet implemented! #\bind "C-F1" "help-context" # Not yet implemented! \bind "F2" "buffer-write" \bind "S-F2" "buffer-export latex" \bind "F3" "find-replace" \bind "C-F4" "buffer-close" \bind "M-F4" "lyx-quit" # F4 to F8 are used to switch fonts. Sciword mnemonic. \bind "F4" "font-default" \bind "F5" "font-bold" \bind "F6" "font-emph" \bind "F7" "font-code" \bind "F8" "font-noun" # F9 bound below as meta-prefix (useful e.g. if the keyboard doesn't have a working ALT). #\bind "F9" "------" #\bind "F10" "------" # Sciword mnemonics for math editing: \bind "M-apostrophe" "math-insert \prime" \bind "C-Up" "math-superscript" \bind "C-Down" "math-subscript" \bind "C-s d" "math-insert \partial" \bind "C-s e" "math-insert \sum" \bind "C-s p" "math-insert \prod" \bind "C-s i" "math-insert \infty" \bind "C-s x" "math-insert \times" \bind "C-s m" "math-matrix 3 3" \bind "C-s v" "math-matrix 1 2" # My own embellishments for symbols I use often. #I'd like to combine math-insert ^ and math-insert prime, but don't know how. \bind "C-s apostrophe" "command-sequence math-superscript; math-insert \prime;" \bind "C-s S-plus" "math-insert \dagger" \bind "C-s equal" "math-insert \equiv" \bind "M-equal" "math-insert \approx" \bind "M-minus" "math-insert \sim" \bind "C-minus" "math-insert \rightarrow" # here is how to make a vector accent: \bind "C-equals" "math-insert \overrightarrow" \bind "S-M-less" "math-insert \leq" \bind "S-M-greater" "math-insert \geq" \bind "C-s S-less" "math-insert \ll" \bind "C-s S-greater" "math-insert \gg" # usual bindings \bind_file maths.bind \bind_file menus.bind \bind_file latinkeys.bind \bind_file cyrkeys.bind \bind_file greekkeys.bind \bind "S-KP_Right" "forward-select" \bind "S-KP_Left" "backward-select" \bind "S-KP_Up" "up-select" \bind "S-KP_Down" "down-select" \bind "S-C-KP_Right" "word-forward-select" \bind "S-C-KP_Left" "word-backward-select" \bind "S-C-KP_Up" "paragraph-up-select" \bind "S-C-KP_Down" "paragraph-down-select" \bind "S-KP_Home" "line-begin-select" \bind "S-KP_End" "line-end-select" \bind "S-KP_Prior" "screen-up-select" \bind "S-KP_Next" "screen-down-select" \bind "S-C-KP_Home" "buffer-begin-select" \bind "S-C-KP_End" "buffer-end-select" \bind "S-C-KP_Prior" "buffer-begin-select" \bind "S-C-KP_Next" "buffer-end-select" \bind "C-KP_Insert" "copy" \bind "S-KP_Insert" "paste" \bind "S-KP_Delete" "cut" \bind "M-x" "command-execute"
#LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language english \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Subsection Specific to \family typewriter sciword.bind \layout Standard These are LyX keyboard definitions for mathematics, similar to those of Scientific Word. \layout Standard The bindings file and the present documentation were prepared by Serge Winitzki with assistance from Jean-Marc Lasgouttes. Version 1.3, for LyX 1.2.x and 1.3.x. \layout Standard These definitions make it a lot easier to type equations without using the mouse, especially for people familiar with Scientific Word. The standard LyX bindings such as \family typewriter M-m \family default or \family typewriter M-o \family default are unmodified. \layout Standard Tip: to find the "LyX bind name" for a key, look at the status bar after typing some non-existent key combination. E.g. to find how "Ctrl-&" is referenced, press Ctrl-S and then Ctrl-&: the status bar shows "C-s S-C-ampersand." (This does not work in LyX 1.3.0!) \layout List \labelwidthstring 00.00.0000 \family sans C-c \family default \family typewriter copy \family default -- Copy, paste, cut is as in Sciword, \family typewriter C-c \family default , \family typewriter C-v \family default , and \family typewriter C-x \family default . \layout List \labelwidthstring 00.00.0000 \family sans C-d \family default \family typewriter math-display \family default -- Display equation toggle: type \family typewriter C-d \family default to insert a displayed equation ( \family typewriter d \family default for \begin_inset Quotes eld \end_inset displayed \begin_inset Quotes erd \end_inset ). You can also type \family typewriter C-d \family default in a displayed equation to convert it back to an inline equation. \layout List \labelwidthstring 00.00.0000 \family sans C-f \family default \family typewriter math-insert frac \family default -- Fractions: type \family typewriter C-f \family default to insert a fraction ( \family typewriter f \family default for \begin_inset Quotes eld \end_inset fraction \begin_inset Quotes erd \end_inset ). You can also select an expression and type \family typewriter C-f \family default to convert it to the numerator of a fraction. Note: pressing \family typewriter Backspace \family default at the \emph on left \emph default end of the denominator will delete the numerator and convert the denominator to a non-fraction. \layout List \labelwidthstring 00.00.0000 \family sans C-g \family default \family typewriter math-greek \family default -- \begin_inset Quotes eld \end_inset Greek \begin_inset Quotes erd \end_inset switch: press before a letter to insert only one Greek character ( \family typewriter g \family default for \begin_inset Quotes eld \end_inset Greek \begin_inset Quotes erd \end_inset ). Switches to math mode if necessary, but only for that one character. For example, \family typewriter C-g \family default \family typewriter a \family default inserts \begin_inset Formula $\alpha$ \end_inset . The old LyX command " \family typewriter math-greek-toggle \family default " was a persistent Greek toggle that one does not normally need when typing math. (Also removed in 1.2.x.) The \family typewriter math-greek \family default command used to be in LyX 1.1.x but is not in 1.2.x. Now all Greek letters are defined one by one, with a greater flexibility. The current definitions are (in the Greek alphabetical order): \layout Standard \align center \begin_inset Tabular <lyxtabular version="3" rows="2" columns="20"> <features> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt"> <column alignment="center" valignment="top" rightline="true" width="0pt"> <column alignment="center" valignment="top" rightline="true" width="0pt"> <column alignment="center" valignment="top" rightline="true" width="0pt"> <column alignment="center" valignment="top" rightline="true" width="0pt"> <column alignment="center" valignment="top" rightline="true" width="0pt"> <column alignment="center" valignment="top" rightline="true" width="0pt"> <row topline="true" bottomline="true"> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard Press \family typewriter C-g \family default and: \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard a \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard b \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard g \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard d \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard e \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard C-e \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard z \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard h \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard q \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard C-q \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard i \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard k \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Standard l \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Standard m \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Standard n \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Standard x \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Standard p \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Standard C-p \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Standard r \end_inset </cell> </row> <row topline="true" bottomline="true"> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard to obtain: \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\alpha$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\beta$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\gamma$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\delta$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\varepsilon$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\epsilon$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\zeta$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\eta$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\theta$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\vartheta$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\iota$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\kappa$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\lambda$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\mu$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\nu$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\xi$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\pi$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\varpi$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\rho$ \end_inset \end_inset </cell> </row> </lyxtabular> \end_inset \layout Standard \align center \begin_inset Tabular <lyxtabular version="3" rows="2" columns="20"> <features> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" width="0pt"> <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt"> <row topline="true" bottomline="true"> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard Press \family typewriter C-g \family default and: \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard s \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard C-s \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard t \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard u \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard f \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard c \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard y \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard w \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard G \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard D \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard Q \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard L \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard X \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard P \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard S \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard V \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard F \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard Y \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard W \end_inset </cell> </row> <row topline="true" bottomline="true"> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard to obtain: \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\sigma$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\varsigma$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\tau$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\upsilon$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\phi$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\chi$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\psi$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\omega$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\Gamma$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\Delta$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\Theta$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\Lambda$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\Xi$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\Pi$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\Sigma$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\Upsilon$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\Phi$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\Psi$ \end_inset \end_inset </cell> <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Standard \begin_inset Formula $\Omega$ \end_inset \end_inset </cell> </row> </lyxtabular> \end_inset \layout List \labelwidthstring 00.00.0000 \family sans C-i \family default \family typewriter math-insert int \family default -- Inserts \begin_inset Formula $\int$ \end_inset ( \family typewriter i \family default for \begin_inset Quotes eld \end_inset integral \begin_inset Quotes erd \end_inset ) \layout List \labelwidthstring 00.00.0000 \family sans C-k \family default \family typewriter line-delete-forward \family default -- Emacs-like binding: delete forward of cursor to end of line. \layout List \labelwidthstring 00.00.0000 \family sans C-m \family default \family typewriter math-mode \family default -- A text/math toggle ( \family typewriter m \family default for \begin_inset Quotes eld \end_inset math \begin_inset Quotes erd \end_inset ): switches to math in text mode, and also inserts roman text in math mode. Also bound to \family typewriter C-t \family default ( \family typewriter t \family default for \begin_inset Quotes eld \end_inset text \begin_inset Quotes erd \end_inset ). \layout List \labelwidthstring 00.00.0000 \family sans C-n \family default \family typewriter math-number \family default -- Add/remove numbering in a single equation. \layout List \labelwidthstring 00.00.0000 \family sans S-C-N \family default \family typewriter math-nonumber \family default -- Add/remove numbering at a line in equation arrays. \layout Standard The above commands are toggles that control the numbering of equations ( \family typewriter N \family default for \begin_inset Quotes eld \end_inset number \begin_inset Quotes erd \end_inset ). Note: when deleting a number in a labeled eqnarray, the label is not really removed (the TeX code becomes \begin_inset Quotes eld \end_inset \family typewriter \backslash label{} \backslash nonumber \family default \begin_inset Quotes erd \end_inset ) and this generates a (harmless) LaTeX warning. \layout List \labelwidthstring 00.00.0000 \family sans C-o \family default \family typewriter file-open \family default -- Open a new document. (W*ndows) \layout List \labelwidthstring 00.00.0000 \family sans C-q \family default \family typewriter quote-insert \family default -- Insert a quote character " ( \family typewriter q \family default for \begin_inset Quotes eld \end_inset quote \begin_inset Quotes erd \end_inset ). This is not the \begin_inset Quotes eld \end_inset smart \begin_inset Quotes erd \end_inset double quote character that you get by default. \layout List \labelwidthstring 00.00.0000 \family sans C-r \family default \family typewriter math-insert sqrt \family default -- Square root sign \begin_inset Formula $\sqrt{x}$ \end_inset ( \family typewriter r \family default for \begin_inset Quotes eld \end_inset root \begin_inset Quotes erd \end_inset ). \layout List \labelwidthstring 00.00.0000 \family sans S-C-R \family default \family typewriter math-insert \backslash root \family default -- root sign \begin_inset Formula $\sqrt[n]{x}$ \end_inset . \layout List \labelwidthstring 00.00.0000 \family sans C-t \family default \family typewriter math-mode \family default -- Another binding for a switch between the text and the math mode ( \family typewriter t \family default is for \begin_inset Quotes eld \end_inset text \begin_inset Quotes erd \end_inset ). Note that the roman text inserted in math mode is special. \layout List \labelwidthstring 00.00.0000 \family sans C-u \family default \family typewriter font-underline \family default -- \bar under Underline \bar default the selected text (text mode only, use things like \family typewriter \backslash overline \family default or \family typewriter \backslash underbar \family default for math ). \layout List \labelwidthstring 00.00.0000 \family sans C-v \family default \family typewriter paste \family default -- W*ndows heritage. \layout List \labelwidthstring 00.00.0000 \family sans C-w \family default \family typewriter buffer-close \family default -- Close the current document (again, a W*ndows heritage). \layout List \labelwidthstring 00.00.0000 \family sans C-x \family default \family typewriter cut \layout List \labelwidthstring 00.00.0000 \family sans C-z \family default \family typewriter undo \layout List \labelwidthstring 00.00.0000 \family sans S-C-Z \family default \family typewriter redo \family default -- the \begin_inset Quotes eld \end_inset Redo \begin_inset Quotes erd \end_inset operation, or \begin_inset Quotes eld \end_inset undo the undo \begin_inset Quotes erd \end_inset . \layout Standard Bracket delimiters: press \family typewriter Ctrl \family default -<bracket key> to insert a matching pair of delimiters. For example, \family typewriter Ctrl-[ \family default nserts a pair of parentheses \begin_inset Formula $\left[\right]$ \end_inset . (Note: \family typewriter Ctrl-] \family default does the same thing.) It will switch to math mode if needed. The supported characters are ( [ { < |. It is the same to press the right or the left bracket. The corresponding delimiters are \begin_inset Formula $\left(\right)$ \end_inset \begin_inset Formula $\left[\right]$ \end_inset \begin_inset Formula $\left\{ \right\} $ \end_inset \begin_inset Formula $\left\langle \right\rangle $ \end_inset \begin_inset Formula $\left|\right|$ \end_inset . The delimiters are \begin_inset Quotes eld \end_inset smart \begin_inset Quotes erd \end_inset and resize with their contents. Use Math Panel to get other or non-matching delimiters. Press backspace on the \emph on left \emph default delimiter to remove both \begin_inset Quotes eld \end_inset smart \begin_inset Quotes erd \end_inset delimiters without removing their contents. \layout List \labelwidthstring 00.00.0000 \family sans C-9 \family default \family typewriter math-delim ( ) \family default -- for convenience, pressing \family typewriter Ctrl-9 \family default is the same as \family typewriter Ctrl-( \family default or \family typewriter Ctrl-) \layout List \labelwidthstring 00.00.0000 \family sans S-C-parenleft \family default \family typewriter math-delim ( ) \layout List \labelwidthstring 00.00.0000 \family sans C-0 \family default \family typewriter math-delim ( ) \layout List \labelwidthstring 00.00.0000 \family sans S-C-parenright \family default \family typewriter math-delim ( ) \layout List \labelwidthstring 00.00.0000 \family sans C-bracketleft \family default \family typewriter math-delim [ ] \layout List \labelwidthstring 00.00.0000 \family sans C-bracketright \family default \family typewriter math-delim [ ] \layout List \labelwidthstring 00.00.0000 \family sans C-S-less \family default \family typewriter math-delim langle rangle \family default -- angular delimiters \begin_inset Formula $\left\langle \right\rangle $ \end_inset , not to confuse with ordinary < > signs. \layout List \labelwidthstring 00.00.0000 \family sans C-S-greater \family default \family typewriter math-delim langle rangle \layout Standard The bar bracket: on some keyboards (e.g.\SpecialChar ~ some British ones), the bar character is bound to an \family typewriter Alt \family default -something and on some wayward Unices to "brokenbar". So we define all of these keys as well. \layout List \labelwidthstring 00.00.0000 \family sans C-S-bar \family default \family typewriter math-delim | | \layout List \labelwidthstring 00.00.0000 \family sans C-S-brokenbar \family default \family typewriter math-delim | | \layout List \labelwidthstring 00.00.0000 \family sans C-M-bar \family default \family typewriter math-delim | | \layout List \labelwidthstring 00.00.0000 \family sans S-C-braceleft \family default \family typewriter math-delim { } \layout List \labelwidthstring 00.00.0000 \family sans S-C-braceright \family default \family typewriter math-delim { } \layout Standard Accents are in most cases \family typewriter Ctrl \family default -<accent key>, e.g.\SpecialChar ~ \family typewriter Ctrl-. \family default for overdot, \family typewriter Ctrl-' \family default for acute accent, \family typewriter Ctrl-~ \family default for tilde (you also need to press \family typewriter Shift \family default here) etc. For example, \begin_inset Quotes eld \end_inset \family typewriter Ctrl-' \family default \family typewriter a \family default \begin_inset Quotes erd \end_inset inserts А. Some accents work only in math mode and others only in text mode. \layout List \labelwidthstring 00.00.0000 \family sans C-period \family default \family typewriter accent-dot \family default -- overdot accent, \i \.{a} (text mode only). \layout List \labelwidthstring 00.00.0000 \family sans C-comma \family default \family typewriter math-insert \backslash dot \family default -- overdot accent, \begin_inset Formula $\dot{a}$ \end_inset (math mode only -- in physics this denotes a first derivative). \layout List \labelwidthstring 00.00.0000 \family sans C-equals \family default \family typewriter math-insert \backslash overrightarrow \family default -- Vector accent over math \begin_inset Formula $\overrightarrow{x}$ \end_inset . \layout List \labelwidthstring 00.00.0000 \family sans S-C-quotedbl \family default \family typewriter accent-umlaut \family default -- umlaut accent, Д (text mode only) \layout List \labelwidthstring 00.00.0000 \family sans S-C-colon \family default \family typewriter math-insert \backslash ddot \family default -- double dot accent, \begin_inset Formula $\ddot{a}$ \end_inset (math mode only -- in physics this denotes a second derivative). To get a triple dot in math mode, use \family typewriter \backslash dddot \layout List \labelwidthstring 00.00.0000 \family sans C-quoteleft \family default \family typewriter accent-grave \family default -- grave accent Ю (text mode only, use \family typewriter \backslash grave \family default for math) \layout List \labelwidthstring 00.00.0000 \family sans S-C-asciitilde \family default \family typewriter accent-tilde \family default -- tilde accent Ц (text mode only, use \family typewriter \backslash tilde \family default for math) \layout List \labelwidthstring 00.00.0000 \family sans C-apostrophe \family default \family typewriter accent-acute \family default -- acute accent А (text mode only, use \family typewriter \backslash acute \family default for math) \layout List \labelwidthstring 00.00.0000 \family sans S-C-asciicircum \family default \family typewriter accent-circumflex \family default -- circumflex (caret) accent Б (text mode only, use \family typewriter \backslash hat \family default for math). \layout Standard Function keys. The new key S-F2 for creating a LaTeX file seems handy. \layout List \labelwidthstring 00.00.0000 \family sans F2 \family default \family typewriter buffer-write \family default -- Save current document. \layout List \labelwidthstring 00.00.0000 \family sans S-F2 \family default \family typewriter buffer-export latex \family default -- Write a LaTeX file for the current document. \layout List \labelwidthstring 00.00.0000 \family sans F3 \family default \family typewriter find-replace \family default -- Find and replace dialog. \layout List \labelwidthstring 00.00.0000 \family sans C-F4 \family default \family typewriter buffer-close \family default -- same as \family typewriter C-w \family default . \layout List \labelwidthstring 00.00.0000 \family sans M-F4 \family default \family typewriter lyx-quit \family default -- \family typewriter Alt-F4 \family default to quit LyX is the W*ndows w*ndow manager's mnemonic. \layout Standard \family typewriter F4 \family default to \family typewriter F8 \family default are used to switch fonts. Use \family typewriter F4 \family default to switch back to the normal font. The non-default font switches \family typewriter F5 \family default - \family typewriter F8 \family default all work as toggles. They also work on the whole word if you put the cursor in the middle of the word, or if you select some text. \layout List \labelwidthstring 00.00.0000 \family sans F4 \family default \family typewriter font-default \family default -- stop using any special font \layout List \labelwidthstring 00.00.0000 \family sans F5 \family default \family typewriter font-bold \family default -- make \series bold bold \series default text. \layout List \labelwidthstring 00.00.0000 \family sans F6 \family default \family typewriter font-emph \family default -- make \emph on emphasized \emph default text. \layout List \labelwidthstring 00.00.0000 \family sans F7 \family default \family typewriter font-code \family default -- make \family typewriter typewritten \family default text. \layout List \labelwidthstring 00.00.0000 \family sans F8 \family default \family typewriter font-noun \family default -- make \noun on Caps/small caps \noun default text. (Used sometimes for people's names.) \layout Standard \family typewriter F9 \family default is bound as \begin_inset Quotes eld \end_inset meta-prefix \begin_inset Quotes erd \end_inset , same as the \family typewriter Alt \family default key (useful e.g.\SpecialChar ~ if the keyboard has no working \family typewriter Alt \family default ). \layout Standard Here are some Sciword-inspired mnemonics for frequently used math symbols. Many symbols start with a \family typewriter C-s \family default sequence. Therefore \family typewriter C-s \family default cannot be itself bound to anything. \layout List \labelwidthstring 00.00.0000 \family sans M-apostrophe \family default \family typewriter math-insert prime \family default -- The \begin_inset Quotes eld \end_inset prime \begin_inset Quotes erd \end_inset symbol \begin_inset Formula $\prime$ \end_inset in math mode. This is frequently unnecessary: in most cases the normal apostrophe works just fine, e.g. \begin_inset Formula $x'+2x=0$ \end_inset , but in some cases this would generate a double superscript error in LaTeX. For example: \begin_inset Formula $x^{\prime2}$ \end_inset ( \begin_inset Formula $x$ \end_inset prime squared) must be entered with the prime character. \layout List \labelwidthstring 00.00.0000 \family sans C-s\SpecialChar ~ apostrophe \family default \family typewriter command-sequence math-superscript; math-insert \backslash prime; \family default -- Insert a prime as a superscript (see example above). \layout List \labelwidthstring 00.00.0000 \family sans C-Up \family default \family typewriter math-insert \family default -- Insert an upper index. Also, \family typewriter ^ \layout List \labelwidthstring 00.00.0000 \family sans C-Down \family default \family typewriter math-insert \family default -- Insert a lower index. Also, \family typewriter _ \layout List \labelwidthstring 00.00.0000 \family sans C-s\SpecialChar ~ d \family default \family typewriter math-insert partial \family default -- Partial derivative symbol \begin_inset Formula $\partial$ \end_inset . \layout List \labelwidthstring 00.00.0000 \family sans C-s\SpecialChar ~ e \family default \family typewriter math-insert sum \family default -- Summation symbol \begin_inset Formula $\sum$ \end_inset (not the same as the Greek letter uppercase Sigma \begin_inset Formula $\Sigma$ \end_inset because it can resize and allows smart upper/lower limits). \layout List \labelwidthstring 00.00.0000 \family sans C-s\SpecialChar ~ p \family default \family typewriter math-insert prod \family default -- Product symbol \begin_inset Formula $\prod$ \end_inset (not the same as the Greek letter uppercase Pi, \begin_inset Formula $\Pi$ \end_inset ). \layout List \labelwidthstring 00.00.0000 \family sans C-s\SpecialChar ~ i \family default \family typewriter math-insert infty \family default -- Infinity \begin_inset Formula $\infty$ \end_inset . \layout List \labelwidthstring 00.00.0000 \family sans C-s\SpecialChar ~ x \family default \family typewriter symbol-insert times \family default -- Cross product \begin_inset Formula $\times$ \end_inset . \layout List \labelwidthstring 00.00.0000 \family sans C-s\SpecialChar ~ v \family default \family typewriter math-matrix 1 2 \family default -- Insert a stacked array \begin_inset Formula $\begin{array}{c} \end{array}$ \end_inset . (Frequently useful in formulae.) \layout List \labelwidthstring 00.00.0000 \family sans C-s\SpecialChar ~ m \family default \family typewriter math-matrix 3 3 \family default -- Insert a 3 \begin_inset Formula $\times$ \end_inset 3 matrix \begin_inset Formula $\begin{array}{ccc} \\\\\end{array}$ \end_inset . (Then you can modify its size using the Layout menu.) \layout List \labelwidthstring 00.00.0000 \family sans C-s\SpecialChar ~ S-plus \family default \family typewriter math-insert dagger \family default -- The \begin_inset Quotes eld \end_inset dagger \begin_inset Quotes erd \end_inset \begin_inset Formula $\dagger$ \end_inset . \layout List \labelwidthstring 00.00.0000 \family sans C-s\SpecialChar ~ equal \family default \family typewriter math-insert equiv \family default -- \begin_inset Quotes eld \end_inset Identical equality \begin_inset Quotes erd \end_inset \begin_inset Formula $\equiv$ \end_inset . \layout List \labelwidthstring 00.00.0000 \family sans M-equal \family default \family typewriter math-insert approx \family default -- \begin_inset Quotes eld \end_inset Approximate equality \begin_inset Quotes erd \end_inset \begin_inset Formula $\approx$ \end_inset . \layout List \labelwidthstring 00.00.0000 \family sans M-minus \family default \family typewriter math-insert sim \family default -- The \begin_inset Quotes eld \end_inset of order \begin_inset Quotes erd \end_inset sign \begin_inset Formula $\sim$ \end_inset . \layout List \labelwidthstring 00.00.0000 \family sans C-minus \family default \family typewriter math-insert rightarrow \family default -- The arrow \begin_inset Formula $\rightarrow$ \end_inset as in \begin_inset Formula $\lim_{x\rightarrow0}$ \end_inset . \layout List \labelwidthstring 00.00.0000 \family sans S-M-less \family default \family typewriter math-insert leq \family default -- Less-or-equal \begin_inset Formula $\leq$ \end_inset . \layout List \labelwidthstring 00.00.0000 \family sans S-M-greater \family default \family typewriter math-insert geq \family default -- Greater-or-equal \begin_inset Formula $\geq$ \end_inset . \layout List \labelwidthstring 00.00.0000 \family sans C-s S-less \family default \family typewriter math-insert ll \family default -- \begin_inset Quotes eld \end_inset Much less than \begin_inset Quotes erd \end_inset \begin_inset Formula $\ll$ \end_inset (useful in physics) \layout List \labelwidthstring 00.00.0000 \family sans C-s S-greater \family default \family typewriter math-insert gg \family default -- \begin_inset Quotes eld \end_inset Much greater than \begin_inset Quotes erd \end_inset sign \begin_inset Formula $\gg$ \end_inset . \the_end