Edit Links |
FAQ /
Unsorted1Categories: Uncategorized << Unsorted | Page list | Tables >>This is FAQ.Unsorted 1 with new questions and answers.
This page contains questions that have not been sorted into categories yet. Add new questions (with answers) to this page, maybe they'll be sorted into categories eventually. §Why doesn't Meta-D (Alt-D) etc work as expected with Emacs keyboard bindings?This happens because of a conflict between the frontend (Xforms or Qt) which grabs the key and uses it to open a menu (Meta-D will open the menu Document). You can work around this by making your own .ui-files, where you in this case have to change a line such as this: SubMenu "Document|D" "document" into SubMenu "Document" "document"
§How do I get a tilde-character? (~)The tilde in Latex is \textasciitilde but for URL's, you bettter use \url{http://www.foo.com/~bar} in ERT which requires \usepackage{url} in the preamble. (The url-package allows linebreaking of URL's). §Why is the printed output slightly different from the view on screen?See this thread in the users' list.
§How do I get Export to DVI, PS or PDF to work under Debian?If you get error messages of this kind: Font T1/cmr/m/it/6=ecti0600 at 6.0pt not loadable: Metric (TFM) file not found then, according to this thread, you probably do not have the perrmissions to operate in /var/cache/fonts/. The easiest solution is to add your user to the 'users' group; this will give you enough privileges to work on /var/cache/fonts/ and get your documents to compile. Refer to the dissussion for more details §How can I share the same preamble in different LyX documents?Sharing a preamble allows you to configure many document settings and have them be consistent across all of the relevant documents. First copy the preamble into a text file, preamble.tex for example, then replace the existing preamble with \input{preamble} §How do I get German umlauts in LyX-Menus under Ubuntu?LyX does not understand utf-8 yet (coming in 1.5.x), but you can easily generate the locale: sudo locale-gen de_DE §How do I get medieval numerals (old-style, hanging figures)?Use ERT: \oldstylenums{4529}
§ How do I get medieval numerals in the whole document incl. sections etc.?If you use the Computer Modern fonts (LaTeX's default fonts): Download the ECO fonts and install them according to the description in INSTALL file. Run If you don't like the Computer Modern fonts, there are also other fonts that support Old Style figures. The new Palatino package, for instance, supports it by using §How can I typeset certain pages of my documents in landscape mode?Use the package Add to the preamble: \usepackage{pdflscape} In the document, embrace the pages which should be in landscape mode by: § How do I get line numbers?Load the lineno package in the preamble with the following command to get line numbers to the left of every fifth line: To get a line number next to each and every line leave out the arguments in the preamble: Now place the text you want numbered between the following commands in ERT: § How do I add an unnumbered section "SectionName" to my document while preserving toc and header functionality?After your section*{SectionName} add: § How do I add the index to the toc in LyX?We can't just place addcontentsline in front or after the index in LyX, because the toc line will jump to the wrong page. To make it jump correctly we need to add it to the index environment. To do this add the following to the preamble: § How do I add the nomenclature to the toc in LyX?We can't put intoc in the usepackage{nomencl}, as lyx defines the package. Like with the index, we can't just place addcontentsline in front or after the nomenclature in LyX, because the toc line will jump to the wrong page. To make it jump almost correctly (it jumps to the first word) we need to add it to the nomenclature environment. To do this add the following to the preamble: § How do I get headers on my index pages?printindex sets the pagestyle to plain, to counter this, we can redefine this pagestyle. If we use the fancy pagestyle throughout our document we can add the following to the preamble: § How do I ensure/force a blank page after the TOC to get the next section to start on the right (verso) page?I encountered this in my book(memoir) recently. Situation: The TOC was just long enough to be reaching the bottom of the recto page, but not quite. The Chapter following would be "glued" to the TOC without a blank page between them, thus it would appear on the verso -- not ideal. Solution : Insert chapterprecis and type one line, then ctrl-enter and some spaces. I did this under all my chapters and this puts a line under the precis -- which also appears in the toc. This increases the toc size enough for it to break onto the next verso page. In short : Increase the size of the toc by "padding" it some way. Naturally, there is probably a better way, this is a hack. § Is it possible to fold nested environments, just like I can fold paragraphs in vi?I have structured proof, in which each step contains proof which is built from another steps, so I would love to just fold the sublevel when I want to see only top-side level... I hope I made myself clear. The minipage doesn't do the trick, since it's float, and sublevel can be several pages long... Categories: Uncategorized << Unsorted | FAQ.PageList | Tables >> |