Elbert Branscomb wrote: > Hello, > > I'm running lyx-2.1.3 on a 64 bit Linux box (Gentoo; up to date; except > that the kernel is 3.12.13-gentoo). > > With all lyx-provided math packages set to "load always", including > specifically amsmath and mathtools (and with lyx restarted) I still > only have access to two of the extended horizontal arrows: xleftarrow > and xrightarrow; not to any of the others listed in the math help > document; most importantly for me at the moment: "xrightleftharpoons". > This seems to contradict what the math help doc says in section 6.1. > > Help?
The documentation is a bit terse here. The commands are not available in the sense "known by LyX", i.e. recognized as symbols or appearing in a menu or toolbar, but available in the sense "known by LaTeX", i.e. if you enter them as ERT in a math box, then the PDF output will be correct. This works for me (I suppose you know that \xrightleftharpoons needs an argument). Not that you do not need to restart LyX (this is a document setting), and you only need to set mathtools to "load always", amsmath can be left at auto. If you like, you can file enhancement requests at http://www.lyx.org/trac/wiki/BugTrackerHome for a) the documentation (it should make it clear that ERT is needed) and b) native support for the not yet supported macros from mathtools.sty. If you do not get a correct PDF output you can also file a bug report, but please include a minimal test case, otherwise it will be likely to be closed as "worksforme". Georg