I was adding some stuff to the wiki today and decided to add a tip about how to use endnotes. This got me thinking. If you want all your notes to be endnotes, then it's easy. But what if you wanted to have SOME endnotes but also be able to use footnotes? Then, I thought, you have to use ERT. But no, I realized, you don't: You could create a character style, thus:
CharStyle Endnote LatexType Command LatexName endnote Font Family Roman Size Small Color blue EndFont LabelFont Family Roman Color blue EndFont Preamble \usepackage{endnotes} EndPreamble End This does work, though it doesn't look all that wonderful. And that's too bad, because this trick could be used more broadly: ANY single-argument LaTeX command could be transformed into a character style. But what if you could do this: CharStyle Endnote LatexType Command LatexName endnote LyxType Inset Preamble \usepackage{endnotes} EndPreamble End Then you'd have a really incredible ability to customize LyX. Thoughts? Richard -- ================================================================== Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ ================================================================== Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto