Re: Negative indent in an enumerated list inside a theorem?
On 2010-06-14, Paul Elliott wrote: > -- > Theorem. > If all cows are spherical and either: > (1) the moon is made of green cheese, > or (2) there are canals on Mars > then pluto is a planet. > -- > How do I copy this style in lyx, specificly the negative indent > on the "or". If it is a one-time issue, I'd use a table. Otherwise, I'd see what can be done with enumitem (read the enumitem documentation, download the enumitem.module (from wiki.lyx.org), experiment with either code in the custom preamble or with the optional argument to a list. It should be possible to can get the "or (2)" by means of an ERT containing [or (2)] for the second item. However, the alignment must be set to rightalign somehow. Günter
Negative indent in an enumerated list inside a theorem?
How do I do in lyx, a negative indent on an enumerated list inside a Theorem? I have a math book where sometimes the theorems are written like this: -- Theorem. If all cows are spherical and either: (1) the moon is made of green cheese, or (2) there are canals on Mars then pluto is a planet. -- How do I copy this style in lyx, specificly the negative indent on the "or". -- Paul Elliott 1(512)837-1096 pelli...@blackpatchpanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117 signature.asc Description: Digital signature
Re: I have some problem with exporting in Lyx
Xu Jiang umn.edu> writes: > > To whom it may concern, > > I was originally using the 1.6.5 version of Lyx. Suddenly it stops > exporting to any format of files while maybe 10 minutes ago it is able > to do that. I upgraded it to 1.6.6 version and it still doesn't work. It > didn't return any error and there is no output. Can anybody has any > solution to that? Thanks so much and have a great day. > > Check your LaTeX installation and make sure it still works (and is still globally accessible -- meaning if you run 'latex -help' from a terminal/shell you get something). Could be LyX no longer sees your LaTeX distro. /Paul
Re: I have some problem with exporting in Lyx
Hello On Mon, Jun 14, 2010 at 10:23 PM, Xu Jiang wrote: > To whom it may concern, > > I was originally using the 1.6.5 version of Lyx. Suddenly it stops exporting > to any format of files while maybe 10 minutes ago it is able to do that. I > upgraded it to 1.6.6 version and it still doesn't work. It didn't return any > error and there is no output. > Yes, this can happen with LyX: produce no output, but no error pop-up. Try the following: - make sure you have enough free space in your temp dir (you did not specify your OS) - try compiling your doc on a different system (reboot if you have dual-boot, try another computer if possible) - even if no error pop-up appears, go to Document > LaTeX log and see if any errors are present - if all else fails, try to isolate the part of your document that doesn't compile (for example, delete second half and try to compile first part, etc.) Regards Liviu > Can anybody has any solution to that? Thanks > so much and have a great day. > -- 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: I have some problem with exporting in Lyx
On Monday 14 June 2010 17:23:27 Xu Jiang wrote: > To whom it may concern, > > I was originally using the 1.6.5 version of Lyx. Suddenly it stops > exporting to any format of files while maybe 10 minutes ago it is able > to do that. I upgraded it to 1.6.6 version and it still doesn't work. It > didn't return any error and there is no output. Can anybody has any > solution to that? Thanks so much and have a great day. Try making a one paragraph, two word LyX doc that just says "Hello World" in standard environment. Try exporting that. If it works, exploit the differences between that doc and the one that wouldn't export. If that one doesn't work, it's either a bug or an intermittent problem "cured" by rebooting, so try rebooting. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
I have some problem with exporting in Lyx
To whom it may concern, I was originally using the 1.6.5 version of Lyx. Suddenly it stops exporting to any format of files while maybe 10 minutes ago it is able to do that. I upgraded it to 1.6.6 version and it still doesn't work. It didn't return any error and there is no output. Can anybody has any solution to that? Thanks so much and have a great day.
Re: Justifying figures to outer margin
On Tue, Jun 15, 2010 at 12:11 AM, Helge Hafting wrote: > A figure, (including the caption) can be shifted left or right if you want > to. Here is one way: > 1.Insert the figure float. > 2.The first thing inside this float should be horizontal space. > Use a negative length to move into the left margin, or use a > positive length to move into the right margin. > (Insert->Formatting->Horizontal Space). Set the type > to "custom". That lets you type in a custom length. > 3. After the horizontal space, insert a minipage. (Insert->Box) > In the settings, make sure it is a minipage, set the width to > 100% of line length, and use "no frame". (Frames makes it easier > to see what happens, but they have width of their own, so they > interfere with precise positioning.) > 4. Put all your figure content inside this minipage. Both the > image and the caption. (The caption can be moved inside > the minipage by copy-paste.) > > Thank you Helge, The "sidecap" package with the "wide" option appears to have answered most of my needs; but I shall bear in mind your suggestions for moving figures precisely. George Legge
Re: Problems with lines in EPS Figure
On Monday 14 June 2010 15:01:23 Tim Wescott wrote: > This drawing looks fine when I look at it using Eye of Gnome document > viewer. But when I incorporate it into my LyX document as a figure, the > line weights look off. When I make a pdf from that document, some of > the lines are so light they're almost invisible, and some are normal > weight. It's definitely not up to snuff for sending to a customer! > > Am I screwed? Do I just need to export the thing as a bitmap? or is > there some setting I can try to make it render better? Hi Tim, When I open it in Okular, it looks great, assuming you meant your lines to be 1 pixel thick, because that's what it looks like. I'd imagine that with one pixel lines, if putting it into LyX enlarges or shrinks it, that would do funny things to the lines. Why don't you try a drawing with 3 pixel thick lines (including the circles and rectangles) and see whether you get the same problems. If not, I recommend using 3px lines. Another thing I've done successfully is convert it to a .pdf and use that in LyX. For whatever reasons, .pdf graphics seem to scale better within LyX. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Current status of Tufte style?
I know that there was a problem with the Tufte handout a few months ago but between being distracted by other matters and the recent loss of the mailing list I don't know what is happening at the moment. I just did an upgrade to 1.6.6.1 and reinstalled Mixtex and I am getting some weird results with tufte outlne. If I have nothing but standard text in a document I get output in Yap. Add a title and Lyx bombs. And the same thing happens with Book (Tufte). It is not a serious matter at the moment, I just wanted to show someone how the handout would look but any current information would be appreciated. Thanks
Re: Re: lyx chokes on documents with many subsections?
Jose Quesada wrote, On 01/-10/-28163 02:59 PM: > update: using branches does not help. > Moving around in a large doc (example: userGuide) is sluggy too. Weird. This > must be something in my config... > I tried 1.6.4 (ubuntu) 1.6.6 (sabayon) and 2alpha 3 (ubuntu). Same problem. > The problem is that moving the cursor (not even typing, as usersGuide is > read-only) takes a long time, maybe .5 sec per character. Doesn't feel > speedy... compared with a small doc, where it flies. > Best, > -Jose > FYI CentOS 5.4, LyX 1.6.5 from EPEL With Outline closed, LyX works nice and fast, with Outline open, I feel a slight slowdown even on a dual Xeon(R) CPU @ 2.83GHz, with 2GB of ram, on slower/smaller machines (dual Xeon(TM) CPU @ 1.50GHz .5GB) I have to keep it closed except when needed. For rearranging the document though, the new (since 1.4) outline mode is tremendously helpful. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Re: GUI behavior in table editing
>Maria Gouskove wrote: >Okay, I submitted a bug report. Forwarding the message by Edwin on lyx-devel to lyx-users: >can you confirm whether this is fixed in latest trunk? > >ed. Vincent
Re: GUI behavior in table editing
>> I am trying to understand the principles behind cursor and window >> behavior in the LyX GUI during table editing. Suppose you're working >> on a table that fits into the open document window completely. Move >> the cursor (using either a mouse click or the arrow-down key) into a >> row of the table. The window view jumps so that the line of the table >> that contains the cursor is now either at the top of the LyX window or >> the table is repositioned in the window. But this isn't >> necessary---and it can be kind of a pain, > > [...] >> >> I suspect this is a feature, but I am hoping that it is a bug that can >> be fixed! > > This is a bug. So it can be fixed - if someone want to do it. > > Helge Hafting > Okay, I submitted a bug report. Maria
Re: Reducing the number of pages in an article
On 13. juni 2010 01:10, Alan L Tyree wrote: On Sat, 12 Jun 2010 14:01:26 -0400 Steve Litt wrote: On Saturday 12 June 2010 03:55:23 Barak Sh wrote: Hello all, An article I'm writing has reached 7 pages where the last page contains only a small paragraph. Is there a simple way to reduce the article to 6 pages? I know it's possible to make fonts a bit smaller throughout the entire article. This will get the job done, but I have noticed that there are many blank spaces between paragraphs and between formulas and text. There must be a simple way to tell LaTeX to make these spaces a bit smaller so that the article fits comfortably into 6 pages. (I know there's an option in Document Settings to specify the vertical separation of paragraphs. It's already at the smallest value.) Thanks in advance, Barak LaTeX puts big space between paragraphs rather than have a page end before the bottom. The more and bigger graphics (and probably formulas), the more inter- paragraph variations become. It's hard to defeat this LaTeX behavior without a lot of micromanaging. Isn't this behaviour overcome with \raggedbottom? That won't help. You get rid of the big vertical spaces, but the pages breaks in the same places, so the page count is the same. Helge Hafting
Re: GUI behavior in table editing
On 11. juni 2010 16:33, Maria Gouskova wrote: Dear LyX users, I am trying to understand the principles behind cursor and window behavior in the LyX GUI during table editing. Suppose you're working on a table that fits into the open document window completely. Move the cursor (using either a mouse click or the arrow-down key) into a row of the table. The window view jumps so that the line of the table that contains the cursor is now either at the top of the LyX window or the table is repositioned in the window. But this isn't necessary---and it can be kind of a pain, [...] I suspect this is a feature, but I am hoping that it is a bug that can be fixed! This is a bug. So it can be fixed - if someone want to do it. Helge Hafting
Re: what is a good lyx layout for notetaking?
On 10. juni 2010 21:44, Jose Quesada wrote: Hi, What is a good lyx layout for notetaking? I tend to use article or report for this purpose. I don't care about the pdf looks, since my notes will never be printed. I care about very distinctive part/section/subsection etc (ideally with diff. colors even). The section headings are distinctive, but not colored. Color (on screen) can be added though. Make a copy of the article.layout called something like "myarticle.layout". In the "Font" section of "Style Part", add "Color blue" after the size. Settings for "section", "subsection" etc. is in stdsections.inc, copy what you need to change into "myarticle.layout" You can also change font sizes and vertical separation. And many other things too. An something that formats paragraphs with some space separation and no indent. Most document classes supports this - make a template document, or save it as default for all documents. (The setting is under "Document->Settings->Text Style" Helge Hafting
Re: Justifying figures to outer margin
On 29. mai 2010 01:04, george legge wrote: On Sat, May 29, 2010 at 8:33 AM, Julien Rioux mailto:jri...@physics.utoronto.ca>> wrote: Hi, I am not completely clear on what you want to accomplish, but you might want to have a look at the sidecap package [1]. I wrote a minimalistic module to use the package in LyX [2]. Maybe that would help. Otherwise, sorry for the noise. Thank you Julien for the prompt reply. I have read your documentation. Your package does allow figures to move into the margin and captions to be placed on either side. But it does not appear to tackle the major problem, which is: How to get figures (of all widths) to justify to a boundary several cm outside the text edge. A figure, (including the caption) can be shifted left or right if you want to. Here is one way: 1.Insert the figure float. 2.The first thing inside this float should be horizontal space. Use a negative length to move into the left margin, or use a positive length to move into the right margin. (Insert->Formatting->Horizontal Space). Set the type to "custom". That lets you type in a custom length. 3. After the horizontal space, insert a minipage. (Insert->Box) In the settings, make sure it is a minipage, set the width to 100% of line length, and use "no frame". (Frames makes it easier to see what happens, but they have width of their own, so they interfere with precise positioning.) 4. Put all your figure content inside this minipage. Both the image and the caption. (The caption can be moved inside the minipage by copy-paste.) This gives you a figure of normal width, i.e. the distance between the margins. But you can push it right and left by adjusting the horizontal spacing at the beginning of the figure float. You may also want to vary the width of the minipage for further control. The edges of the minipage will be the "margins" for your figure. So you can decide how a very long caption will break up. Tip: You can see the edges of this minipage by writing a long line. For example, a horizontal space of the "fill" type, with some suitable fill pattern. (Or use a frame for the minipage, but be aware that the frame makes the minipage wider in order to make romm for frame lines.) The actual graphic can be but next to the right or left edge by using Edit->Paragraph Settings and make the paragraph with the figure left-adjusted or right-adjusted. This way, you can line your figure up perfectly with any edge you like. Helge Hafting
Reverse search in windows (from lyx 1.5 -> )
I've had this working for a while, I've not noticed anyone posting about how to use it without cygwin. This works with the standard windows version of lyx rather than the cywin version. Its a bit of a stupid method with cludges but it does work fine, its not as neat as the cygwin version (which it's basically a port of) If anyone manages to clean it up a bit and remove some of the dependancies that would be good. Requirements: - nircmd.exe (i've forgotten why, I think its purely to let me hide the windows command window) - python 2.6 (might work with 3 not tried it) - win32api python extension (to find the short pathnames) - SumatraPDF Setup: - Set the lyxserver pipe (under paths in the settings) to "\\.\pipe\lyxserver" - put "SumatraPDF.bat", "search.py", "nircmd.exe" and "SumatraPDF.exe" in "../lyx16/bin" - Update the paths in "SumatraPDF.bat" to be correct for your setup (mine is 64bit), use pythonw.exe to supress the console - set your in "PDF (pdflatex)" viewer field (in file formats) to: NIRCMD.EXE EXECMD SumatraPDF.bat - set the "Latex (pdflatex) -> PDF (pdflatex)" converter to "pdflatex --synctex=-1 $$i" Fixes: - If it won't work uncomment the time.sleep(100) line to see python errors and change "pythonw.exe" to "python.exe" in "SumatraPDF.bat". - To turn on debugging in lyx for the pipe use the flag -dbg lyxserver. This will probably say something illuminating, or nothing at all if its not worked. SumatraPDF.bat "SumatraPDF.exe" -inverse-search "C:/Progra~1/Python~1/pythonw.exe C:/Progra~2/lyx16/bin/search.py %%l %%f" %1 search.py # author Chris Lingwood # # This script (along with sumatra.bat) enables DVI/PDF search in windows using Sumatra import sys import time import os import win32api #Debug output to ensure the path name is picked up properly print(sys.argv[1]) print(sys.argv[2:]) line = sys.argv[1] filename = ' '.join(sys.argv[2:]) print(filename) #We have to get the windows short filename to avoid having spaces which upsets the command filename = win32api.GetShortPathName(filename); #create the command to be send to the lyx server pipe with an echo to a windows pipe command = "echo LYXCMD:revdvi:server-goto-file-row:"+filename+" "+line+">> .\pipe\lyxserver.in" #print it for debugging and send it to the os print(command) os.system(command) #Uncomment the next line if there are problems, it lets you see the debugging output (this is still supressed with pythonw.exe though) #time.sleep(100) Chris -- View this message in context: http://lyx.475766.n2.nabble.com/Reverse-search-in-windows-from-lyx-1-5-tp5177491p5177491.html Sent from the LyX - Users mailing list archive at Nabble.com.