Re: Figure Float Rotated When Exported: Why?
On 2011-06-13, Rich Shepard wrote: I created a figure using gnuplot (because neither PSTricks nor R can make a bar plot with dates as the x labels), and exported it as PostScript (.ps). When I view the document, the figure is properly oriented, but when I export the file to pdflatex, the figure is rotated 90 degrees counterclockwise. Rotating the figure in the document is necessary so it is properly oriented when the file is compiled. Any ideas why this happened? No. However, you might try the eps option: set terminal postscript eps or, e.g., set terminal postscript eps NimbusRomNo9L-Regu 16 Günter
Re: Separating Paragraphs: Indentation vs Vertical Space
On 2011-06-13, Bruce Pourciau wrote: On Jun 10, 2011, at 3:42 PM, Guenter Milde wrote: On 2011-06-10, Bruce Pourciau wrote: At various spots within a document where paragraphs are separated with indentation, I often have claims, propositions, laws, etc, which I would like formatted flush left with some vertical space before and after. ... How about the FancyBreak module? ... Günter, what if I need the the format of this fancy break text to be like the text after a section in the Article class: flush left (no indent) and justified, rather than centered. The FancyBreak style is intended just for the break, either with no text at all or with some decoration (e.g. three stars). The KeepEmpty keyword ensures that LyX will not delete this special paragraph even when it is empty. The to-be-separated paragraph (claim, proposition, ...) should be typed after another [Return] in a paragraph of Standard (or whatever) style. The basic idea is a promintent separator between standard paragraphs. * * * However, in your case you could consider to write a special Style for your claims, propositions, laws ... that would take content and give it the desired formatting. Then I should replace the choice center for Align and AlignPossible with ? And should I replace something in the Preamble part? both. The normal keywords tell LyX what to show and what to do, while the Preamble defines the command for LaTeX. Example: Style Proposition LatexNameproposition LatexTypecommand ParSep 1 NextNoIndent 1 Preamble \providecommand{\proposition}[1]{\par \vskip 0.5\baselineskip \noindent #1 \vskip 0.5\baselineskip \@afterindentfalse \@afterheading} EndPreamble End If the proposition (or ...) may contain more than one paragraph, the Style should be defined as an environment and the second+ paragraphs nested ... See the section on new layouts in HelpCustomization. Günter
Adding a logo to beamer presentation
Hello I am trying to add a logo to a beamer presentation Lyx 1.6.7 Ubuntu 10.10 Goettingen theme I tried just \logo{\includegraphics[height=0.5cm]{Biocensustraininglogonew.JPG}} an option in the Beamer instructions both as a preamble and ERT but nothing happened , no errors no logo. The logo file is in the same directory as the lyx file. I then tried: \usepackage{pgf} \pgfdeclareimage[height=0.5cm]{Biocensus-logo}{/home/graham/Dropbox/Lectures/WildlifeLegislation/Biocensustraininglogonew.JPG} \logo{\pgfuseimage{Biocensus-logo}} Again no error messages and no logo. My search through google seems to just confirm the above method of doing what I am doing, but obviously I am missing something. Can anyone help. Many thanks, Graham
Working with two documents in one Window
hello is there a possibility to use the view of one document in two windows (left/right, top/bottom) for two separate documents? best jess
Re: Adding a logo to beamer presentation
On Tue, Jun 14, 2011 at 10:52 AM, Graham Smith myotis...@gmail.com wrote: Hello I am trying to add a logo to a beamer presentation Lyx 1.6.7 Ubuntu 10.10 Goettingen theme [..] My search through google seems to just confirm the above method of doing what I am doing, but obviously I am missing something. I'm wondering if it's not theme-related. Have you tried with some other themes? Liviu
Re: Working with two documents in one Window
On 06/14/2011 06:16 AM, jezZiFeR wrote: hello is there a possibility to use the view of one document in two windows (left/right, top/bottom) for two separate documents? Yes. Just open whatever document you want in whichever view you want. I.e., split the view, then open the new document. rh
Re: Figure Float Rotated When Exported: Why?
On Mon, 13 Jun 2011, Julien Rioux wrote: I've seen this happen because of a %%Orientation: Landscape line in the postscript. It's up to the converter to decide how to interpret this and whether to apply a rotation or not. The png and eps converters evidently behave differently. Julien, That's interesting. I saw the same results for both eps and ps (since they are so closely related it's not surprising). Thanks, Rich
Re: Figure Float Rotated When Exported: Why?
On Tue, 14 Jun 2011, Guenter Milde wrote: No. However, you might try the eps option: set terminal postscript eps or, e.g., set terminal postscript eps NimbusRomNo9L-Regu 16 Guenter, Initially I set t postscript eps enhanced and tried to have gnuplot accept the palladio typeface. No joy there. Rather than wasting more time with this, I switched to Times and that worked. The eps output rotated itself so I regenerated the plot as ps; no difference. Both need to be rotated in lyx to appear properly in the generated pdf. Thanks, Rich
Re: Adding a logo to beamer presentation
Liviu I'm wondering if it's not theme-related. Have you tried with some other themes? You are correct, it is linked to the them, changing to Warsaw gives me the logo in the bottom left corner. Which is fine except I really want the Goettingen theme. Having tried a few themes it seems it doesn't work if you have a theme with a vertical navigation bar. That's a blow, but at least I now know what is going on. Thanks, Graham
Re: Images in Headings/TOC
Julien Rioux jrioux at physics.utoronto.ca writes: There is a way to distinguish in-text section text and in-toc section text. If that's what you want, here's how to do it. With your cursor on the section line inside the LyX editor window, use the menu Insert Short Title to insert the text that appear in the TOC and in page headers. Hope this helps, Julien Thanks, that worked...except for Part headings. The Short Title option is greyed out in that case. Anyone have any ideas on how to keep a graphic in the heading of the main document, but out of the corresponding heading listing in the table of contents?
Comment écrire opérateur adjoint en mécanique quantique ?
Voilà. Comment écrire A^+ (avec dague au lieu de +) ? Merci very much schön ! RJ
Re: Separating Paragraphs: Indentation vs Vertical Space
On Jun 14, 2011, at 2:50 AM, Guenter Milde wrote: On 2011-06-13, Bruce Pourciau wrote: On Jun 10, 2011, at 3:42 PM, Guenter Milde wrote: On 2011-06-10, Bruce Pourciau wrote: At various spots within a document where paragraphs are separated with indentation, I often have claims, propositions, laws, etc, which I would like formatted flush left with some vertical space before and after. However, in your case you could consider to write a special Style for your claims, propositions, laws ... that would take content and give it the desired formatting. Example: Style Proposition LatexName proposition LatexType command ParSep1 NextNoIndent 1 Preamble \providecommand{\proposition}[1]{\par \vskip 0.5\baselineskip \noindent #1 \vskip 0.5\baselineskip \@afterindentfalse \@afterheading} EndPreamble End If the proposition (or ...) may contain more than one paragraph, the Style should be defined as an environment and the second+ paragraphs nested ... See the section on new layouts in HelpCustomization. Günter This is just what I need. I've saved it as a LyX module. Thank you. How do I get the separation to show up in LyX? I'm assuming the ParSep 1 won't make the separation show up, because for this article I have Indentation checked in Text Layout. Should I replace ParSep 1 with something else? Bruce
Re: Comment écrire opérateur adjoint en mécanique quantique ?
On Tuesday 14 June 2011 16:53:53 Robert Joseph wrote: Voilà. Comment écrire A^+ (avec dague au lieu de +) ? Merci very much schön ! RJ \dagger in math mode will work. -- José Abílio
Re: spell checker not active
On Saturday 11 June 2011 18:21:46 Cor Blom wrote: Maybe your hunspell is too recent? 1.3 is not found by lyx. See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169351.html Regards, Cor FWIW this patch has been committed and it will be present in lyx-2.0.1. -- José Abílio
LyX 2.0.0 spell checker {KBD shortcut(s)}
Has anybody else experienced these keyboard shortcut issues with the spellchecker sidebar on LyX 2.0??? Especially any one NOT using the binary found in the PCLinuxOS repository? If it matters: I'm a ‘multi-boot’, ‘multi-Linux Distro’ user. And I use whichever version of LyX is available from the repository of whichever Linux system I'm currently using. I may be a bit too dependent on the various package management systems on my installed distros but most of the time this saves me a lot of dependency headaches. At the moment the only one of my installed Linux that normal system upgrades resulted in LyX 2.0.0 (April 29 2011) is my PCLinuxOS installation. Thus I have no other LyX 2.0 to use to see if the keyboard shortcut issues I've encountered are inherent in LyX 2.0.0, or {I do hope} perhaps they stem from some modifications made by the PCLinuxOS package maintainers. I asked about these issues earlier and got some suggestions, but nobody said that their LyX 2.0 had the same problem. Since most people nowadays are more comfortable with using the mouse as a primary control interface, it is quite possible that more LyX 2.0 users have these keyboard shortcut issues than are aware of it. (simply because they click on the buttons rather than typing in the keyboard shortcuts.) The shortcut issues I'm having are: 1) The Alt+D on the Add button conflicts with the Document pull down menu. To actually add the word to the word list I MUST click on the button with the mouse. 2) The Alt+I on the Ignore button conflicts with the Insert pull down menu. Again I MUST click... 3) The Alt+F on the Find next button conflicts with the File pull down menu. Again I MUST click... 3) There does not appear to be any way to use the keyboard to dismiss the sidebars so that the document text can use the entire window/screen width. To ditch the sidebar I MUST click on the little x marked button in the upper right hand corner. Note: I can disengage the sidebars focus with escape and edit the document using only the approximately 2/3's of the screen/window width. But I can't make the sidebar go away with the keyboard. And I note: that this is so regardless of whether or not I've selected the Spellcheck Continuously setting... If anyone is experiencing symptoms like that with their copy of LyX... Please tell me! -- | ~^~ ~^~ | ? ? Joe (theWordy) Philbrook | ^J(tWdy)P |\___/ jtw...@ttlc.net
Re: LyX 2.0.0 spell checker {KBD shortcut(s)}
On 06/14/2011 11:52 AM, Joe(theWordy)Philbrook wrote: I may be a bit too dependent on the various package management systems on my installed distros but most of the time this saves me a lot of dependency headaches. I don't think I would fault anyone for being dependent upon package management systems on a distro. I've been using debian since -- I have no idea how long --- and have found that the package management is now very, very good (it wasn't so smart at first), and it is very difficult to avoid difficulties if you oppose its wishes. I am also using 2.0.0, under debian testing (wheezy). The shortcut issues I'm having are: 1) The Alt+D on the Add button conflicts with the Document pull down menu. To actually add the word to the word list I MUST click on the button with the mouse. 2) The Alt+I on the Ignore button conflicts with the Insert pull down menu. Again I MUST click... 3) The Alt+F on the Find next button conflicts with the File pull down menu. Again I MUST click... I see these phenomena as well (I use gnome, but it seems that this is an issue about LyX that is independent of the window-manager). If you just right-click on the misspelled word when using continuous spellchecking (something I thought I would never do, but I do like it now), you do not get those keyboard shortcuts at all. Maybe they need to be removed from the spellchecker window, or changed to avoid the conflicts. This may also depend upon how you set up your LyX shortcuts. I use cua with a few additions (not conflicting with these commands). One thing to note is that, if the spellchecker window has the focus, you can use the shortcuts. But typically the focus would be on the main window, and since that gets the focus the shortcuts would go to its menu. So you have to use the mouse, no matter what, at least to shift the input focus to the spellchecker window. -- David L. Johnson Business! cried the Ghost. Mankind was my business. The common welfare was my business; charity, mercy, forbearance, and benevolence, were, all, my business. The dealings of my trade were but a drop of water in the comprehensive ocean of my business! --Dickens, A Christmas Carol
Re: Adding a logo to beamer presentation
On Tue, Jun 14, 2011 at 4:28 PM, Graham Smith myotis...@gmail.com wrote: You are correct, it is linked to the them, changing to Warsaw gives me the logo in the bottom left corner. Which is fine except I really want the Goettingen theme. Having tried a few themes it seems it doesn't work if you have a theme with a vertical navigation bar. Each Beamer theme is a collection of LaTeX commands, meaning that instead of using a given theme you could compile several commands (from different themes) that would give you the look you desire. I'd start with Beamer's documentation. Regards Liviu
Re: Images in Headings/TOC
On 14/06/2011 10:49 AM, H. Hodges wrote: Julien Riouxjriouxat physics.utoronto.ca writes: There is a way to distinguish in-text section text and in-toc section text. If that's what you want, here's how to do it. With your cursor on the section line inside the LyX editor window, use the menu Insert Short Title to insert the text that appear in the TOC and in page headers. Hope this helps, Julien Thanks, that worked...except for Part headings. The Short Title option is greyed out in that case. Anyone have any ideas on how to keep a graphic in the heading of the main document, but out of the corresponding heading listing in the table of contents? This looks like an oversight, because LaTeX itself provides this feature also for parts, but LyX doesn't. Solution: Define OptionalArgs 1 for the Part style in the layout file you are using. (if this sounds alien to you just ask and I or someone will try to explain) Devs: See attached patch. -- Julien Index: lib/layouts/stdsections.inc === --- lib/layouts/stdsections.inc (revision 39050) +++ lib/layouts/stdsections.inc (working copy) @@ -27,6 +27,7 @@ ParSep0.8 Align Center Alignpossible Center + OptionalArgs 1 Font Series Bold SizeHuge Index: lib/layouts/stdstarsections.inc === --- lib/layouts/stdstarsections.inc (revision 39050) +++ lib/layouts/stdstarsections.inc (working copy) @@ -17,6 +17,7 @@ LatexName part* LabelType No_Label LabelCounter + OptionalArgs 0 End
Re: beamer lyx page numbering
On 13/06/2011 5:37 AM, Liviu Andronic wrote: On Mon, Jun 13, 2011 at 11:04 AM, tania kallabtaniakal...@hotmail.com wrote: Hi again, i am working on beamer template for presentations using lyx there are two things i am stuck with inserting the page numberering This can be achieved by experimenting with different themes. See [1] for some pointers. [1] http://wiki.lyx.org/Examples/Beamer Skipping automatically to the next slide when the first one is full without having to start a frame evrytime I'm not sure what exactly you mean, but you should know that beamer always expects the user to specify the beginning of a new frame. Furthermore, LyX cannot know before-hand when a slide is full, as it would first need to compile the entire document. However, even in this case LyX doesn't (and possibly will never) feature the automatic mechanisms that would allow it to spot that a slide is full, and relies on your eyes to do that. Regards Liviu Sorry but this is actually misleading a bit. You can have frame breaks in beamer. In that use case frames are filled just like the pages in a regular article. Coming from the powerpoint world you would never want to do that, but from a latex world this is what you expect from latex in general: you expect that it does the layout for you. Solution: Put [allowframebreaks] in TeX code as the very first thing in your Frame heading in LyX. I use this for bibliography slide(s). -- Julien
Implementation of minutes.sty in LyX?
Dear LyX-users, to write minutes of meetings, there is the LaTeX package minutes.sty. Is there a way to install a LyX implementation of this package at documents - settings - modules? greetings from Germany, Marcus -- E-Mail: m.gloe...@gmx.de
Suggestions for my Debian 6 LyX guide?
Dear LyX Users, I'm putting together a one-page guide to installing and using LyX on the latest stable version of Debian Linux. My hope is that the installation procedure it contains could be followed by a local charity which installs Linux on old donated hardware, but even if that doesn't happen I'd be satisfied just having something I can pass on to other Debian users who want to get started using LyX. What follows is the guide I have so far, which represents what I did to set up LyX on my own Debian 6.0.1 machine. Any suggestions, particularly as regards potential gotchas I should address, extra software which users might appreciate being installed as they advance in their understanding of LyX, or common points of confusion for new users, would all be appreciated. [Note: The steps I used to lay down the operating system are at http://russellb.livejournal.com/1335718.html but I doubt they'd be relevant for the limited purpose of critiquing the LyX install.] A ONE-PAGE GUIDE TO INSTALLING AND USING LYX ON DEBIAN 6 DESKTOPS 1. To install LyX, start by opening System-Administration-Synaptic Package Manager. Under Settings-Preferences-General make sure Consider recommended packages as dependencies is checked, then install the following packages: texlive-full, latex2rtf, chktex, rcs, and lyx. [Note: If you anticipate creating multiple documents with lengthy bibliographies, then install the pybliographer package as well.] 2. Open System-Preferences-Keyboard-Layouts-Options-Compose Key Position, and check Right Win (check something else if your keyboard doesn't have those generally unused Windows logo keys): you can then press and release this key, followed by two other keys according to the chart at http://www.hermit.org/Linux/ComposeKeys.html to type special characters. 3. If you're using US letter sized paper (i.e. 8 1/2 x 11) rather than the slightly larger European A4 sized paper, then LyX needs to be told this. Start LyX, make the change to US letter paper in Tools-Preferences-Output-LaTeX, then select Save. Next, open a new document in LyX (via File-New), go to Document-Settings-Page Layout, change the paper format to US Letter, and click on Save as Document Defaults. You shouldn't have to make either of these changes again. 4. The fact that you installed latex2rtf, chktex and rcs enables a few more features in LyX (if you don't see them right away run Tools-Reconfigure and then restart LyX): you can use File-Export to export a LyX file as Rich Text Format (which Microsoft Word and almost all other word processing software can understand), the Check TeX command in the Tools menu helps you find typographical problems with your document, and Version Control in the File menu lets you track your writing progress and revert to any earlier version of your document (for more details on using version control see Help-Additional Features-Table of Contents-LyX Features needing Extra Software-Version Control in LyX). 5. If you'll be exporting as Rich Text Format, and then importing into Microsoft Word, any LyX documents which contain equations, then go to Tools-Preferences-File Handing-Converters and remove the -p and -S switches from the command which invokes latex2rtf [Note: after saving this change you'll need to run Reconfigure and restart LyX]. 6. It bears mentioning that the only reason you should ever have to export a LyX document as Rich Text Format is if the person you'll be sending that RTF file will be taking over the job of editing it: if the recipient only needs to read your document, then you should save it in standard PDF (pdflatex) format, which unlike RTF format will present your document exactly as it is supposed to look. 7. If you're creating an Encapsulated Postscript graphic for later inclusion in a LyX document, it's generally best to save that graphic without the preview. 8. If you're asked to use double-spacing with a 12 point font, then open your LyX document and go to Document-Settings-Text Layout to set Line spacing to Double, and go to Document-Settings-Document Class to enter 12pt as a Custom Class Option.
xetex CV
Hello everyone. I downloaded LyX a few days ago and then I tried to make a CV. As I surfed through the web, I kept finding more and more styles for this so I finally decided for one, xetexCV. The thing is that I followed all the steps in this website: http://blog.oak-tree.us/index.php/2010/05/19/latex-cv-part4 and used the .zip there provided. After that, I tried to make a PDF output of the example LyX's file included. Won't compile, the legend No \title given. pops up. I tried a few things out but couldn't manage to sort that. I don't know LaTeX I (only know the Maths Mode) so I can't analyze what's going on. If you want I can copypaste the LaTeX source cod LyX displays, but it'll make the message heavy, maybe it's better for you to download the .zip in the site I mentioned, but if you prefer, I could post the code in another mail. I have LyX 2.0.0 and MikTex 2.9. Pretty much followed the intuitive Windows installation wizard. Thank you for your time. Mauro. P.S: Hope I posted this in the right place.
Re: LyX 2.0.0 spell checker {KBD shortcut(s)}
It would appear that on Jun 14, David L. Johnson did say: On 06/14/2011 11:52 AM, Joe(theWordy)Philbrook wrote: I may be a bit too dependent on the various package management systems on my installed distros but most of the time this saves me a lot of dependency headaches. I don't think I would fault anyone for being dependent upon package management systems on a distro. I've been using debian since -- I have no idea how long --- and have found that the package management is now very, very good (it wasn't so smart at first), and it is very difficult to avoid difficulties if you oppose its wishes. I am also using 2.0.0, under debian testing (wheezy). The shortcut issues I'm having are: 1) The Alt+D on the Add button conflicts with the Document pull down menu. To actually add the word to the word list I MUST click on the button with the mouse. 2) The Alt+I on the Ignore button conflicts with the Insert pull down menu. Again I MUST click... 3) The Alt+F on the Find next button conflicts with the File pull down menu. Again I MUST click... I see these phenomena as well (I use gnome, but it seems that this is an issue about LyX that is independent of the window-manager). I'll by that, I'm using E17... If you just right-click on the misspelled word when using continuous spellchecking (something I thought I would never do, but I do like it now), you do not get those keyboard shortcuts at all. That's something I know I wouldn't learn to like. Not only do my fingers quickly go numb when I start using the mouse a lot, But I sometimes have difficulty controlling it accurately. I do a little better with my trackball than a traditional mouse but as a control interface it still gives me much aggravation. Aside from which I would NOT want full time spellchecking. Anything that instantly tells me a word is misspelled (even those stupid squiggly underlines like they use in some word processors and web browsers, are enough to make me lose track of the creative thought process when I'm typing new content... Maybe they need to be removed from the spellchecker window, {whimper} If they remove them nobody will ever fix them and I don't wanna be stuck with the mouse. or changed to avoid the conflicts. Now that's the ticket. But to avoid the conflict with Documents, the Add button would have to either need to use a character NOT in it's label or give it the Alt+A shortcut, which would mean the Replace All button couldn't use the A anymore. And so on... A better solution would be perhaps to force the focus to switch to the spell checker window when F7 is pressed, and keep it there until (the escape key is pressed, the spell checker window is closed, or a mouse click is made within the main window. This may also depend upon how you set up your LyX shortcuts. I use cua with a few additions (not conflicting with these commands). Could you tell me how to add one to close the spellchecker. The sidebar doesn't disappear upon the escape key any more. And while I can't remember if undocking it so that it's once again a floating box that hides part of the context goes away upon the esc key. But I surely noticed that undocking it from being a sidebar stops the questionable words from getting highlighted... One thing to note is that, if the spellchecker window has the focus, you can use the shortcuts. But typically the focus would be on the main window, and since that gets the focus the shortcuts would go to its menu. So you have to use the mouse, no matter what, at least to shift the input focus to the spellchecker window. {whimper} -- | ~^~ ~^~ | * * Joe (theWordy) Philbrook | ^J(tWdy)P | \___/ jtw...@ttlc.net
Re: xetex CV
Hello On Wed, Jun 15, 2011 at 4:37 AM, Mauro fontana.ma...@gmail.com wrote: Hello everyone. I downloaded LyX a few days ago and then I tried to make a CV. As I surfed through the web, I kept finding more and more styles for this so I finally decided for one, xetexCV. The thing is that I followed all the steps in this website: http://blog.oak-tree.us/index.php/2010/05/19/latex-cv-part4 and used the .zip there provided. After that, I tried to make a PDF output of the example LyX's file included. Won't compile, the legend No \title given. pops up. I Yes, I've stumbled upon this myself. Some time ago I reported the error to Rob, but then he didn't have a ready-to-ship solution. Perhaps he would have more to add now, or maybe not. Cheers Liviu PS An unsatisfactory solution would be to get rid of all the \title calls in the document, basically all the environments other than section and subsection (if I remember right). If you can hack the header part by yourself (as in this [1] CV template), the you might be able to use xetexCV even so. [1] http://wiki.lyx.org/Examples/CV#toc11 tried a few things out but couldn't manage to sort that. I don't know LaTeX I (only know the Maths Mode) so I can't analyze what's going on. If you want I can copypaste the LaTeX source cod LyX displays, but it'll make the message heavy, maybe it's better for you to download the .zip in the site I mentioned, but if you prefer, I could post the code in another mail. I have LyX 2.0.0 and MikTex 2.9. Pretty much followed the intuitive Windows installation wizard. Thank you for your time. Mauro. P.S: Hope I posted this in the right place. -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Figure Float Rotated When Exported: Why?
On 2011-06-13, Rich Shepard wrote: I created a figure using gnuplot (because neither PSTricks nor R can make a bar plot with dates as the x labels), and exported it as PostScript (.ps). When I view the document, the figure is properly oriented, but when I export the file to pdflatex, the figure is rotated 90 degrees counterclockwise. Rotating the figure in the document is necessary so it is properly oriented when the file is compiled. Any ideas why this happened? No. However, you might try the eps option: set terminal postscript eps or, e.g., set terminal postscript eps NimbusRomNo9L-Regu 16 Günter
Re: Separating Paragraphs: Indentation vs Vertical Space
On 2011-06-13, Bruce Pourciau wrote: On Jun 10, 2011, at 3:42 PM, Guenter Milde wrote: On 2011-06-10, Bruce Pourciau wrote: At various spots within a document where paragraphs are separated with indentation, I often have claims, propositions, laws, etc, which I would like formatted flush left with some vertical space before and after. ... How about the FancyBreak module? ... Günter, what if I need the the format of this fancy break text to be like the text after a section in the Article class: flush left (no indent) and justified, rather than centered. The FancyBreak style is intended just for the break, either with no text at all or with some decoration (e.g. three stars). The KeepEmpty keyword ensures that LyX will not delete this special paragraph even when it is empty. The to-be-separated paragraph (claim, proposition, ...) should be typed after another [Return] in a paragraph of Standard (or whatever) style. The basic idea is a promintent separator between standard paragraphs. * * * However, in your case you could consider to write a special Style for your claims, propositions, laws ... that would take content and give it the desired formatting. Then I should replace the choice center for Align and AlignPossible with ? And should I replace something in the Preamble part? both. The normal keywords tell LyX what to show and what to do, while the Preamble defines the command for LaTeX. Example: Style Proposition LatexNameproposition LatexTypecommand ParSep 1 NextNoIndent 1 Preamble \providecommand{\proposition}[1]{\par \vskip 0.5\baselineskip \noindent #1 \vskip 0.5\baselineskip \@afterindentfalse \@afterheading} EndPreamble End If the proposition (or ...) may contain more than one paragraph, the Style should be defined as an environment and the second+ paragraphs nested ... See the section on new layouts in HelpCustomization. Günter
Adding a logo to beamer presentation
Hello I am trying to add a logo to a beamer presentation Lyx 1.6.7 Ubuntu 10.10 Goettingen theme I tried just \logo{\includegraphics[height=0.5cm]{Biocensustraininglogonew.JPG}} an option in the Beamer instructions both as a preamble and ERT but nothing happened , no errors no logo. The logo file is in the same directory as the lyx file. I then tried: \usepackage{pgf} \pgfdeclareimage[height=0.5cm]{Biocensus-logo}{/home/graham/Dropbox/Lectures/WildlifeLegislation/Biocensustraininglogonew.JPG} \logo{\pgfuseimage{Biocensus-logo}} Again no error messages and no logo. My search through google seems to just confirm the above method of doing what I am doing, but obviously I am missing something. Can anyone help. Many thanks, Graham
Working with two documents in one Window
hello is there a possibility to use the view of one document in two windows (left/right, top/bottom) for two separate documents? best jess
Re: Adding a logo to beamer presentation
On Tue, Jun 14, 2011 at 10:52 AM, Graham Smith myotis...@gmail.com wrote: Hello I am trying to add a logo to a beamer presentation Lyx 1.6.7 Ubuntu 10.10 Goettingen theme [..] My search through google seems to just confirm the above method of doing what I am doing, but obviously I am missing something. I'm wondering if it's not theme-related. Have you tried with some other themes? Liviu
Re: Working with two documents in one Window
On 06/14/2011 06:16 AM, jezZiFeR wrote: hello is there a possibility to use the view of one document in two windows (left/right, top/bottom) for two separate documents? Yes. Just open whatever document you want in whichever view you want. I.e., split the view, then open the new document. rh
Re: Figure Float Rotated When Exported: Why?
On Mon, 13 Jun 2011, Julien Rioux wrote: I've seen this happen because of a %%Orientation: Landscape line in the postscript. It's up to the converter to decide how to interpret this and whether to apply a rotation or not. The png and eps converters evidently behave differently. Julien, That's interesting. I saw the same results for both eps and ps (since they are so closely related it's not surprising). Thanks, Rich
Re: Figure Float Rotated When Exported: Why?
On Tue, 14 Jun 2011, Guenter Milde wrote: No. However, you might try the eps option: set terminal postscript eps or, e.g., set terminal postscript eps NimbusRomNo9L-Regu 16 Guenter, Initially I set t postscript eps enhanced and tried to have gnuplot accept the palladio typeface. No joy there. Rather than wasting more time with this, I switched to Times and that worked. The eps output rotated itself so I regenerated the plot as ps; no difference. Both need to be rotated in lyx to appear properly in the generated pdf. Thanks, Rich
Re: Adding a logo to beamer presentation
Liviu I'm wondering if it's not theme-related. Have you tried with some other themes? You are correct, it is linked to the them, changing to Warsaw gives me the logo in the bottom left corner. Which is fine except I really want the Goettingen theme. Having tried a few themes it seems it doesn't work if you have a theme with a vertical navigation bar. That's a blow, but at least I now know what is going on. Thanks, Graham
Re: Images in Headings/TOC
Julien Rioux jrioux at physics.utoronto.ca writes: There is a way to distinguish in-text section text and in-toc section text. If that's what you want, here's how to do it. With your cursor on the section line inside the LyX editor window, use the menu Insert Short Title to insert the text that appear in the TOC and in page headers. Hope this helps, Julien Thanks, that worked...except for Part headings. The Short Title option is greyed out in that case. Anyone have any ideas on how to keep a graphic in the heading of the main document, but out of the corresponding heading listing in the table of contents?
Comment écrire opérateur adjoint en mécanique quantique ?
Voilà. Comment écrire A^+ (avec dague au lieu de +) ? Merci very much schön ! RJ
Re: Separating Paragraphs: Indentation vs Vertical Space
On Jun 14, 2011, at 2:50 AM, Guenter Milde wrote: On 2011-06-13, Bruce Pourciau wrote: On Jun 10, 2011, at 3:42 PM, Guenter Milde wrote: On 2011-06-10, Bruce Pourciau wrote: At various spots within a document where paragraphs are separated with indentation, I often have claims, propositions, laws, etc, which I would like formatted flush left with some vertical space before and after. However, in your case you could consider to write a special Style for your claims, propositions, laws ... that would take content and give it the desired formatting. Example: Style Proposition LatexName proposition LatexType command ParSep1 NextNoIndent 1 Preamble \providecommand{\proposition}[1]{\par \vskip 0.5\baselineskip \noindent #1 \vskip 0.5\baselineskip \@afterindentfalse \@afterheading} EndPreamble End If the proposition (or ...) may contain more than one paragraph, the Style should be defined as an environment and the second+ paragraphs nested ... See the section on new layouts in HelpCustomization. Günter This is just what I need. I've saved it as a LyX module. Thank you. How do I get the separation to show up in LyX? I'm assuming the ParSep 1 won't make the separation show up, because for this article I have Indentation checked in Text Layout. Should I replace ParSep 1 with something else? Bruce
Re: Comment écrire opérateur adjoint en mécanique quantique ?
On Tuesday 14 June 2011 16:53:53 Robert Joseph wrote: Voilà. Comment écrire A^+ (avec dague au lieu de +) ? Merci very much schön ! RJ \dagger in math mode will work. -- José Abílio
Re: spell checker not active
On Saturday 11 June 2011 18:21:46 Cor Blom wrote: Maybe your hunspell is too recent? 1.3 is not found by lyx. See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169351.html Regards, Cor FWIW this patch has been committed and it will be present in lyx-2.0.1. -- José Abílio
LyX 2.0.0 spell checker {KBD shortcut(s)}
Has anybody else experienced these keyboard shortcut issues with the spellchecker sidebar on LyX 2.0??? Especially any one NOT using the binary found in the PCLinuxOS repository? If it matters: I'm a ‘multi-boot’, ‘multi-Linux Distro’ user. And I use whichever version of LyX is available from the repository of whichever Linux system I'm currently using. I may be a bit too dependent on the various package management systems on my installed distros but most of the time this saves me a lot of dependency headaches. At the moment the only one of my installed Linux that normal system upgrades resulted in LyX 2.0.0 (April 29 2011) is my PCLinuxOS installation. Thus I have no other LyX 2.0 to use to see if the keyboard shortcut issues I've encountered are inherent in LyX 2.0.0, or {I do hope} perhaps they stem from some modifications made by the PCLinuxOS package maintainers. I asked about these issues earlier and got some suggestions, but nobody said that their LyX 2.0 had the same problem. Since most people nowadays are more comfortable with using the mouse as a primary control interface, it is quite possible that more LyX 2.0 users have these keyboard shortcut issues than are aware of it. (simply because they click on the buttons rather than typing in the keyboard shortcuts.) The shortcut issues I'm having are: 1) The Alt+D on the Add button conflicts with the Document pull down menu. To actually add the word to the word list I MUST click on the button with the mouse. 2) The Alt+I on the Ignore button conflicts with the Insert pull down menu. Again I MUST click... 3) The Alt+F on the Find next button conflicts with the File pull down menu. Again I MUST click... 3) There does not appear to be any way to use the keyboard to dismiss the sidebars so that the document text can use the entire window/screen width. To ditch the sidebar I MUST click on the little x marked button in the upper right hand corner. Note: I can disengage the sidebars focus with escape and edit the document using only the approximately 2/3's of the screen/window width. But I can't make the sidebar go away with the keyboard. And I note: that this is so regardless of whether or not I've selected the Spellcheck Continuously setting... If anyone is experiencing symptoms like that with their copy of LyX... Please tell me! -- | ~^~ ~^~ | ? ? Joe (theWordy) Philbrook | ^J(tWdy)P |\___/ jtw...@ttlc.net
Re: LyX 2.0.0 spell checker {KBD shortcut(s)}
On 06/14/2011 11:52 AM, Joe(theWordy)Philbrook wrote: I may be a bit too dependent on the various package management systems on my installed distros but most of the time this saves me a lot of dependency headaches. I don't think I would fault anyone for being dependent upon package management systems on a distro. I've been using debian since -- I have no idea how long --- and have found that the package management is now very, very good (it wasn't so smart at first), and it is very difficult to avoid difficulties if you oppose its wishes. I am also using 2.0.0, under debian testing (wheezy). The shortcut issues I'm having are: 1) The Alt+D on the Add button conflicts with the Document pull down menu. To actually add the word to the word list I MUST click on the button with the mouse. 2) The Alt+I on the Ignore button conflicts with the Insert pull down menu. Again I MUST click... 3) The Alt+F on the Find next button conflicts with the File pull down menu. Again I MUST click... I see these phenomena as well (I use gnome, but it seems that this is an issue about LyX that is independent of the window-manager). If you just right-click on the misspelled word when using continuous spellchecking (something I thought I would never do, but I do like it now), you do not get those keyboard shortcuts at all. Maybe they need to be removed from the spellchecker window, or changed to avoid the conflicts. This may also depend upon how you set up your LyX shortcuts. I use cua with a few additions (not conflicting with these commands). One thing to note is that, if the spellchecker window has the focus, you can use the shortcuts. But typically the focus would be on the main window, and since that gets the focus the shortcuts would go to its menu. So you have to use the mouse, no matter what, at least to shift the input focus to the spellchecker window. -- David L. Johnson Business! cried the Ghost. Mankind was my business. The common welfare was my business; charity, mercy, forbearance, and benevolence, were, all, my business. The dealings of my trade were but a drop of water in the comprehensive ocean of my business! --Dickens, A Christmas Carol
Re: Adding a logo to beamer presentation
On Tue, Jun 14, 2011 at 4:28 PM, Graham Smith myotis...@gmail.com wrote: You are correct, it is linked to the them, changing to Warsaw gives me the logo in the bottom left corner. Which is fine except I really want the Goettingen theme. Having tried a few themes it seems it doesn't work if you have a theme with a vertical navigation bar. Each Beamer theme is a collection of LaTeX commands, meaning that instead of using a given theme you could compile several commands (from different themes) that would give you the look you desire. I'd start with Beamer's documentation. Regards Liviu
Re: Images in Headings/TOC
On 14/06/2011 10:49 AM, H. Hodges wrote: Julien Riouxjriouxat physics.utoronto.ca writes: There is a way to distinguish in-text section text and in-toc section text. If that's what you want, here's how to do it. With your cursor on the section line inside the LyX editor window, use the menu Insert Short Title to insert the text that appear in the TOC and in page headers. Hope this helps, Julien Thanks, that worked...except for Part headings. The Short Title option is greyed out in that case. Anyone have any ideas on how to keep a graphic in the heading of the main document, but out of the corresponding heading listing in the table of contents? This looks like an oversight, because LaTeX itself provides this feature also for parts, but LyX doesn't. Solution: Define OptionalArgs 1 for the Part style in the layout file you are using. (if this sounds alien to you just ask and I or someone will try to explain) Devs: See attached patch. -- Julien Index: lib/layouts/stdsections.inc === --- lib/layouts/stdsections.inc (revision 39050) +++ lib/layouts/stdsections.inc (working copy) @@ -27,6 +27,7 @@ ParSep0.8 Align Center Alignpossible Center + OptionalArgs 1 Font Series Bold SizeHuge Index: lib/layouts/stdstarsections.inc === --- lib/layouts/stdstarsections.inc (revision 39050) +++ lib/layouts/stdstarsections.inc (working copy) @@ -17,6 +17,7 @@ LatexName part* LabelType No_Label LabelCounter + OptionalArgs 0 End
Re: beamer lyx page numbering
On 13/06/2011 5:37 AM, Liviu Andronic wrote: On Mon, Jun 13, 2011 at 11:04 AM, tania kallabtaniakal...@hotmail.com wrote: Hi again, i am working on beamer template for presentations using lyx there are two things i am stuck with inserting the page numberering This can be achieved by experimenting with different themes. See [1] for some pointers. [1] http://wiki.lyx.org/Examples/Beamer Skipping automatically to the next slide when the first one is full without having to start a frame evrytime I'm not sure what exactly you mean, but you should know that beamer always expects the user to specify the beginning of a new frame. Furthermore, LyX cannot know before-hand when a slide is full, as it would first need to compile the entire document. However, even in this case LyX doesn't (and possibly will never) feature the automatic mechanisms that would allow it to spot that a slide is full, and relies on your eyes to do that. Regards Liviu Sorry but this is actually misleading a bit. You can have frame breaks in beamer. In that use case frames are filled just like the pages in a regular article. Coming from the powerpoint world you would never want to do that, but from a latex world this is what you expect from latex in general: you expect that it does the layout for you. Solution: Put [allowframebreaks] in TeX code as the very first thing in your Frame heading in LyX. I use this for bibliography slide(s). -- Julien
Implementation of minutes.sty in LyX?
Dear LyX-users, to write minutes of meetings, there is the LaTeX package minutes.sty. Is there a way to install a LyX implementation of this package at documents - settings - modules? greetings from Germany, Marcus -- E-Mail: m.gloe...@gmx.de
Suggestions for my Debian 6 LyX guide?
Dear LyX Users, I'm putting together a one-page guide to installing and using LyX on the latest stable version of Debian Linux. My hope is that the installation procedure it contains could be followed by a local charity which installs Linux on old donated hardware, but even if that doesn't happen I'd be satisfied just having something I can pass on to other Debian users who want to get started using LyX. What follows is the guide I have so far, which represents what I did to set up LyX on my own Debian 6.0.1 machine. Any suggestions, particularly as regards potential gotchas I should address, extra software which users might appreciate being installed as they advance in their understanding of LyX, or common points of confusion for new users, would all be appreciated. [Note: The steps I used to lay down the operating system are at http://russellb.livejournal.com/1335718.html but I doubt they'd be relevant for the limited purpose of critiquing the LyX install.] A ONE-PAGE GUIDE TO INSTALLING AND USING LYX ON DEBIAN 6 DESKTOPS 1. To install LyX, start by opening System-Administration-Synaptic Package Manager. Under Settings-Preferences-General make sure Consider recommended packages as dependencies is checked, then install the following packages: texlive-full, latex2rtf, chktex, rcs, and lyx. [Note: If you anticipate creating multiple documents with lengthy bibliographies, then install the pybliographer package as well.] 2. Open System-Preferences-Keyboard-Layouts-Options-Compose Key Position, and check Right Win (check something else if your keyboard doesn't have those generally unused Windows logo keys): you can then press and release this key, followed by two other keys according to the chart at http://www.hermit.org/Linux/ComposeKeys.html to type special characters. 3. If you're using US letter sized paper (i.e. 8 1/2 x 11) rather than the slightly larger European A4 sized paper, then LyX needs to be told this. Start LyX, make the change to US letter paper in Tools-Preferences-Output-LaTeX, then select Save. Next, open a new document in LyX (via File-New), go to Document-Settings-Page Layout, change the paper format to US Letter, and click on Save as Document Defaults. You shouldn't have to make either of these changes again. 4. The fact that you installed latex2rtf, chktex and rcs enables a few more features in LyX (if you don't see them right away run Tools-Reconfigure and then restart LyX): you can use File-Export to export a LyX file as Rich Text Format (which Microsoft Word and almost all other word processing software can understand), the Check TeX command in the Tools menu helps you find typographical problems with your document, and Version Control in the File menu lets you track your writing progress and revert to any earlier version of your document (for more details on using version control see Help-Additional Features-Table of Contents-LyX Features needing Extra Software-Version Control in LyX). 5. If you'll be exporting as Rich Text Format, and then importing into Microsoft Word, any LyX documents which contain equations, then go to Tools-Preferences-File Handing-Converters and remove the -p and -S switches from the command which invokes latex2rtf [Note: after saving this change you'll need to run Reconfigure and restart LyX]. 6. It bears mentioning that the only reason you should ever have to export a LyX document as Rich Text Format is if the person you'll be sending that RTF file will be taking over the job of editing it: if the recipient only needs to read your document, then you should save it in standard PDF (pdflatex) format, which unlike RTF format will present your document exactly as it is supposed to look. 7. If you're creating an Encapsulated Postscript graphic for later inclusion in a LyX document, it's generally best to save that graphic without the preview. 8. If you're asked to use double-spacing with a 12 point font, then open your LyX document and go to Document-Settings-Text Layout to set Line spacing to Double, and go to Document-Settings-Document Class to enter 12pt as a Custom Class Option.
xetex CV
Hello everyone. I downloaded LyX a few days ago and then I tried to make a CV. As I surfed through the web, I kept finding more and more styles for this so I finally decided for one, xetexCV. The thing is that I followed all the steps in this website: http://blog.oak-tree.us/index.php/2010/05/19/latex-cv-part4 and used the .zip there provided. After that, I tried to make a PDF output of the example LyX's file included. Won't compile, the legend No \title given. pops up. I tried a few things out but couldn't manage to sort that. I don't know LaTeX I (only know the Maths Mode) so I can't analyze what's going on. If you want I can copypaste the LaTeX source cod LyX displays, but it'll make the message heavy, maybe it's better for you to download the .zip in the site I mentioned, but if you prefer, I could post the code in another mail. I have LyX 2.0.0 and MikTex 2.9. Pretty much followed the intuitive Windows installation wizard. Thank you for your time. Mauro. P.S: Hope I posted this in the right place.
Re: LyX 2.0.0 spell checker {KBD shortcut(s)}
It would appear that on Jun 14, David L. Johnson did say: On 06/14/2011 11:52 AM, Joe(theWordy)Philbrook wrote: I may be a bit too dependent on the various package management systems on my installed distros but most of the time this saves me a lot of dependency headaches. I don't think I would fault anyone for being dependent upon package management systems on a distro. I've been using debian since -- I have no idea how long --- and have found that the package management is now very, very good (it wasn't so smart at first), and it is very difficult to avoid difficulties if you oppose its wishes. I am also using 2.0.0, under debian testing (wheezy). The shortcut issues I'm having are: 1) The Alt+D on the Add button conflicts with the Document pull down menu. To actually add the word to the word list I MUST click on the button with the mouse. 2) The Alt+I on the Ignore button conflicts with the Insert pull down menu. Again I MUST click... 3) The Alt+F on the Find next button conflicts with the File pull down menu. Again I MUST click... I see these phenomena as well (I use gnome, but it seems that this is an issue about LyX that is independent of the window-manager). I'll by that, I'm using E17... If you just right-click on the misspelled word when using continuous spellchecking (something I thought I would never do, but I do like it now), you do not get those keyboard shortcuts at all. That's something I know I wouldn't learn to like. Not only do my fingers quickly go numb when I start using the mouse a lot, But I sometimes have difficulty controlling it accurately. I do a little better with my trackball than a traditional mouse but as a control interface it still gives me much aggravation. Aside from which I would NOT want full time spellchecking. Anything that instantly tells me a word is misspelled (even those stupid squiggly underlines like they use in some word processors and web browsers, are enough to make me lose track of the creative thought process when I'm typing new content... Maybe they need to be removed from the spellchecker window, {whimper} If they remove them nobody will ever fix them and I don't wanna be stuck with the mouse. or changed to avoid the conflicts. Now that's the ticket. But to avoid the conflict with Documents, the Add button would have to either need to use a character NOT in it's label or give it the Alt+A shortcut, which would mean the Replace All button couldn't use the A anymore. And so on... A better solution would be perhaps to force the focus to switch to the spell checker window when F7 is pressed, and keep it there until (the escape key is pressed, the spell checker window is closed, or a mouse click is made within the main window. This may also depend upon how you set up your LyX shortcuts. I use cua with a few additions (not conflicting with these commands). Could you tell me how to add one to close the spellchecker. The sidebar doesn't disappear upon the escape key any more. And while I can't remember if undocking it so that it's once again a floating box that hides part of the context goes away upon the esc key. But I surely noticed that undocking it from being a sidebar stops the questionable words from getting highlighted... One thing to note is that, if the spellchecker window has the focus, you can use the shortcuts. But typically the focus would be on the main window, and since that gets the focus the shortcuts would go to its menu. So you have to use the mouse, no matter what, at least to shift the input focus to the spellchecker window. {whimper} -- | ~^~ ~^~ | * * Joe (theWordy) Philbrook | ^J(tWdy)P | \___/ jtw...@ttlc.net
Re: xetex CV
Hello On Wed, Jun 15, 2011 at 4:37 AM, Mauro fontana.ma...@gmail.com wrote: Hello everyone. I downloaded LyX a few days ago and then I tried to make a CV. As I surfed through the web, I kept finding more and more styles for this so I finally decided for one, xetexCV. The thing is that I followed all the steps in this website: http://blog.oak-tree.us/index.php/2010/05/19/latex-cv-part4 and used the .zip there provided. After that, I tried to make a PDF output of the example LyX's file included. Won't compile, the legend No \title given. pops up. I Yes, I've stumbled upon this myself. Some time ago I reported the error to Rob, but then he didn't have a ready-to-ship solution. Perhaps he would have more to add now, or maybe not. Cheers Liviu PS An unsatisfactory solution would be to get rid of all the \title calls in the document, basically all the environments other than section and subsection (if I remember right). If you can hack the header part by yourself (as in this [1] CV template), the you might be able to use xetexCV even so. [1] http://wiki.lyx.org/Examples/CV#toc11 tried a few things out but couldn't manage to sort that. I don't know LaTeX I (only know the Maths Mode) so I can't analyze what's going on. If you want I can copypaste the LaTeX source cod LyX displays, but it'll make the message heavy, maybe it's better for you to download the .zip in the site I mentioned, but if you prefer, I could post the code in another mail. I have LyX 2.0.0 and MikTex 2.9. Pretty much followed the intuitive Windows installation wizard. Thank you for your time. Mauro. P.S: Hope I posted this in the right place. -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Figure Float Rotated When Exported: Why?
On 2011-06-13, Rich Shepard wrote: >I created a figure using gnuplot (because neither PSTricks nor R can make > a bar plot with dates as the x labels), and exported it as PostScript (.ps). > When I view the document, the figure is properly oriented, but when I export > the file to pdflatex, the figure is rotated 90 degrees counterclockwise. > Rotating the figure in the document is necessary so it is properly oriented > when the file is compiled. >Any ideas why this happened? No. However, you might try the eps option: set terminal postscript eps or, e.g., set terminal postscript eps "NimbusRomNo9L-Regu" 16 Günter
Re: Separating Paragraphs: Indentation vs Vertical Space
On 2011-06-13, Bruce Pourciau wrote: > On Jun 10, 2011, at 3:42 PM, Guenter Milde wrote: >> On 2011-06-10, Bruce Pourciau wrote: >>> At various spots within a document where paragraphs are separated >>> with indentation, I often have claims, propositions, laws, etc, which I >>> would like formatted flush left with some vertical space before and >>> after. ... >> How about the FancyBreak module? ... > Günter, what if I need the the format of this fancy break text to be > like the text after a section in the Article class: flush left (no > indent) and justified, rather than centered. The FancyBreak style is intended just for the break, either with no text at all or with some decoration (e.g. three stars). The "KeepEmpty" keyword ensures that LyX will not delete this special paragraph even when it is empty. The to-be-separated paragraph (claim, proposition, ...) should be typed after another [Return] in a paragraph of Standard (or whatever) style. The basic idea is a promintent separator between standard paragraphs. * * * However, in your case you could consider to write a special Style for your claims, propositions, laws ... that would take content and give it the desired formatting. > Then I should replace the > choice "center" for Align and AlignPossible with ? And should I > replace something in the Preamble part? both. The "normal" keywords tell LyX what to show and what to do, while the Preamble defines the command for LaTeX. Example: Style Proposition LatexNameproposition LatexTypecommand ParSep 1 NextNoIndent 1 Preamble \providecommand{\proposition}[1]{\par \vskip 0.5\baselineskip \noindent #1 \vskip 0.5\baselineskip \@afterindentfalse \@afterheading} EndPreamble End If the proposition (or ...) may contain more than one paragraph, the Style should be defined as an environment and the second+ paragraphs nested ... See the section on new layouts in Help>Customization. Günter
Adding a logo to beamer presentation
Hello I am trying to add a logo to a beamer presentation Lyx 1.6.7 Ubuntu 10.10 Goettingen theme I tried just \logo{\includegraphics[height=0.5cm]{Biocensustraininglogonew.JPG}} an option in the Beamer instructions both as a preamble and ERT but nothing happened , no errors no logo. The logo file is in the same directory as the lyx file. I then tried: \usepackage{pgf} \pgfdeclareimage[height=0.5cm]{Biocensus-logo}{/home/graham/Dropbox/Lectures/WildlifeLegislation/Biocensustraininglogonew.JPG} \logo{\pgfuseimage{Biocensus-logo}} Again no error messages and no logo. My search through google seems to just confirm the above method of doing what I am doing, but obviously I am missing something. Can anyone help. Many thanks, Graham
Working with two documents in one Window
hello is there a possibility to use the view of one document in two windows (left/right, top/bottom) for two separate documents? best jess
Re: Adding a logo to beamer presentation
On Tue, Jun 14, 2011 at 10:52 AM, Graham Smithwrote: > Hello I am trying to add a logo to a beamer presentation Lyx 1.6.7 Ubuntu > 10.10 Goettingen theme > [..] > My search through google seems to just confirm the above method of doing > what I am doing, but obviously I am missing something. > I'm wondering if it's not theme-related. Have you tried with some other themes? Liviu
Re: Working with two documents in one Window
On 06/14/2011 06:16 AM, jezZiFeR wrote: > hello > > is there a possibility to use the view of one document in two windows > (left/right, top/bottom) for two separate documents? > Yes. Just open whatever document you want in whichever view you want. I.e., split the view, then open the new document. rh
Re: Figure Float Rotated When Exported: Why?
On Mon, 13 Jun 2011, Julien Rioux wrote: I've seen this happen because of a %%Orientation: Landscape line in the postscript. It's up to the converter to decide how to interpret this and whether to apply a rotation or not. The png and eps converters evidently behave differently. Julien, That's interesting. I saw the same results for both eps and ps (since they are so closely related it's not surprising). Thanks, Rich
Re: Figure Float Rotated When Exported: Why?
On Tue, 14 Jun 2011, Guenter Milde wrote: No. However, you might try the eps option: set terminal postscript eps or, e.g., set terminal postscript eps "NimbusRomNo9L-Regu" 16 Guenter, Initially I set t postscript eps enhanced and tried to have gnuplot accept the palladio typeface. No joy there. Rather than wasting more time with this, I switched to Times and that worked. The eps output rotated itself so I regenerated the plot as ps; no difference. Both need to be rotated in lyx to appear properly in the generated pdf. Thanks, Rich
Re: Adding a logo to beamer presentation
Liviu > I'm wondering if it's not theme-related. Have you tried with some other > themes? > > You are correct, it is linked to the them, changing to Warsaw gives me the logo in the bottom left corner. Which is fine except I really want the Goettingen theme. Having tried a few themes it seems it doesn't work if you have a theme with a vertical navigation bar. That's a blow, but at least I now know what is going on. Thanks, Graham
Re: Images in Headings/TOC
Julien Rioux physics.utoronto.ca> writes: > > > > > > > > > There is a way to distinguish in-text section text and in-toc section > text. If that's what you want, here's how to do it. With your cursor on > the section line inside the LyX editor window, use the menu Insert > > Short Title to insert the text that appear in the TOC and in page headers. > > Hope this helps, > Julien > Thanks, that worked...except for Part headings. The Short Title option is greyed out in that case. Anyone have any ideas on how to keep a graphic in the heading of the main document, but out of the corresponding heading listing in the table of contents?
Comment écrire "opérateur adjoint" en mécanique quantique ?
Voilà. Comment écrire A^+ (avec "dague" au lieu de +) ? Merci very much schön ! RJ
Re: Separating Paragraphs: Indentation vs Vertical Space
On Jun 14, 2011, at 2:50 AM, Guenter Milde wrote: On 2011-06-13, Bruce Pourciau wrote: On Jun 10, 2011, at 3:42 PM, Guenter Milde wrote: On 2011-06-10, Bruce Pourciau wrote: At various spots within a document where paragraphs are separated with indentation, I often have claims, propositions, laws, etc, which I would like formatted flush left with some vertical space before and after. However, in your case you could consider to write a special Style for your claims, propositions, laws ... that would take content and give it the desired formatting. Example: Style Proposition LatexName proposition LatexType command ParSep1 NextNoIndent 1 Preamble \providecommand{\proposition}[1]{\par \vskip 0.5\baselineskip \noindent #1 \vskip 0.5\baselineskip \@afterindentfalse \@afterheading} EndPreamble End If the proposition (or ...) may contain more than one paragraph, the Style should be defined as an environment and the second+ paragraphs nested ... See the section on new layouts in Help>Customization. Günter This is just what I need. I've saved it as a LyX module. Thank you. How do I get the separation to show up in LyX? I'm assuming the ParSep 1 won't make the separation show up, because for this article I have Indentation checked in Text Layout. Should I replace ParSep 1 with something else? Bruce
Re: Comment écrire " opérateur adjoint" en mécanique quantique ?
On Tuesday 14 June 2011 16:53:53 Robert Joseph wrote: > Voilà. Comment écrire A^+ (avec "dague" au lieu de +) ? > Merci very much schön ! > > RJ \dagger in math mode will work. -- José Abílio
Re: spell checker not active
On Saturday 11 June 2011 18:21:46 Cor Blom wrote: > Maybe your hunspell is too recent? 1.3 is not found by lyx. > > See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169351.html > > Regards, > > Cor FWIW this patch has been committed and it will be present in lyx-2.0.1. -- José Abílio
LyX 2.0.0 spell checker {KBD shortcut(s)}
Has anybody else experienced these keyboard shortcut issues with the spellchecker sidebar on LyX 2.0??? Especially any one NOT using the binary found in the PCLinuxOS repository? If it matters: I'm a ‘multi-boot’, ‘multi-Linux Distro’ user. And I use whichever version of LyX is available from the repository of whichever Linux system I'm currently using. I may be a bit too dependent on the various package management systems on my installed distros but most of the time this saves me a lot of dependency headaches. At the moment the only one of my installed Linux that normal system upgrades resulted in LyX 2.0.0 (April 29 2011) is my PCLinuxOS installation. Thus I have no other LyX 2.0 to use to see if the keyboard shortcut issues I've encountered are inherent in LyX 2.0.0, or {I do hope} perhaps they stem from some modifications made by the PCLinuxOS package maintainers. I asked about these issues earlier and got some suggestions, but nobody said that their LyX 2.0 had the same problem. Since most people nowadays are more comfortable with using the mouse as a primary control interface, it is quite possible that more LyX 2.0 users have these keyboard shortcut issues than are aware of it. (simply because they "click" on the buttons rather than typing in the keyboard shortcuts.) The shortcut issues I'm having are: 1) The Alt+D on the "Add" button conflicts with the "Document" pull down menu. To actually add the word to the word list I MUST click on the button with the mouse. 2) The Alt+I on the "Ignore" button conflicts with the "Insert" pull down menu. Again I MUST click... 3) The Alt+F on the "Find next" button conflicts with the "File" pull down menu. Again I MUST click... 3) There does not appear to be any way to use the keyboard to dismiss the sidebars so that the document text can use the entire window/screen width. To ditch the sidebar I MUST click on the little "x" marked button in the upper right hand corner. Note: I can disengage the sidebars focus with escape and edit the document using only the approximately 2/3's of the screen/window width. But I can't make the sidebar go away with the keyboard. And I note: that this is so regardless of whether or not I've selected the "Spellcheck Continuously" setting... If anyone is experiencing symptoms like that with their copy of LyX... Please tell me! -- | ~^~ ~^~ |Joe (theWordy) Philbrook | ^J(tWdy)P |\___/ <>
Re: LyX 2.0.0 spell checker {KBD shortcut(s)}
On 06/14/2011 11:52 AM, Joe(theWordy)Philbrook wrote: > I may be a bit too dependent on > the various package management systems on my installed distros but most of > the time this saves me a lot of dependency headaches. I don't think I would fault anyone for being dependent upon package management systems on a distro. I've been using debian since -- I have no idea how long --- and have found that the package management is now very, very good (it wasn't so smart at first), and it is very difficult to avoid difficulties if you oppose its wishes. I am also using 2.0.0, under debian testing (wheezy). > The shortcut issues I'm having are: > > 1) The Alt+D on the "Add" button conflicts with the "Document" pull down menu. To > actually add the word to the word list I MUST click on the button with the mouse. > > 2) The Alt+I on the "Ignore" button conflicts with the "Insert" pull down menu. > Again I MUST click... > > 3) The Alt+F on the "Find next" button conflicts with the "File" pull down menu. > Again I MUST click... I see these phenomena as well (I use gnome, but it seems that this is an issue about LyX that is independent of the window-manager). If you just right-click on the misspelled word when using continuous spellchecking (something I thought I would never do, but I do like it now), you do not get those keyboard shortcuts at all. Maybe they need to be removed from the spellchecker window, or changed to avoid the conflicts. This may also depend upon how you set up your LyX shortcuts. I use cua with a few additions (not conflicting with these commands). One thing to note is that, if the spellchecker window has the focus, you can use the shortcuts. But typically the focus would be on the main window, and since that gets the focus the shortcuts would go to its menu. So you have to use the mouse, no matter what, at least to shift the input focus to the spellchecker window. -- David L. Johnson "Business!" cried the Ghost. "Mankind was my business. The common welfare was my business; charity, mercy, forbearance, and benevolence, were, all, my business. The dealings of my trade were but a drop of water in the comprehensive ocean of my business!" --Dickens, "A Christmas Carol"
Re: Adding a logo to beamer presentation
On Tue, Jun 14, 2011 at 4:28 PM, Graham Smithwrote: > You are correct, it is linked to the them, changing to Warsaw gives me the > logo in the bottom left corner. > Which is fine except I really want the Goettingen theme. Having tried a few > themes it seems it doesn't work if you have a theme with a vertical > navigation bar. > Each Beamer theme is a collection of LaTeX commands, meaning that instead of using a given theme you could compile several commands (from different themes) that would give you the look you desire. I'd start with Beamer's documentation. Regards Liviu
Re: Images in Headings/TOC
On 14/06/2011 10:49 AM, H. Hodges wrote: Julien Riouxwrites: There is a way to distinguish in-text section text and in-toc section text. If that's what you want, here's how to do it. With your cursor on the section line inside the LyX editor window, use the menu Insert> Short Title to insert the text that appear in the TOC and in page headers. Hope this helps, Julien Thanks, that worked...except for Part headings. The Short Title option is greyed out in that case. Anyone have any ideas on how to keep a graphic in the heading of the main document, but out of the corresponding heading listing in the table of contents? This looks like an oversight, because LaTeX itself provides this feature also for parts, but LyX doesn't. Solution: Define "OptionalArgs 1" for the "Part" style in the layout file you are using. (if this sounds alien to you just ask and I or someone will try to explain) Devs: See attached patch. -- Julien Index: lib/layouts/stdsections.inc === --- lib/layouts/stdsections.inc (revision 39050) +++ lib/layouts/stdsections.inc (working copy) @@ -27,6 +27,7 @@ ParSep0.8 Align Center Alignpossible Center + OptionalArgs 1 Font Series Bold SizeHuge Index: lib/layouts/stdstarsections.inc === --- lib/layouts/stdstarsections.inc (revision 39050) +++ lib/layouts/stdstarsections.inc (working copy) @@ -17,6 +17,7 @@ LatexName part* LabelType No_Label LabelCounter "" + OptionalArgs 0 End
Re: beamer lyx page numbering
On 13/06/2011 5:37 AM, Liviu Andronic wrote: On Mon, Jun 13, 2011 at 11:04 AM, tania kallabwrote: Hi again, i am working on beamer template for presentations using lyx there are two things i am stuck with inserting the page numberering This can be achieved by experimenting with different themes. See [1] for some pointers. [1] http://wiki.lyx.org/Examples/Beamer Skipping automatically to the next slide when the first one is full without having to start a frame evrytime I'm not sure what exactly you mean, but you should know that beamer always expects the user to specify the beginning of a new frame. Furthermore, LyX cannot know before-hand when a slide is full, as it would first need to compile the entire document. However, even in this case LyX doesn't (and possibly will never) feature the automatic mechanisms that would allow it to spot that a slide is full, and relies on your eyes to do that. Regards Liviu Sorry but this is actually misleading a bit. You can have frame breaks in beamer. In that use case frames are filled just like the pages in a regular article. Coming from the powerpoint world you would never want to do that, but from a latex world this is what you expect from latex in general: you expect that it does the layout for you. Solution: Put "[allowframebreaks]" in TeX code as the very first thing in your Frame heading in LyX. I use this for bibliography slide(s). -- Julien
Implementation of minutes.sty in LyX?
Dear LyX-users, to write minutes of meetings, there is the LaTeX package minutes.sty. Is there a way to install a LyX implementation of this package at documents -> settings -> modules? greetings from Germany, Marcus -- E-Mail: m.gloe...@gmx.de
Suggestions for my Debian 6 LyX guide?
Dear LyX Users, I'm putting together a one-page guide to installing and using LyX on the latest stable version of Debian Linux. My hope is that the installation procedure it contains could be followed by a local charity which installs Linux on old donated hardware, but even if that doesn't happen I'd be satisfied just having something I can pass on to other Debian users who want to get started using LyX. What follows is the guide I have so far, which represents what I did to set up LyX on my own Debian 6.0.1 machine. Any suggestions, particularly as regards potential "gotchas" I should address, extra software which users might appreciate being installed as they advance in their understanding of LyX, or common points of confusion for new users, would all be appreciated. [Note: The steps I used to lay down the operating system are at http://russellb.livejournal.com/1335718.html but I doubt they'd be relevant for the limited purpose of critiquing the LyX install.] A ONE-PAGE GUIDE TO INSTALLING AND USING LYX ON DEBIAN 6 DESKTOPS 1. To install LyX, start by opening System->Administration->Synaptic Package Manager. Under Settings->Preferences->General make sure "Consider recommended packages as dependencies" is checked, then install the following packages: texlive-full, latex2rtf, chktex, rcs, and lyx. [Note: If you anticipate creating multiple documents with lengthy bibliographies, then install the "pybliographer" package as well.] 2. Open System->Preferences->Keyboard->Layouts->Options->Compose Key Position, and check "Right Win" (check something else if your keyboard doesn't have those generally unused Windows logo keys): you can then press and release this key, followed by two other keys according to the chart at http://www.hermit.org/Linux/ComposeKeys.html to type special characters. 3. If you're using US "letter" sized paper (i.e. 8 1/2" x 11") rather than the slightly larger European "A4" sized paper, then LyX needs to be told this. Start LyX, make the change to "US letter" paper in Tools->Preferences->Output->LaTeX, then select Save. Next, open a new document in LyX (via File->New), go to Document->Settings->Page Layout, change the paper format to "US Letter", and click on "Save as Document Defaults". You shouldn't have to make either of these changes again. 4. The fact that you installed "latex2rtf", "chktex" and "rcs" enables a few more features in LyX (if you don't see them right away run Tools->Reconfigure and then restart LyX): you can use File->Export to export a LyX file as Rich Text Format (which Microsoft Word and almost all other word processing software can understand), the "Check TeX" command in the Tools menu helps you find typographical problems with your document, and "Version Control" in the File menu lets you track your writing progress and revert to any earlier version of your document (for more details on using version control see Help->Additional Features->Table of Contents->LyX Features needing Extra Software->Version Control in LyX). 5. If you'll be exporting as Rich Text Format, and then importing into Microsoft Word, any LyX documents which contain equations, then go to Tools->Preferences->File Handing->Converters and remove the "-p" and "-S" switches from the command which invokes latex2rtf [Note: after saving this change you'll need to run Reconfigure and restart LyX]. 6. It bears mentioning that the only reason you should ever have to export a LyX document as Rich Text Format is if the person you'll be sending that RTF file will be taking over the job of editing it: if the recipient only needs to read your document, then you should save it in standard PDF (pdflatex) format, which unlike RTF format will present your document exactly as it is supposed to look. 7. If you're creating an Encapsulated Postscript graphic for later inclusion in a LyX document, it's generally best to save that graphic without the "preview." 8. If you're asked to use double-spacing with a 12 point font, then open your LyX document and go to Document->Settings->Text Layout to set "Line spacing" to Double, and go to Document->Settings->Document Class to enter "12pt" as a Custom Class Option.
xetex CV
Hello everyone. I downloaded LyX a few days ago and then I tried to make a CV. As I surfed through the web, I kept finding more and more styles for this so I finally decided for one, xetexCV. The thing is that I followed all the steps in this website: http://blog.oak-tree.us/index.php/2010/05/19/latex-cv-part4 and used the .zip there provided. After that, I tried to make a PDF output of the example LyX's file included. Won't compile, the legend "No \title given." pops up. I tried a few things out but couldn't manage to sort that. I don't know LaTeX I (only know the Maths Mode) so I can't analyze what's going on. If you want I can copy the LaTeX source cod LyX displays, but it'll make the message heavy, maybe it's better for you to download the .zip in the site I mentioned, but if you prefer, I could post the code in another mail. I have LyX 2.0.0 and MikTex 2.9. Pretty much followed the intuitive Windows installation wizard. Thank you for your time. Mauro. P.S: Hope I posted this in the right place.
Re: LyX 2.0.0 spell checker {KBD shortcut(s)}
It would appear that on Jun 14, David L. Johnson did say: > On 06/14/2011 11:52 AM, Joe(theWordy)Philbrook wrote: > > > I may be a bit too dependent on > > the various package management systems on my installed distros but > > most of the time this saves me a lot of dependency headaches. > > I don't think I would fault anyone for being dependent upon package management > systems on a distro. I've been using debian since -- I have no idea how long > --- and have found that the package management is now very, very good (it > wasn't so smart at first), and it is very difficult to avoid difficulties if > you oppose its wishes. > > I am also using 2.0.0, under debian testing (wheezy). > > > The shortcut issues I'm having are: > > > > 1) The Alt+D on the "Add" button conflicts with the "Document" pull > > down menu. To actually add the word to the word list I MUST click on the > > button with the mouse. > > > > 2) The Alt+I on the "Ignore" button conflicts with the "Insert" pull > > down menu. > > Again I MUST click... > > > > 3) The Alt+F on the "Find next" button conflicts with the "File" pull > > down menu. > > Again I MUST click... > > I see these phenomena as well (I use gnome, but it seems that this is an issue > about LyX that is independent of the window-manager). I'll by that, I'm using E17... > If you just right-click on the misspelled word when using continuous > spellchecking (something I thought I would never do, but I do like it now), > you do not get those keyboard shortcuts at all. That's something I know I wouldn't learn to like. Not only do my fingers quickly go numb when I start using the mouse a lot, But I sometimes have difficulty controlling it accurately. I do a little better with my trackball than a traditional mouse but as a control interface it still gives me much aggravation. Aside from which I would NOT want full time spellchecking. Anything that instantly tells me a word is misspelled (even those stupid squiggly underlines like they use in some word processors and web browsers, are enough to make me lose track of the creative thought process when I'm typing new content... > Maybe they need to be removed from the spellchecker window, {whimper} If they remove them nobody will ever fix them and I don't wanna be stuck with the mouse. > or changed to avoid the conflicts. Now that's the ticket. But to avoid the conflict with Documents, the Add button would have to either need to use a character NOT in it's label or give it the Alt+A shortcut, which would mean the "Replace All" button couldn't use the "A" anymore. And so on... A better solution would be perhaps to force the focus to switch to the spell checker window when F7 is pressed, and keep it there until (the escape key is pressed, the spell checker window is closed, or a mouse click is made within the main window. > This may also depend upon how you set up your LyX shortcuts. I use cua with a > few additions (not conflicting with these commands). Could you tell me how to add one to close the spellchecker. The sidebar doesn't disappear upon the escape key any more. And while I can't remember if undocking it so that it's once again a floating box that hides part of the context goes away upon the esc key. But I surely noticed that undocking it from being a sidebar stops the questionable words from getting highlighted... > One thing to note is that, if the spellchecker window has the focus, you can > use the shortcuts. But typically the focus would be on the main window, and > since that gets the focus the shortcuts would go to its menu. So you have to > use the mouse, no matter what, at least to shift the input focus to the > spellchecker window. {whimper} -- | ~^~ ~^~ | <*> <*> Joe (theWordy) Philbrook | ^J(tWdy)P | \___/ <>
Re: xetex CV
Hello On Wed, Jun 15, 2011 at 4:37 AM, Maurowrote: > Hello everyone. > > I downloaded LyX a few days ago and then I tried to make a CV. As I surfed > through the web, I kept finding more and more styles for this so I finally > decided for one, xetexCV. The thing is that I followed all the steps in this > website: http://blog.oak-tree.us/index.php/2010/05/19/latex-cv-part4 and used > the .zip there provided. After that, I tried to make a PDF output of the > example > LyX's file included. Won't compile, the legend "No \title given." pops up. I > Yes, I've stumbled upon this myself. Some time ago I reported the error to Rob, but then he didn't have a ready-to-ship solution. Perhaps he would have more to add now, or maybe not. Cheers Liviu PS An unsatisfactory solution would be to get rid of all the \title calls in the document, basically all the environments other than section and subsection (if I remember right). If you can hack the header part by yourself (as in this [1] CV template), the you might be able to use xetexCV even so. [1] http://wiki.lyx.org/Examples/CV#toc11 > tried a few things out but couldn't manage to sort that. I don't know LaTeX I > (only know the Maths Mode) so I can't analyze what's going on. If you want I > can > copy the LaTeX source cod LyX displays, but it'll make the message > heavy, > maybe it's better for you to download the .zip in the site I mentioned, but if > you prefer, I could post the code in another mail. > > I have LyX 2.0.0 and MikTex 2.9. Pretty much followed the intuitive Windows > installation wizard. > > > Thank you for your time. > > Mauro. > > P.S: Hope I posted this in the right place. > > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail