Re: [LyX] Keep enumeration across subsections?

2006-03-04 Thread Joerg Hau
Hi, > >> How can I preserve the ongoing numbering of the "Enumerate" environment >> across subsections? > See attached LyX-example file. Thanks Uwe, but your file uses \setcounter{enumi}{4}, i.e. a pre-defined counter. This is exactly what I want to avoid: > My question is, how do you achieve t

[LyX] Keep enumeration across subsections?

2006-03-04 Thread Joerg Hau
Hi All, How can I preserve the ongoing numbering of the "Enumerate" environment across subsections? I am writing a tutorial, which is a "step-by-step" guide through some functions of some software. Since the sequence of actions is of some importance, the "Enumerate" environment is perfect here

Re: "LyX-Code" and "Typewriter" environment: how to change the font?

2006-02-23 Thread Joerg Hau
Hi, On Tuesday 21 February 2006 00:22, Paul A. Rubin wrote: > > How does one change the font that is used (a) for the "LyX-Code" > > environment, (b) for "typewriter" character markup? > > If you mean you want to change LyX-Code globally (for all documents on > your system), you need to hack the f

Re: Automatic formatting of a particular word?

2006-02-20 Thread Joerg Hau
Hi Kevin, > In preamble: > \newcommand{\PKflasche}{\textit{Die Flasche}} > > In text (ERT): > \PKflasche{} Inserting ERT in the text is exactly the opposite of what I want to do. An example of what I am looking for: Open a document in LyX, write e.g. "LyX is a kind of LaTeX frontend" (upper/low

Automatic formatting of a particular word?

2006-02-20 Thread Joerg Hau
Hi again, Yet another question ... I am currently writing a manual for some software, and I would like the name of the software to appear automagically in a particular typesetting, i.e. without the need for special markup in the text of the document (not unlike the proper names of "LyX" and "

"LyX-Code" and "Typewriter" environment: how to change the font?

2006-02-20 Thread Joerg Hau
Hi, How does one change the font that is used (a) for the "LyX-Code" environment, (b) for "typewriter" character markup? I would like to modify the font size, and/or eventually change the font for these two completely. Maybe I have searched in the wrong places ;-), but I have not found an answ

tex2pdf (was: Lyx from the commandline, pdf creation)

2005-11-22 Thread Joerg Hau
Hi, On Tuesday 22 November 2005 18:15, Stephen Gross wrote: > I've got a lyx document that I want to turn into a pdf. I know this is > easy to do through the graphical interface; is there a way to do it via > the commandline? Yes. Get Steffen Evers' script 'tex2pdf', it does all you need from th

LyX and "listings": code is double-spaced when I use copy/paste?

2005-11-21 Thread Joerg Hau
Dear All, I have a weird problem formatting source code ... using "listings" and LyX 1.3.6 on a (no ... several ;-) Linux systemS. If I use the \lstinputlisting directive (i.e. importing a file directly), everything works as intended. Fine. If I take the same code and copy/paste it in a piece

Re: Problem converting from LyX 1.1.x to 1.3.5

2005-04-20 Thread Joerg Hau
Hi All, > You can't insert a graphic in a list item. Looking at the original, you > had that wrong there too, so you just got lucky. All that has happened > is that LyX has got better at spotting errors in the LaTeX log file. > > To fix your document, I changed all those list items containing > gr

Re: Problem converting from LyX 1.1.x to 1.3.5

2005-04-20 Thread Joerg Hau
Hi, > > Another, related question: The LyX file mentioned above includes > > numerous symbols of mouse buttons, which I formatted as small "inline" > > graphics in the original document (2.5 mm width). In the LyX 1.3.5 > > editing screen, these are _huge_; is this intended behaviour? > > However,

Problem converting from LyX 1.1.x to 1.3.5

2005-04-18 Thread Joerg Hau
Dear All, I have a problem with an "old" LyX file (created with LyX 1.1.x; it says "\lyxformat 218") that generates lots of error messages. To reproduce: (1) Download and unpack . (2) Open doc/msgman21.lyx (it

Re: Shading for all floats in a LyX document, and caption styles

2005-01-23 Thread Joerg Hau
Hi Uwe et al., > > I'm currently writing a long document with a number of table > > floats (actually they contain code snippets). I would like to put > > a frame around those, and/or use a shaded background. > > With the LaTeX-package "float", you can define your own float or > redefine an existin

Q: Define shading (or frame) for all floats in a LyX document?

2005-01-20 Thread Joerg Hau
Dear All, I'm currently writing a long document with a number of table floats (actually they contain code snippets). I would like to put a frame around those, and/or use a shaded background. Note that I'm not looking for individually shaded cells - I want the _whole_ float to have a shaded bac

Re: Creating an URL

2001-10-09 Thread Joerg Hau
> > I would like to have a link as "HTML link" (as above) upon export > > to HTML, but on the other hand the URL should be _printed_ when > > the document is converted to DVI/PS/PDF/... In other words: > > > > HTML should give > > http://x.y.z>My Link > > > > DVI/PS should give > > My Link

Re: Creating an URL

2001-10-04 Thread joerg . hau
>> Can anybody tell me what to do to create an URL when using document class >> book (I really would like to avoid document class LinuxDoc) ? > > \usepackage{html} > > and in text in tex(red) > > \htmladdnormallink{the text for the link}{the url for the link} > > for example: > \htmladdnormallink

Fax template?

2001-09-21 Thread joerg . hau
Dear All, Does anyone have a "generic" fax template that can be used easily with LyX ? I've been searching this for a while, but all I found were some very "dedicated" LaTeX classes, mostly for universities. What I would like to obtain is something like this: http://www.mysunrise.ch/users/

Redefining figure and table header fonts and placement

2001-08-29 Thread joerg . hau
Dear All, I'm frequently using the "article" and "book" class to write technical documents, but I would like to change two things: - redefine figure and table headers so that they still use the base font, but in a slightly smaller size and in italic. - redefine the spacing between a table h

Letter: Swiss layout?

2001-08-28 Thread joerg . hau
Dear All, Sorry if this is a FAQ, but ... using the "dinbrief" or "g-brief" layout to write a letter, how can I change the indenting of the "send to" address? The reason is that Swiss envelopes (those with a transparent address window) need the address to be located at ca. 12 cm from the lef