Re: aligning paragraphs

2001-10-02 Thread Gerhard Schuck

If you choose Alignment = Left in the Paragraph menu you have no hyphenation in the 
final document. For left aligned text with hyphenation write the following into your 
preamble:

\usepackage{ragged2e}
\RaggedRight

Apart from that you can edit the layout files (first copy them to "~/.lyx/layouts") to 
get rid of block alignment in lyx.

Gerhard Schuck
[EMAIL PROTECTED]

> Layout -> Paragraph -> Alignment = Left
> 
> On Tuesday 02 October 2001 11:20 pm, you wrote:
> > I notice that lyx automatically justifies pages. I don't like my text
> > justified. It is harder to read. Also, it is really a big pain to edit.
> > When I put my cursor in the middle of a paragraph and begin to type, the
> > text jerks across the page because it is trying to itself.
> >
> > How can I get the text to align left? (I need to do this not just for a
> > final document, but when I am editing files.)
> >
> > Thanks!
> >
> > Paul
> 



Re: aligning paragraphs

2001-10-02 Thread Christopher M. Jones

Layout -> Paragraph -> Alignment = Left

On Tuesday 02 October 2001 11:20 pm, you wrote:
> I notice that lyx automatically justifies pages. I don't like my text
> justified. It is harder to read. Also, it is really a big pain to edit.
> When I put my cursor in the middle of a paragraph and begin to type, the
> text jerks across the page because it is trying to itself.
>
> How can I get the text to align left? (I need to do this not just for a
> final document, but when I am editing files.)
>
> Thanks!
>
> Paul



aligning paragraphs

2001-10-02 Thread Paul Tremblay

I notice that lyx automatically justifies pages. I don't like my text justified.
It is harder to read. Also, it is really a big pain to edit. When I put my
cursor in the middle of a paragraph and begin to type, the text jerks across the
page because it is trying to itself.

How can I get the text to align left? (I need to do this not just for a final
document, but when I am editing files.)

Thanks!

Paul

-- 

*Paul Tremblay *
*[EMAIL PROTECTED]*




Re: hyperref-newbe-questions

2001-10-02 Thread M. B. Schiekel

On Monday,  1. October 2001 18:56, M. B. Schiekel wrote:

Well, in the meantime I learned a little LaTeX and made my own (simple) 
PDF-compatible endnote-management. With that I have double-linked 
endnotes.
--
\newcounter{myEndno}
%call: myLink{Link-Text}
\newcommand{\myLink}[1]{\addtocounter{myEndno}{1}%
\hyperlink{A\themyEndno}{#1\ensuremath{^{\themyEndno}}}\hypertarget{M\themyEndno}{}}%
%
% call: \myTarget{Target-Text}
\newcommand{\myTarget}[1]{\addtocounter{myEndno}{1}%
\hyperlink{M\themyEndno}{\ensuremath{^{\themyEndno}}#1}\hypertarget{A\themyEndno}{}}%
%
% before the list of endnotes, one has to clear the counter with:
\setcounter{my Endno}{0}
---
So, what do the experts suggest?
bernhard



Re: boxing a description

2001-10-02 Thread Herbert Voss

Myriam Abramson wrote:
> 
> I'm trying to put a box around a description (describing an
> algorithm with keywords) but I get errors even in the tex file!
> The lyx output file is attached.

a better way is to choose the alogorithm-float.
insert->float-algorithm

insert the lines with layout lyxcode into the
float. choose. if needed a caption

also you can use the algorithm-style from 

http://www.educat.hu-berlin.de/~voss/lyx/algorithm/algorithm.html


Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/





Re: boxing a description

2001-10-02 Thread Robin Turner

On Tuesday 02 October 2001 14:28, Robin Turner wrote:
> On Tuesday 02 October 2001 13:42, Myriam Abramson wrote:
> > Hi!
> >
> > I'm trying to put a box around a description (describing an
> > algorithm with keywords) but I get errors even in the tex file!
>
> \fbox is fragile, if I remember rightly.  You can get out of this by using
> a minipage.  Put something like this in your preamble:
>
[cut]

On closer inspection ... the problem is that LaTeX is reading the closing 
brace of your fbox command as an item in the description environment.

I got round this eventually with the solution I mentioned before (i.e. create 
your own boxed minipage environment) but still can't get it to work with 
plain fbox.  See attached LaTeX file for the workable version.

Robin

%% LyX 1.2 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{babel}

\makeatletter

%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}

%% Textclass specific LaTeX commands.
 \newenvironment{myBox}{%
   \vspace{4mm}
   \noindent%
   \begin{lrbox}{\@tempboxa}%
   \begin{minipage}[c]{0.5\columnwidth}%
 }{%
   \end{minipage}%
   \end{lrbox}%
\centering
   \fbox{\parbox{0.5\columnwidth}{\usebox{\@tempboxa}}}\\%
   \vspace{4mm}
   }%

\makeatother
\begin{document}
\begin{myBox} boxing test algorithm

\begin{description}
\item [push]x on stock
\item [while](stack)\\
y $\leftarrow $ pop stack

\begin{description}
\item [Foreach]neighboring i\\
i$_{s} $ $\leftarrow $ $\frac{1}{8}\sum _{j} weight_{j} $ where $j$ is a neighbor of 
$s$\\
if $\Delta weight$ > $\epsilon $\\
push $s$ in stack
\end{description}
\end{description}
\end{myBox}
\end{document}



Re: boxing a description

2001-10-02 Thread Robin Turner

On Tuesday 02 October 2001 13:42, Myriam Abramson wrote:
> Hi!
>
> I'm trying to put a box around a description (describing an
> algorithm with keywords) but I get errors even in the tex file!


\fbox is fragile, if I remember rightly.  You can get out of this by using a 
minipage.  Put something like this in your preamble:

 \newenvironment{myBox}{%
  \vspace{4mm}
  \noindent%
  \begin{lrbox}{\@tempboxa}%
  \begin{minipage}[c]{0.5\columnwidth}%
}{%
  \end{minipage}%
  \end{lrbox}%
   \centering
  \fbox{\parbox{0.5\columnwidth}{\usebox{\@tempboxa}}}\\%
  \vspace{4mm}
  }%

This is adapted a little from one of Herbert's bits of LaTeX wizardry - 
you'll probably want to play with it to get your box the right size and in 
the right position.

Robin




boxing a description

2001-10-02 Thread Myriam Abramson


Hi!

I'm trying to put a box around a description (describing an
algorithm with keywords) but I get errors even in the tex file!
The lyx output file is attached. 

Thanks for any suggestions. 


 boxing a description




-- 
   myriam




Re: Copyright notice at footer of every page

2001-10-02 Thread Tuukka Toivonen

On Tue, 2 Oct 2001, Steve Litt wrote:

>Now that I know about \copyright, I'll substitute that for (C) :-)

I myself like more compose-0-c which is more wysiwyg.
Like this: ©

--
| Tuukka Toivonen <[EMAIL PROTECTED]>   [PGP public key
| Homepage: http://www.ee.oulu.fi/~tuukkat/   available]
| Try also finger -l [EMAIL PROTECTED]
| Studying information engineering at the University of Oulu
+---




Re: Copyright notice at footer of every page

2001-10-02 Thread Steve Litt

On Tuesday 02 October 2001 02:33, Herbert Voss wrote:
> Steve Litt wrote:
> > How do I make a footer to house my copyright notice at the bottom of
> > every page? For this particular file I'm using the Article document
> > class.
>
> \copyright your copyright text
> in the footer with fancyhdr.
>
> Herbert

Thank everyone for your help -- it allowed me to get the doc to the customer 
on short notice. What I ended up doing was:

layout->document->document_tab->pagestyle->fancy

And then:

layout->LaTeXpreamble:
\lfoot{.\\ .\\ Copyright (C) 2001 by Steve Litt, all rights reserved.\\ 
Licensed to .}

Now that I know about \copyright, I'll substitute that for (C) :-)

The footer as described does not overwrite the centered page number, because 
I skip 2 lines with .\\.\\

Thanks again. I needed to get that doc into my customer's hands pronto, and 
with all of your help, I did.

Steve

-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.







UPDATE of Lyx for Windows

2001-10-02 Thread Claus Hentschel

Due to a change in Cygwin release 1.3.3 access to DOS/Win32 drives will not
be supported using //x as in releases before.

Therefore I have recompiled Lyx using the newest Cygwin release and have
updated all scripts and my installation instructions you can find as usual
here:

http://www.fh-hannover.de/mbau/tim/hentschel/lyx/index.htm

If anybody using Lyx 1.1.6fix3 has upgraded to Cygwin 1.3.3 he SHOULD
upgrade Lyx to release 1.1.6fix3a, too!

Claus






Re: supressing "References" section heading

2001-10-02 Thread Tuukka Toivonen

On Tue, 2 Oct 2001, Praedor wrote:

>How can I suppress the printing of the "References" heading on the first page
>of my references?  For PNAS the references just start after a space beneath

Try inserting this TeX command (in red) somewhere before your references:

\renewcommand{\refname}{}

--
| Tuukka Toivonen <[EMAIL PROTECTED]>   [PGP public key
| Homepage: http://www.ee.oulu.fi/~tuukkat/   available]
| Try also finger -l [EMAIL PROTECTED]
| Studying information engineering at the University of Oulu
+---




RE: Page numbering question

2001-10-02 Thread Mohammad Reza Danesh

Yes. But still no go. The problem doesn't resolve with any type of headers;
default, plain, header, fancyheader, ...

Any other suggestion to try?

Thanks,
-M

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Herbert Voss
Sent: Monday, October 01, 2001 11:48 PM
To: [EMAIL PROTECTED]
Cc: Lyx
Subject: Re: Page numbering question

do you use fancyheader?

http://www.educat.hu-berlin.de/~voss/lyx/fancy/header.html

Herbert