Re: umlauts in formula

2000-08-25 Thread Herbert Voss

Guenter Milde wrote:
> 
> On Thu, 24 Aug 2000 h. voss wrote
> 
>  >
>  > \mbox{
>  > \mathit{
>  > lyx puts the closing parenthesis, so you have mbox{mathit{}}
>  > as an argument for amthit write your umlauts or letters with
>  > accents.
> 
> This does not work (at least for me): The \mbox puts you
> back to text mode and so \mathit gives an error.

yes, your right! i thought too much of math-stuff .. :-)
it must always be \textit

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss




Re: umlauts in formula

2000-08-25 Thread thomas schönhoff


Hallo,

Herbert Voss wrote:
> 
> Laurent DUVAL wrote:
> >
> > *1. writing it exactly as ä
> > *2. using "a instead of ä (the LaTex way)
> >

> i don't really know if you need the umlauts or accents for
> fomula text, which is in italic or normal text, not italic.
> 
> 1. real text in mathmode:
> open the blue mathbox and write your formula until you need
> german umlauts or accents. hit alt-m m, this toggles between
> text and mathmode.

works, but doesn't look very nice because of
different forms !
 
> 2. umlauts and accents in mathmode, means italic:
> open the blue mathbox and write your formula until you need
> german umlauts or accents. write

Doesn't work at least for me because I couldn't
insert the \, more precisely nothing happened !
> 
> \mbox{
> 
> only the open parenthesis, lyx puts by default the closing
> one, mbox{}. lyx don't show the backslash!
> as an argument for mbox write
> 
> \mathit{
> 
> lyx puts the closing parenthesis, so you have mbox{mathit{}}
> as an argument for amthit write your umlauts or letters with
> accents. at this point lyx don't know that you are writing
> in "mathtextmode", therefore you always have blue characters
> and space is only possible with control-space. you can change
> this with alt-m m.

The same results as in proposal 2 no backslash is
accepted (mathtext- and meth- mode!)
> 
> Herbert

Thomas

BTW, I have attached the example file. Meanwhile I
have changed Description to Standard enviroment,
but this didn't work anyhow !
> 
> --
> [EMAIL PROTECTED]
> http://perce.de/voss


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass article
\language german
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\size large 
Prävalenz= 
\begin_inset Formula \( \frac{Anzahl\, der\, F\textrm{ä}lle\, zu\, einem\, Zeitpunkt\, 
in\, einer\, Population}{Anzahl\, der\: Personen\, in\, der\, definierten\, 
Population} \)
\end_inset 


\the_end



Re: umlauts in formula

2000-08-25 Thread Herbert Voss

thomas schönhoff wrote:

> > 1. real text in mathmode:
> > open the blue mathbox and write your formula until you need
> > german umlauts or accents. hit alt-m m, this toggles between
> > text and mathmode.
> 
> works, but doesn't look very nice because of
> different forms !

the backslash is never seen in mathmode! look at the attached file,
there are different solutions for your problem

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss

#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass article
\language german
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

1.
 your formula
\layout Standard


\size large 
Prävalenz= 
\begin_inset Formula \( \frac{\textrm {Anzahl\, der\, F\textrm{ä}lle\, zu\, einem\, 
Zeitpunkt\, in\, einer\, Population}}{\textrm {Anzahl\, der\, Personen\, in\, der\, 
definierten\, Population}} \)
\end_inset 


\layout Standard

2.
 the same in mathmode with alt m-m
\layout Standard


\begin_inset Formula \( \textrm{Prävalenz}=\frac{\textrm{Anzahl der Fälle zu einem 
Zeitpunkt in einer Population}}{\textrm{Anzahl der Personen in der definierten 
Population}} \)
\end_inset 


\layout Standard

3.
 same with different fontsize
\layout Standard


\begin_inset Formula \( \large \textrm{Prävalenz}=\frac{\large  \textrm{Anzahl der 
Fälle zu einem Zeitpunkt in einer Population}}{\huge  \textrm{Anzahl der Personen in 
der definierten Population}} \)
\end_inset 


\layout Standard

4.
 with raisebox and stackrel
\layout Standard

Prävalenz=
\latex latex 

\backslash 
raisebox{-1ex}{$
\backslash 
stackrel{
\backslash 
displaystyle{
\backslash 
underline{
\backslash 
textrm{Anzahl der Fälle zu einem Zeitpunkt in einer Population{
\backslash 
textrm{Anzahl der Personen in der definierten Population}}$}
\layout Standard

und tschüß :-)
\the_end



Re: "export postscript" problem

2000-08-25 Thread Claus Hentschel

> I look forward to any resolution on this problem.

Attached is a zip file dvips.zip which contains a wrapper script for dvips
from MikTeX as well as expr.exe a CygWin utility which is called in the
script! You have to unpack both files into C:\CYGWIN\USR\LOCAL\LYX\EXTERNAL.

I have tested the script: export is possible now ;))

The script assumes that dvips.exe is located in C:\TEXMF\MIKTEX\BIN! If this
is not true on your system, please change the last line of the script to fit
your dvips's location!

Regards
Claus

 dvips.zip


how do I put screen font in lyxrc?

2000-08-25 Thread Paul E Johnson

In the pull down menu for options/screen fonts, I've found one I like,
and in the pull down Roman font  is

-adobe-times new roman

But when I try to put that in my lyxrc file, I get errors. Can you say
how to fix?

All I have in lyxrc is this:
\screen_dpi 75
\screen_font_scalable
\screen_font_roman -adobe-times new roman 

Here's the error at startup:
LyX: Bad boolean `\screen_font_roman'. Use "false" or "true" [around
line 2 of file ~/.lyx/lyxrc]
LyX: Unknown tag `-adobe-times' [around line 2 of file ~/.lyx/lyxrc]
LyX: Unknown tag `new' [around line 2 of file ~/.lyx/lyxrc]
LyX: Unknown tag `roman' [around line 2 of file ~/.lyx/lyxrc]


-- 
Paul E. Johnson   email: [EMAIL PROTECTED]
Dept. of Political Sciencehttp://lark.cc.ukans.edu/~pauljohn
University of Kansas  Office: (785) 864-9086
Lawrence, Kansas 66045FAX: (785) 864-5700



Re: how do I put screen font in lyxrc?

2000-08-25 Thread Herbert Voss

Paul E Johnson wrote:
> 
> In the pull down menu for options/screen fonts, I've found one I like,
> and in the pull down Roman font  is
> 
> -adobe-times new roman
> 
> But when I try to put that in my lyxrc file, I get errors. Can you say
> how to fix?
> 
> All I have in lyxrc is this:
> \screen_dpi 75
> \screen_font_scalable
> \screen_font_roman -adobe-times new roman

\screen_font_roman "-adobe-times new roman"

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss



KLYX WORD PROCESSOR

2000-08-25 Thread John Richard Smith



I have printed off all there is on my 
MD7.0+St.Off5.01 regarding KLYX documentation and read it 
carefully.
No-where can I get it to create:-
 
MY NAME(top 
left)  
MY ADDRESS(top right)
 
 
 
date
 
 
SEND TO ADDRESS (beginning 5.5cm below top of 
page)
 
 
 
 
Main text
 
 
 
 
 
 
 
 
 
TEL NUMBER(bottom 
left)    
E-MAIL ADDRESS(bottom right)
 
all with about a 2.5cm page margin 
alround.
 
The satandard template will not do this so by 
definition a customised job is necessary.I do not seem able to produce a 
customised job either.What do I do?
 
Would it not of been better to of given the 
programme a headers and footers enviroment where the standard letter headings go 
in any form or style chosen.The rest is easy enough to type in by the typist 
each time a letter is invoked .
 
The manual is verbose and improcise ,and needs 
rewiting by professional manual writers ,people who have been trained to 
understand the combination of visual and concisely writen instruction, that make 
the chore as short as possible,and builds up the users confidence from the 
start.That means precise instruction, do this do that,click hear click there, 
choose from dropdown menu ,select from list ,lardy, lardy lar.It should include 
some pictures in greyscale to demonstrate whereever feasible the type of command 
and layout. The use of block diagrammes linked by lines to show options ,not 
unlike that which produces the visual command lines in the folders and files 
structure tree,but with larger boxes with better descriptions of where to click 
or what to type. Of course the person(s) who would do this would have first to 
have a full hands on training by someone with that prior knowledge of how it all 
works.I am sure that they are in short supply,but this would make a nice 
project for  some university dept. with the write sort of skills.Money well 
spent.
 
Anuone listening.
 
John R.Smith


changing caption environment & positioning of figures

2000-08-25 Thread Martijn Brouwer

Hello,
Today I finished my master thesis, but I still have two problems:
The most important is that one of my figures is not inserted in my
document. This is a small figure in a floatflt environment. The problem is
that this figure follows after a huge figure float containing three
figures. This float is printed on a separate page, but LaTeX seems to be
unable to insert the small figure before the huge one. I inserted the large
float at the very beginning of the section it belongs to.
How can I solve this? My preferences for the insertion of floats are htbp.
Changing to !htbp does not solve my problem.

My second problem is that the captions are hardly discernable from the
normal text. I want to print them in a slightly smaller font and italic.
How can I change the caption environment?

Thanks in advance,

Martijn

P.S. My document is 54 pages, contains 15 figurefloats with 25 figures,
about 10 tables and hundreds of equations. And still LyX runs smoothly! On
a 486! A great achievement.






_
Martijn Brouwer
[EMAIL PROTECTED]



Little idea for typing comfort

2000-08-25 Thread Emanuele Gissi & Alessia Franceschi

Hi,
first of all: thanks to Herbert Voss for solving my previous problem.

A little idea to improve the comfort in typing.
LyX should prevent the user from typing a blank space before a point, a coma
and so on or move it after the sign, thus avoiding mistakes like these:

"I love LyX_,but I prefer girls_!" (where underscore means space)

Of course it would be necessary a way to turn this control off, so to allow to
type numbers like in: "my IQ is_.0001"

As I am learning python I promise to prepare a script to check that mistake
that I make rather often typing my thesis.
(release date next year, it's vaporware ;-)

Emanuele

-- 
Emanuele Gissi & Alessia Franceschi
via Damiano Chiesa 20/B
60123 Ancona - Italia
tel: 0039 071 32979 - email: [EMAIL PROTECTED]
fax: 0039 071 220.2256

"L'imagination, ce n'est pas le mensonge"
[Daniel Pennac - Messieurs les enfants, ed. Gallimard, Paris, 1997]



Re: changing caption environment & positioning of figures

2000-08-25 Thread Jean-Pierre.Chretien


>>Date: Fri, 25 Aug 2000 18:08:33 +0200
>>To: [EMAIL PROTECTED]
>>From: Martijn Brouwer <[EMAIL PROTECTED]>
>>Subject: changing caption environment & positioning of figures
>>
>>Hello,
>>Today I finished my master thesis, but I still have two problems:
>>The most important is that one of my figures is not inserted in my
>>document. This is a small figure in a floatflt environment. The problem is
>>that this figure follows after a huge figure float containing three
>>figures. This float is printed on a separate page, but LaTeX seems to be
>>unable to insert the small figure before the huge one. I inserted the large
>>float at the very beginning of the section it belongs to.
>>How can I solve this? My preferences for the insertion of floats are htbp.
>>Changing to !htbp does not solve my problem.

Seems to me that the Extended.lyx doc says that the floatflt package
is a bit fragile with page breaks, so that the normal float control
does not help: you must try tu put the floatflt right in the
middle of a page to avoid automatic placement near top or bottom.
Can't you manage to control the
positioning by hand (i.e. moving huge floats around ?)

>>My second problem is that the captions are hardly discernable from the
>>normal text. I want to print them in a slightly smaller font and italic.
>>How can I change the caption environment?

Example from the french FAQ:
\usepackage[small,hang]{caption2}
\renewcommand{\captionfont}{\it \small}
\renewcommand{\captionlabelfont}{\it \bf \small}
\renewcommand{\captionlabeldelim}{ :}
See the caption2 doc for the fine tuning

-- 
Jean-Pierre




export html really does not work, eps puzzles too

2000-08-25 Thread Paul Johnson

I saw a note about this recently in  here. I installed latex2html. 

I use RedHat 6.1 with lyx 1.5.1fix
In lyx, when I try export to HTML, a menu says "file.tex" already
exists. Do you want to overwrite the file?

WHile I'm exposing more of my ignorance, let me ask this. I imported an
eps file and it looks fine on the screen in lyx, but when I view in dvi
the figure is all the way over to the right side of the page.  I've
found it fixes it if I set the horizontal width at 100%. Can someone
explain why?

Also, in the panel you get when you double click an the eps figure,
there is a space for a caption.  In the exported tex, it shows up like
caption{} but there are no words in it.  Does this work for you?  It
works in a floating figure that I say is a subfigure.




-- 
Paul E. Johnson   email: [EMAIL PROTECTED]
Dept. of Political Sciencehttp://lark.cc.ukans.edu/~pauljohn
University of Kansas  Office: (785) 864-9086
Lawrence, Kansas 66045FAX: (785) 864-5700



Re: export html really does not work, eps puzzles too

2000-08-25 Thread Jean-Pierre.Chretien


>>Date: Fri, 25 Aug 2000 11:44:31 -0500
>>From: Paul Johnson <[EMAIL PROTECTED]>
>>To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>>Subject: export html really does not work, eps puzzles too
>>
>>I saw a note about this recently in  here. I installed latex2html. 
>>
>>I use RedHat 6.1 with lyx 1.5.1fix
>>In lyx, when I try export to HTML, a menu says "file.tex" already
>>exists. Do you want to overwrite the file?

This means that you alread exported the lyx file as tex in your dir,
(either with export as HTML or with Export as TeX
so lyx asks for a confirmation. Just answer Yes.

>>
>>WHile I'm exposing more of my ignorance, let me ask this. I imported an
>>eps file and it looks fine on the screen in lyx, but when I view in dvi
>>the figure is all the way over to the right side of the page.  I've
>>found it fixes it if I set the horizontal width at 100%. Can someone
>>explain why?

If your EPS has a lousy BoundingBox, this is possible. How did you
get it ?
>>
>>Also, in the panel you get when you double click an the eps figure,
>>there is a space for a caption.  In the exported tex, it shows up like
>>caption{} but there are no words in it.  Does this work for you?  It
>>works in a floating figure that I say is a subfigure.

The regular caption of the float in in the LyX window, not in the popup
panel.

-- 
Jean-Pierre




algorithm use

2000-08-25 Thread ben

Hello,
I would like to use the latex algorithm and algorithmic packages, such a
way that this environment is seen as a new style in lyx.

1) Does someone currently use these packages under lyx, and if so do
they put the raw latex commands in lyx ? If not how do they use it ?

2) I've read the documentation and I can define a new style, when it is
quite basic. My problem here is that the latex translation is more
complex, and the visual aspect is not so easy to manage. In brief, I
don't know what to.
Can we use macros to translate into latex, and to perform the visual
aspect ? Can we put a dynamic behaviour such as: if the first word
written is "keyword" then the latex translation would be something, and
if not another latex syntax is used, etc.?

3) I must confess that I'm a newbie in latex and in lyx.

By,

BG




Re: algorithm use

2000-08-25 Thread Herbert Voss

ben wrote:
> 
> Hello,
> I would like to use the latex algorithm and algorithmic packages, such a
> way that this environment is seen as a new style in lyx.
> 
> 1) Does someone currently use these packages under lyx, and if so do
> they put the raw latex commands in lyx ? If not how do they use it ?

have a look at 
http://www.educat.hu-berlin.de/~voss/Informatik/LyXTips.html#alg_1

Herbert




booktabs -- please, comment

2000-08-25 Thread Matej Cepl

Hi,

while looking for something I have found LaTeX 
package booktabs. Reading its documentation (I 
have it at 
/usr/share/texmf/doc/latex/..??../booktabs ) 
make me confused. The author seems to be rather 
radical and quite strange to my taste. Would be 
willing and ready knowingly comment on his two 
doctrines?

1) You should NEVER (literarily) use vertical 
rules in a table.

2) You should NEVER (nearly) use double rules in 
a table.

The second issue doesn't bother me, but the 
first one seems to me quite strange. What about 
following table?

--
 |head head2  head3
--
1st item | datadata2  data3
2nd item | datadata2  data3
3rd item | datadata2  data3
4th item | datadata2  data3
--

Thanks

Matej



Re: booktabs -- please, comment

2000-08-25 Thread Kenward Vaughan

Sounds like someone's opinion to me.  Depending on the type of document,
audience, etc., they should be perfectly acceptable and serve distinct purposes
(as your example implies).  I don't recall ever seeing rules on their use in
my grammar book either... :)

Kenward

On Fri, Aug 25, 2000 at 10:54:54PM +0200, Matej Cepl wrote:
...
> make me confused. The author seems to be rather 
> radical and quite strange to my taste. Would be 
> willing and ready knowingly comment on his two 
> doctrines?
> 
> 1) You should NEVER (literarily) use vertical 
> rules in a table.
> 
> 2) You should NEVER (nearly) use double rules in 
> a table.
> 
> The second issue doesn't bother me, but the 
> first one seems to me quite strange. What about 
> following table?
> 
> --
>  |head head2  head3
> --
> 1st item | datadata2  data3
> 2nd item | datadata2  data3
> 3rd item | datadata2  data3
> 4th item | datadata2  data3
> --

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--