Re: Strange Table Index

2010-09-15 Thread Guenter Milde
On 2010-09-14, Julien Rioux wrote:
 On 13/09/2010 3:22 PM, minhvd wrote:

 I have seen this happen in a two-column document, when mixing tables of 
 one- and two-column width (spanning columns). Does this description 
 match your document? In this case it is a Latex problem which needs a 
 Latex solution, but I haven't looked for one. What I did was to put the 
 tables far enough apart in the document so that they never end up in 
 reversed order. A better solution would be using a float barrier.

Maybe the flafter package helps
(Try with \usepackage{flafter} in the LaTeX preamble).
But be aware of the side- (or actually intended) effects of this
package:  Standard LaTeX floats after reference.

Günter



Re: delete 'Unser Zeichen' from dinbrief

2010-09-15 Thread Guenter Milde
On 2010-09-14, chs...@freenet.de wrote:
 Am Tue, 14 Sep 2010 18:25:02 + (UTC)
 schrieb Paul Rubin ru...@msu.edu:

 I thought I could keep the entry Ihr Zeichen. However I had to
 delete all three lines Ihr Zeichen, Unser Zeichen and
 Sachberabeiter but then everything was fine.

Yes, this is a feature of DINbrief, you get them all three or none.

If this does not fit your needs, you can try the KOMA letter class
(read its documentation in scrguide.pdf or scrguien.pdf).

Günter



Re: Many questions about typesetting

2010-09-15 Thread Charlie
On Tue, 14 Sep 2010 19:01:06 -0400 Richard Heck rgh...@comcast.net
shared this with is all on the Lyx users list:

Yes, it's done in the preamble, but the {...whatever you want...} part 
has to consist of LaTeX commands, e.g.:
 \setkomafont{chapter}{\normalfont\sfseries\Large}
will make the chapter headings sans serif and Large. (The \normalfont 
just makes sure to reset everything else.) There's also:
 \addtokomafont{chapter}{\sfseries}
which will set them to sans serif but otherwise leave them as without 
that command.

Any font command can be used here, including commands to select very 
specific fonts.

Richard 

Thanks for that information Richard.

Be well,
Charlie

-- 
Registered Linux User:- 329524
***
Getting bored is not allowed. ---ELOISE

***
Debian, just the best way to create magic
___


Re: delete 'Unser Zeichen' from dinbrief

2010-09-15 Thread chs748
Am Wed, 15 Sep 2010 07:13:47 + (UTC)
schrieb Guenter Milde mi...@users.berlios.de:

 
 If this does not fit your needs, you can try the KOMA letter class
 (read its documentation in scrguide.pdf or scrguien.pdf).
 
Right now I am happy the way it is. However I might try the KOMA letter
when I feel experienced enough to install it.

Regards, Chris


captionbeside lyx Koma book

2010-09-15 Thread Wolfgang Engelmann
I have a vertically long figure and a long caption text. I would like to use 
captionbeside to fit figure and text on a page. I use Koma book and twocolumn 
page style. For the figure I would of course use 'span columns' in the 
settings for the float figure.

Has anybody done it successfully under LyX? Specifically, where in the 
document do I place the ERT \FigBesBeg and \FigBesEnd? 

The following placements give errors:
Abbildung
\ref{fig:RNApolymeraseTranskription} zeigt ... Transkription.
\inputencoding{latin1}{}\inputencoding{latin9}%
\begin{figure*}
\begin{centering}
\includegraphics[clip,width=0.4\textwidth]{BilderEG/6-16}
\par\end{centering}
\begin{captionbeside}[Beginn der Transkription eines Gens durch Polymerase II]
{\label{fig:RNApolymeraseTranskription}...}
\end{captionbeside}}
\end{figure*}

If Koma book and twocolumn page style do not go well together with 
captionbeside, what are the alternatives? 


Re: captionbeside lyx Koma book

2010-09-15 Thread Mukhtar Ullah
Wolfgang Engelmann engelmann at uni-tuebingen.de writes:

 
 I have a vertically long figure and a long caption text. I would like to use 
 captionbeside to fit figure and text on a page. I use Koma book and twocolumn 
 page style. For the figure I would of course use 'span columns' in the 
 settings for the float figure.
 
 Has anybody done it successfully under LyX? Specifically, where in the 
 document do I place the ERT \FigBesBeg and \FigBesEnd? 
 
 The following placements give errors:
 Abbildung
 \ref{fig:RNApolymeraseTranskription} zeigt ... Transkription.
 \inputencoding{latin1}{}\inputencoding{latin9}%
 \begin{figure*}
 \begin{centering}
 \includegraphics[clip,width=0.4\textwidth]{BilderEG/6-16}
 \par\end{centering}
 \begin{captionbeside}[Beginn der Transkription eines Gens durch Polymerase II]
 {\label{fig:RNApolymeraseTranskription}...}
 \end{captionbeside}}
 \end{figure*}
 
 If Koma book and twocolumn page style do not go well together with 
 captionbeside, what are the alternatives? 
 
 
Wolfgang,
For me the following method works:
Add to your preamble

\newcommand{\CapBesBeg}{%
 \setcapindent*{0em}
 \let\MyCaption\caption
 \renewcommand{\caption}{\begin{captionbeside}}}

\newcommand{\CapBesEnd}{% 
 \end{captionbeside}
 \setcapindent{0em}
 \let\caption\MyCaption}

and then include your figure as follows

\begin{figure}
\CapBesBeg\caption[Short Caption]{\label{fig:label}Long Caption}
[o]\includegraphics{figures/filename}\CapBesEnd
\end{figure}

Let me know if you have any problems with that.

Mukhtar




Re: captionbeside lyx Koma book

2010-09-15 Thread Mukhtar Ullah
 
 Let me know if you have any problems with that.
 
 Mukhtar
 
 

I forgot to mention that only \CapBesBeg, [o] and \CapBesEnd need to be in ERT.
The rest you include as usual in LyX.

Mukhtar





Re: Windows setup/directory structure

2010-09-15 Thread Paul A. Rubin

On 9/14/2010 7:41 PM, Maria Gouskova wrote:



I should add that they all used MikTeX, and we tried putting texmf in
C:\ and also in the Program Files folder (I think basically as
C:\Program Files\texmf).

What confuses me is that in Mac OS, LyX finds all the stuff inside the
texmf folder automaticallly after reconfiguring. Does this happen in
Windows? If not, is there something that needs to be done inside LyX
to help it find the correct texmf path? I am sure we missed something
really obvious.



If they are using MiKTeX:

1.  They can run the MiKTeX Settings application (from the Start menu) 
and go to the Roots tab.  That lists the directories on the search 
path MiKTeX uses.  They can create their local texmf folder anywhere 
they want, then just add it to that tab (Add... button) and move it up 
to the top of the search chain.


2.  After adding anything to their local texmf directory, they should 
run the Settings application, and on the General tab click Refresh 
FNDB (which runs texhash to update the LaTeX file databases).


/Paul



Re: captionbeside lyx Koma book

2010-09-15 Thread Wolfgang Engelmann
Am Wednesday 15 September 2010 15:57:06 schrieb Mukhtar Ullah:
  Wolfgan,
  The screenshot shows what I mean:

Thanks, but I have difficulties with my arrangement (first figure, than 
legend: This is my standard arrangement throughout the book). Lyx errors, 
even after taking out the centering...
Does the [o] determine, where the figure/legend is placed?
Could you tell me in the example screenshot I had send you where I should 
place the CapBesBeg and the [o]?

Thanks for your patience and help!

Wolfgang


Table cell behavior

2010-09-15 Thread Julio Rojas
Dear all, I have a table in which I have items of text that I would
like to be singlespaced and separated by a Defalut Skip vertical
space. The latex code that appears on the Latex Source window looks
like this:

{\scriptsize Movilidad de equipos a través del sistema de promoción
y descenso.\medskip{}
}{\scriptsize \par}

\begin{SingleSpace}
{\scriptsize Libre entrada de equipos en las categorías más bajas,
pero promoción solo mediante méritos deportivos.}\end{SingleSpace}
\tabularnewline

I deliberately left the first part of the cell by default (except the
font size), while the second part has the SingleSpace tag. The
result is that the first part is single spaced while the second one is
double spaced. Even worst, it doesn't matter if I put single or double
space on any paragraph, it always produces the same result.

Any idea on how to solve this problem. Best regards.
-
Julio Rojas
jcredbe...@gmail.com


Re: Table cell behavior

2010-09-15 Thread Julio Rojas
Hi, I can confirm that the \par at the end of the first paragraph on
the cell is the one that makes it to be single spaced. If I put both
of them together, and manually include it via ERT, the same behavior
appears: the first part or paragraph is single spaced, while the
second doesn't. Including a second one at the end of the second
pragraph makes both of them to be single spaced. Is this a bug? Am I
doing something bad?
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Sep 15, 2010 at 4:51 PM, Julio Rojas jcredbe...@gmail.com wrote:
 Dear all, I have a table in which I have items of text that I would
 like to be singlespaced and separated by a Defalut Skip vertical
 space. The latex code that appears on the Latex Source window looks
 like this:

 {\scriptsize Movilidad de equipos a través del sistema de promoción
 y descenso.\medskip{}
 }{\scriptsize \par}

 \begin{SingleSpace}
 {\scriptsize Libre entrada de equipos en las categorías más bajas,
 pero promoción solo mediante méritos deportivos.}\end{SingleSpace}
 \tabularnewline

 I deliberately left the first part of the cell by default (except the
 font size), while the second part has the SingleSpace tag. The
 result is that the first part is single spaced while the second one is
 double spaced. Even worst, it doesn't matter if I put single or double
 space on any paragraph, it always produces the same result.

 Any idea on how to solve this problem. Best regards.
 -
 Julio Rojas
 jcredbe...@gmail.com



Re: captionbeside lyx Koma book

2010-09-15 Thread Mukhtar Ullah
Wolfgang Engelmann engelmann at uni-tuebingen.de writes:

 
 Am Wednesday 15 September 2010 15:57:06 schrieb Mukhtar Ullah:
   Wolfgan,
   The screenshot shows what I mean:
 
 Thanks, but I have difficulties with my arrangement (first figure, than 
 legend: This is my standard arrangement throughout the book). Lyx errors, 
 even after taking out the centering...
 Does the [o] determine, where the figure/legend is placed?
 Could you tell me in the example screenshot I had send you where I should 
 place the CapBesBeg and the [o]?
 
 Thanks for your patience and help!
 
 Wolfgang
 
 

Wolfgang,
When using captionbeside environment, you have to provide your legend before
your figure. That does not mean that the legend will appear before the figure.
The placement of the two depends on the optional argument, which in my
screenshot is [o]. Following are the possible options:

l – left
r – right
i – inner margin in two-sided layout
o – outer margin in two-sided layout

There are a few problems with your screenshot:
1) You issue \CapBesBeg and \includegraphics commands before (outside) the float
figure environment. They have to be inside, as in my screenshot.
2) The legend and one of the options [l],[r],[i],[o] have to precede the
\includegraphics command, which is not the case in your screenshot.

I hope that helps.
Mukhtar



Re: captionbeside lyx Koma book

2010-09-15 Thread Wolfgang Engelmann
Am Wednesday 15 September 2010 17:21:51 schrieb Mukhtar Ullah:
 Wolfgang Engelmann engelmann at uni-tuebingen.de writes:
  Am Wednesday 15 September 2010 15:57:06 schrieb Mukhtar Ullah:
Wolfgan,
The screenshot shows what I mean:
 
  Thanks, but I have difficulties with my arrangement (first figure, than
  legend: This is my standard arrangement throughout the book). Lyx errors,
  even after taking out the centering...
  Does the [o] determine, where the figure/legend is placed?
  Could you tell me in the example screenshot I had send you where I should
  place the CapBesBeg and the [o]?
 
  Thanks for your patience and help!
 
  Wolfgang

 Wolfgang,
 When using captionbeside environment, you have to provide your legend
 before your figure. That does not mean that the legend will appear before
 the figure. The placement of the two depends on the optional argument,
 which in my screenshot is [o]. Following are the possible options:

 l – left
 r – right
 i – inner margin in two-sided layout
 o – outer margin in two-sided layout

 There are a few problems with your screenshot:
 1) You issue \CapBesBeg and \includegraphics commands before (outside) the
 float figure environment. They have to be inside, as in my screenshot.
 2) The legend and one of the options [l],[r],[i],[o] have to precede the
 \includegraphics command, which is not the case in your screenshot.

 I hope that helps.

 Mukhtar,

good, now I understand. Will try and report back to you and the list

Wolfgang


Re: agutex layout?

2010-09-15 Thread Evan Mason
Ok, I understand better how this works now and have edited the preamble to give
me line numbers and the inclusion of the figures, not just the figure floats,
using draft mode:

% OPTIONAL: To Create numbered lines uncomment these 2 lines:
 \usepackage{lineno}
 \linenumbers*[1]
% Include figures in draft mode
\setkeys{Gin}{draft=false}

Thanks for the replies,

Evan



Re: captionbeside lyx Koma book

2010-09-15 Thread Wolfgang Engelmann
Am Wednesday 15 September 2010 17:21:51 schrieb Mukhtar Ullah:

Now I got it working. I had in my preample among others
\setcapindent{0mm}
which is apparently conflicting with the captionbeside package. After 
commenting it out it works! 
%%\setcapindent{0mm}

Thanks a lot for your help

 Wolfgang Engelmann engelmann at uni-tuebingen.de writes:
  Am Wednesday 15 September 2010 15:57:06 schrieb Mukhtar Ullah:
Wolfgan,
The screenshot shows what I mean:
 
  Thanks, but I have difficulties with my arrangement (first figure, than
  legend: This is my standard arrangement throughout the book). Lyx errors,
  even after taking out the centering...
  Does the [o] determine, where the figure/legend is placed?
  Could you tell me in the example screenshot I had send you where I should
  place the CapBesBeg and the [o]?
 
  Thanks for your patience and help!
 
  Wolfgang

 Wolfgang,
 When using captionbeside environment, you have to provide your legend
 before your figure. That does not mean that the legend will appear before
 the figure. The placement of the two depends on the optional argument,
 which in my screenshot is [o]. Following are the possible options:

 l – left
 r – right
 i – inner margin in two-sided layout
 o – outer margin in two-sided layout

 There are a few problems with your screenshot:
 1) You issue \CapBesBeg and \includegraphics commands before (outside) the
 float figure environment. They have to be inside, as in my screenshot.
 2) The legend and one of the options [l],[r],[i],[o] have to precede the
 \includegraphics command, which is not the case in your screenshot.

 I hope that helps.
 Mukhtar



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: captionbeside lyx Koma book

2010-09-15 Thread Mukhtar Ullah
Wolfgang Engelmann engelmann at uni-tuebingen.de writes:

 
 Am Wednesday 15 September 2010 17:21:51 schrieb Mukhtar Ullah:
 
 Now I got it working. I had in my preample among others
 \setcapindent{0mm}
 which is apparently conflicting with the captionbeside package. After 
 commenting it out it works! 
 %%\setcapindent{0mm}
 
 Thanks a lot for your help
 
Good that it works now. I had the same situation once and I solved it by placing
\setcapindent{0mm} after the captionbeside definitions. So you don't need to
comment that. Just move it after the two \newcommand statements.

Best,

Mukhtar




Re: Long table

2010-09-15 Thread PPCC
Yurena Mendoza Lemes yurena.me.le at gmail.com writes:

 
 
 Hi all, I need help. I have to attach an excel table with 1710 rows and 14 
columns in my paper. The configuration of my paper is article(paper). Someone 
comes up as would be the easiest option?Thank in advance
 


Thank Uwe Stöhr!

Another way in two following steps:
1. Convert Excel tables to LaTeX.
2. Using Import LaTeX function in LyX (File  Import  Latex...).

Reference:
http://www.johndcook.com/blog/2008/09/16/four-ways-to-convert-excel-tables-to-
latex/




Float figures and wrapping text

2010-09-15 Thread Grahame Blackwood

Hi LyXers

I'm producing a document that needs some graphics to enliven the text. I
would also like the text to wrap round the graphics. However, as it isn't an
academic document, the usual references, Figure 1, Figure 2 etc aren't
needed in the finished pdf.

Does anyone know if there is any way to prevent the references Figure 1,
2 etc appearing in the pdf?

Cheers

G



Re: Float figures and wrapping text

2010-09-15 Thread Paul Rubin
Grahame Blackwood grahameblackwood at blueyonder.co.uk writes:

 
 I'm producing a document that needs some graphics to enliven the text. I
 would also like the text to wrap round the graphics. However, as it isn't an
 academic document, the usual references, Figure 1, Figure 2 etc aren't
 needed in the finished pdf.
 
 Does anyone know if there is any way to prevent the references Figure 1,
 2 etc appearing in the pdf?
 

If you mean that you want the caption to appear without Figure 97: preceding
it, add \usepackage[labelformat=empty]{caption} to your preamble.  (This will
turn off captions for all sorts of floats, not just figures.  If you need to
limit it to figures, see the documentation for the caption package.)

/Paul




Re: Float figures and wrapping text

2010-09-15 Thread Guenter Milde
On 2010-09-15, Grahame Blackwood wrote:

 I'm producing a document that needs some graphics to enliven the text. I
 would also like the text to wrap round the graphics. However, as it isn't an
 academic document, the usual references, Figure 1, Figure 2 etc aren't
 needed in the finished pdf.

 Does anyone know if there is any way to prevent the references Figure 1,
 2 etc appearing in the pdf?

You can simply delete the Caption including the auto-generated Figure N.

Günter



Re: agutex layout?

2010-09-15 Thread Uwe Stöhr

Am 15.09.2010 17:30, schrieb Evan Mason:


Ok, I understand better how this works now and have edited the preamble to give
me line numbers and the inclusion of the figures, not just the figure floats,
using draft mode:

% OPTIONAL: To Create numbered lines uncomment these 2 lines:
  \usepackage{lineno}
  \linenumbers*[1]
% Include figures in draft mode
\setkeys{Gin}{draft=false}



Hmm, but the first 3 lines were already included in my template file and you 
only had to uncomment them.

Thanks for last 2 lines. I added them now as optional code to the template file that wil be released 
with LyX 1.6.8.


regards Uwe


Re: Strange Table Index

2010-09-15 Thread Guenter Milde
On 2010-09-14, Julien Rioux wrote:
 On 13/09/2010 3:22 PM, minhvd wrote:

 I have seen this happen in a two-column document, when mixing tables of 
 one- and two-column width (spanning columns). Does this description 
 match your document? In this case it is a Latex problem which needs a 
 Latex solution, but I haven't looked for one. What I did was to put the 
 tables far enough apart in the document so that they never end up in 
 reversed order. A better solution would be using a float barrier.

Maybe the flafter package helps
(Try with \usepackage{flafter} in the LaTeX preamble).
But be aware of the side- (or actually intended) effects of this
package:  Standard LaTeX floats after reference.

Günter



Re: delete 'Unser Zeichen' from dinbrief

2010-09-15 Thread Guenter Milde
On 2010-09-14, chs...@freenet.de wrote:
 Am Tue, 14 Sep 2010 18:25:02 + (UTC)
 schrieb Paul Rubin ru...@msu.edu:

 I thought I could keep the entry Ihr Zeichen. However I had to
 delete all three lines Ihr Zeichen, Unser Zeichen and
 Sachberabeiter but then everything was fine.

Yes, this is a feature of DINbrief, you get them all three or none.

If this does not fit your needs, you can try the KOMA letter class
(read its documentation in scrguide.pdf or scrguien.pdf).

Günter



Re: Many questions about typesetting

2010-09-15 Thread Charlie
On Tue, 14 Sep 2010 19:01:06 -0400 Richard Heck rgh...@comcast.net
shared this with is all on the Lyx users list:

Yes, it's done in the preamble, but the {...whatever you want...} part 
has to consist of LaTeX commands, e.g.:
 \setkomafont{chapter}{\normalfont\sfseries\Large}
will make the chapter headings sans serif and Large. (The \normalfont 
just makes sure to reset everything else.) There's also:
 \addtokomafont{chapter}{\sfseries}
which will set them to sans serif but otherwise leave them as without 
that command.

Any font command can be used here, including commands to select very 
specific fonts.

Richard 

Thanks for that information Richard.

Be well,
Charlie

-- 
Registered Linux User:- 329524
***
Getting bored is not allowed. ---ELOISE

***
Debian, just the best way to create magic
___


Re: delete 'Unser Zeichen' from dinbrief

2010-09-15 Thread chs748
Am Wed, 15 Sep 2010 07:13:47 + (UTC)
schrieb Guenter Milde mi...@users.berlios.de:

 
 If this does not fit your needs, you can try the KOMA letter class
 (read its documentation in scrguide.pdf or scrguien.pdf).
 
Right now I am happy the way it is. However I might try the KOMA letter
when I feel experienced enough to install it.

Regards, Chris


captionbeside lyx Koma book

2010-09-15 Thread Wolfgang Engelmann
I have a vertically long figure and a long caption text. I would like to use 
captionbeside to fit figure and text on a page. I use Koma book and twocolumn 
page style. For the figure I would of course use 'span columns' in the 
settings for the float figure.

Has anybody done it successfully under LyX? Specifically, where in the 
document do I place the ERT \FigBesBeg and \FigBesEnd? 

The following placements give errors:
Abbildung
\ref{fig:RNApolymeraseTranskription} zeigt ... Transkription.
\inputencoding{latin1}{}\inputencoding{latin9}%
\begin{figure*}
\begin{centering}
\includegraphics[clip,width=0.4\textwidth]{BilderEG/6-16}
\par\end{centering}
\begin{captionbeside}[Beginn der Transkription eines Gens durch Polymerase II]
{\label{fig:RNApolymeraseTranskription}...}
\end{captionbeside}}
\end{figure*}

If Koma book and twocolumn page style do not go well together with 
captionbeside, what are the alternatives? 


Re: captionbeside lyx Koma book

2010-09-15 Thread Mukhtar Ullah
Wolfgang Engelmann engelmann at uni-tuebingen.de writes:

 
 I have a vertically long figure and a long caption text. I would like to use 
 captionbeside to fit figure and text on a page. I use Koma book and twocolumn 
 page style. For the figure I would of course use 'span columns' in the 
 settings for the float figure.
 
 Has anybody done it successfully under LyX? Specifically, where in the 
 document do I place the ERT \FigBesBeg and \FigBesEnd? 
 
 The following placements give errors:
 Abbildung
 \ref{fig:RNApolymeraseTranskription} zeigt ... Transkription.
 \inputencoding{latin1}{}\inputencoding{latin9}%
 \begin{figure*}
 \begin{centering}
 \includegraphics[clip,width=0.4\textwidth]{BilderEG/6-16}
 \par\end{centering}
 \begin{captionbeside}[Beginn der Transkription eines Gens durch Polymerase II]
 {\label{fig:RNApolymeraseTranskription}...}
 \end{captionbeside}}
 \end{figure*}
 
 If Koma book and twocolumn page style do not go well together with 
 captionbeside, what are the alternatives? 
 
 
Wolfgang,
For me the following method works:
Add to your preamble

\newcommand{\CapBesBeg}{%
 \setcapindent*{0em}
 \let\MyCaption\caption
 \renewcommand{\caption}{\begin{captionbeside}}}

\newcommand{\CapBesEnd}{% 
 \end{captionbeside}
 \setcapindent{0em}
 \let\caption\MyCaption}

and then include your figure as follows

\begin{figure}
\CapBesBeg\caption[Short Caption]{\label{fig:label}Long Caption}
[o]\includegraphics{figures/filename}\CapBesEnd
\end{figure}

Let me know if you have any problems with that.

Mukhtar




Re: captionbeside lyx Koma book

2010-09-15 Thread Mukhtar Ullah
 
 Let me know if you have any problems with that.
 
 Mukhtar
 
 

I forgot to mention that only \CapBesBeg, [o] and \CapBesEnd need to be in ERT.
The rest you include as usual in LyX.

Mukhtar





Re: Windows setup/directory structure

2010-09-15 Thread Paul A. Rubin

On 9/14/2010 7:41 PM, Maria Gouskova wrote:



I should add that they all used MikTeX, and we tried putting texmf in
C:\ and also in the Program Files folder (I think basically as
C:\Program Files\texmf).

What confuses me is that in Mac OS, LyX finds all the stuff inside the
texmf folder automaticallly after reconfiguring. Does this happen in
Windows? If not, is there something that needs to be done inside LyX
to help it find the correct texmf path? I am sure we missed something
really obvious.



If they are using MiKTeX:

1.  They can run the MiKTeX Settings application (from the Start menu) 
and go to the Roots tab.  That lists the directories on the search 
path MiKTeX uses.  They can create their local texmf folder anywhere 
they want, then just add it to that tab (Add... button) and move it up 
to the top of the search chain.


2.  After adding anything to their local texmf directory, they should 
run the Settings application, and on the General tab click Refresh 
FNDB (which runs texhash to update the LaTeX file databases).


/Paul



Re: captionbeside lyx Koma book

2010-09-15 Thread Wolfgang Engelmann
Am Wednesday 15 September 2010 15:57:06 schrieb Mukhtar Ullah:
  Wolfgan,
  The screenshot shows what I mean:

Thanks, but I have difficulties with my arrangement (first figure, than 
legend: This is my standard arrangement throughout the book). Lyx errors, 
even after taking out the centering...
Does the [o] determine, where the figure/legend is placed?
Could you tell me in the example screenshot I had send you where I should 
place the CapBesBeg and the [o]?

Thanks for your patience and help!

Wolfgang


Table cell behavior

2010-09-15 Thread Julio Rojas
Dear all, I have a table in which I have items of text that I would
like to be singlespaced and separated by a Defalut Skip vertical
space. The latex code that appears on the Latex Source window looks
like this:

{\scriptsize Movilidad de equipos a través del sistema de promoción
y descenso.\medskip{}
}{\scriptsize \par}

\begin{SingleSpace}
{\scriptsize Libre entrada de equipos en las categorías más bajas,
pero promoción solo mediante méritos deportivos.}\end{SingleSpace}
\tabularnewline

I deliberately left the first part of the cell by default (except the
font size), while the second part has the SingleSpace tag. The
result is that the first part is single spaced while the second one is
double spaced. Even worst, it doesn't matter if I put single or double
space on any paragraph, it always produces the same result.

Any idea on how to solve this problem. Best regards.
-
Julio Rojas
jcredbe...@gmail.com


Re: Table cell behavior

2010-09-15 Thread Julio Rojas
Hi, I can confirm that the \par at the end of the first paragraph on
the cell is the one that makes it to be single spaced. If I put both
of them together, and manually include it via ERT, the same behavior
appears: the first part or paragraph is single spaced, while the
second doesn't. Including a second one at the end of the second
pragraph makes both of them to be single spaced. Is this a bug? Am I
doing something bad?
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Sep 15, 2010 at 4:51 PM, Julio Rojas jcredbe...@gmail.com wrote:
 Dear all, I have a table in which I have items of text that I would
 like to be singlespaced and separated by a Defalut Skip vertical
 space. The latex code that appears on the Latex Source window looks
 like this:

 {\scriptsize Movilidad de equipos a través del sistema de promoción
 y descenso.\medskip{}
 }{\scriptsize \par}

 \begin{SingleSpace}
 {\scriptsize Libre entrada de equipos en las categorías más bajas,
 pero promoción solo mediante méritos deportivos.}\end{SingleSpace}
 \tabularnewline

 I deliberately left the first part of the cell by default (except the
 font size), while the second part has the SingleSpace tag. The
 result is that the first part is single spaced while the second one is
 double spaced. Even worst, it doesn't matter if I put single or double
 space on any paragraph, it always produces the same result.

 Any idea on how to solve this problem. Best regards.
 -
 Julio Rojas
 jcredbe...@gmail.com



Re: captionbeside lyx Koma book

2010-09-15 Thread Mukhtar Ullah
Wolfgang Engelmann engelmann at uni-tuebingen.de writes:

 
 Am Wednesday 15 September 2010 15:57:06 schrieb Mukhtar Ullah:
   Wolfgan,
   The screenshot shows what I mean:
 
 Thanks, but I have difficulties with my arrangement (first figure, than 
 legend: This is my standard arrangement throughout the book). Lyx errors, 
 even after taking out the centering...
 Does the [o] determine, where the figure/legend is placed?
 Could you tell me in the example screenshot I had send you where I should 
 place the CapBesBeg and the [o]?
 
 Thanks for your patience and help!
 
 Wolfgang
 
 

Wolfgang,
When using captionbeside environment, you have to provide your legend before
your figure. That does not mean that the legend will appear before the figure.
The placement of the two depends on the optional argument, which in my
screenshot is [o]. Following are the possible options:

l – left
r – right
i – inner margin in two-sided layout
o – outer margin in two-sided layout

There are a few problems with your screenshot:
1) You issue \CapBesBeg and \includegraphics commands before (outside) the float
figure environment. They have to be inside, as in my screenshot.
2) The legend and one of the options [l],[r],[i],[o] have to precede the
\includegraphics command, which is not the case in your screenshot.

I hope that helps.
Mukhtar



Re: captionbeside lyx Koma book

2010-09-15 Thread Wolfgang Engelmann
Am Wednesday 15 September 2010 17:21:51 schrieb Mukhtar Ullah:
 Wolfgang Engelmann engelmann at uni-tuebingen.de writes:
  Am Wednesday 15 September 2010 15:57:06 schrieb Mukhtar Ullah:
Wolfgan,
The screenshot shows what I mean:
 
  Thanks, but I have difficulties with my arrangement (first figure, than
  legend: This is my standard arrangement throughout the book). Lyx errors,
  even after taking out the centering...
  Does the [o] determine, where the figure/legend is placed?
  Could you tell me in the example screenshot I had send you where I should
  place the CapBesBeg and the [o]?
 
  Thanks for your patience and help!
 
  Wolfgang

 Wolfgang,
 When using captionbeside environment, you have to provide your legend
 before your figure. That does not mean that the legend will appear before
 the figure. The placement of the two depends on the optional argument,
 which in my screenshot is [o]. Following are the possible options:

 l – left
 r – right
 i – inner margin in two-sided layout
 o – outer margin in two-sided layout

 There are a few problems with your screenshot:
 1) You issue \CapBesBeg and \includegraphics commands before (outside) the
 float figure environment. They have to be inside, as in my screenshot.
 2) The legend and one of the options [l],[r],[i],[o] have to precede the
 \includegraphics command, which is not the case in your screenshot.

 I hope that helps.

 Mukhtar,

good, now I understand. Will try and report back to you and the list

Wolfgang


Re: agutex layout?

2010-09-15 Thread Evan Mason
Ok, I understand better how this works now and have edited the preamble to give
me line numbers and the inclusion of the figures, not just the figure floats,
using draft mode:

% OPTIONAL: To Create numbered lines uncomment these 2 lines:
 \usepackage{lineno}
 \linenumbers*[1]
% Include figures in draft mode
\setkeys{Gin}{draft=false}

Thanks for the replies,

Evan



Re: captionbeside lyx Koma book

2010-09-15 Thread Wolfgang Engelmann
Am Wednesday 15 September 2010 17:21:51 schrieb Mukhtar Ullah:

Now I got it working. I had in my preample among others
\setcapindent{0mm}
which is apparently conflicting with the captionbeside package. After 
commenting it out it works! 
%%\setcapindent{0mm}

Thanks a lot for your help

 Wolfgang Engelmann engelmann at uni-tuebingen.de writes:
  Am Wednesday 15 September 2010 15:57:06 schrieb Mukhtar Ullah:
Wolfgan,
The screenshot shows what I mean:
 
  Thanks, but I have difficulties with my arrangement (first figure, than
  legend: This is my standard arrangement throughout the book). Lyx errors,
  even after taking out the centering...
  Does the [o] determine, where the figure/legend is placed?
  Could you tell me in the example screenshot I had send you where I should
  place the CapBesBeg and the [o]?
 
  Thanks for your patience and help!
 
  Wolfgang

 Wolfgang,
 When using captionbeside environment, you have to provide your legend
 before your figure. That does not mean that the legend will appear before
 the figure. The placement of the two depends on the optional argument,
 which in my screenshot is [o]. Following are the possible options:

 l – left
 r – right
 i – inner margin in two-sided layout
 o – outer margin in two-sided layout

 There are a few problems with your screenshot:
 1) You issue \CapBesBeg and \includegraphics commands before (outside) the
 float figure environment. They have to be inside, as in my screenshot.
 2) The legend and one of the options [l],[r],[i],[o] have to precede the
 \includegraphics command, which is not the case in your screenshot.

 I hope that helps.
 Mukhtar



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: captionbeside lyx Koma book

2010-09-15 Thread Mukhtar Ullah
Wolfgang Engelmann engelmann at uni-tuebingen.de writes:

 
 Am Wednesday 15 September 2010 17:21:51 schrieb Mukhtar Ullah:
 
 Now I got it working. I had in my preample among others
 \setcapindent{0mm}
 which is apparently conflicting with the captionbeside package. After 
 commenting it out it works! 
 %%\setcapindent{0mm}
 
 Thanks a lot for your help
 
Good that it works now. I had the same situation once and I solved it by placing
\setcapindent{0mm} after the captionbeside definitions. So you don't need to
comment that. Just move it after the two \newcommand statements.

Best,

Mukhtar




Re: Long table

2010-09-15 Thread PPCC
Yurena Mendoza Lemes yurena.me.le at gmail.com writes:

 
 
 Hi all, I need help. I have to attach an excel table with 1710 rows and 14 
columns in my paper. The configuration of my paper is article(paper). Someone 
comes up as would be the easiest option?Thank in advance
 


Thank Uwe Stöhr!

Another way in two following steps:
1. Convert Excel tables to LaTeX.
2. Using Import LaTeX function in LyX (File  Import  Latex...).

Reference:
http://www.johndcook.com/blog/2008/09/16/four-ways-to-convert-excel-tables-to-
latex/




Float figures and wrapping text

2010-09-15 Thread Grahame Blackwood

Hi LyXers

I'm producing a document that needs some graphics to enliven the text. I
would also like the text to wrap round the graphics. However, as it isn't an
academic document, the usual references, Figure 1, Figure 2 etc aren't
needed in the finished pdf.

Does anyone know if there is any way to prevent the references Figure 1,
2 etc appearing in the pdf?

Cheers

G



Re: Float figures and wrapping text

2010-09-15 Thread Paul Rubin
Grahame Blackwood grahameblackwood at blueyonder.co.uk writes:

 
 I'm producing a document that needs some graphics to enliven the text. I
 would also like the text to wrap round the graphics. However, as it isn't an
 academic document, the usual references, Figure 1, Figure 2 etc aren't
 needed in the finished pdf.
 
 Does anyone know if there is any way to prevent the references Figure 1,
 2 etc appearing in the pdf?
 

If you mean that you want the caption to appear without Figure 97: preceding
it, add \usepackage[labelformat=empty]{caption} to your preamble.  (This will
turn off captions for all sorts of floats, not just figures.  If you need to
limit it to figures, see the documentation for the caption package.)

/Paul




Re: Float figures and wrapping text

2010-09-15 Thread Guenter Milde
On 2010-09-15, Grahame Blackwood wrote:

 I'm producing a document that needs some graphics to enliven the text. I
 would also like the text to wrap round the graphics. However, as it isn't an
 academic document, the usual references, Figure 1, Figure 2 etc aren't
 needed in the finished pdf.

 Does anyone know if there is any way to prevent the references Figure 1,
 2 etc appearing in the pdf?

You can simply delete the Caption including the auto-generated Figure N.

Günter



Re: agutex layout?

2010-09-15 Thread Uwe Stöhr

Am 15.09.2010 17:30, schrieb Evan Mason:


Ok, I understand better how this works now and have edited the preamble to give
me line numbers and the inclusion of the figures, not just the figure floats,
using draft mode:

% OPTIONAL: To Create numbered lines uncomment these 2 lines:
  \usepackage{lineno}
  \linenumbers*[1]
% Include figures in draft mode
\setkeys{Gin}{draft=false}



Hmm, but the first 3 lines were already included in my template file and you 
only had to uncomment them.

Thanks for last 2 lines. I added them now as optional code to the template file that wil be released 
with LyX 1.6.8.


regards Uwe


Re: Strange Table Index

2010-09-15 Thread Guenter Milde
On 2010-09-14, Julien Rioux wrote:
> On 13/09/2010 3:22 PM, minhvd wrote:

> I have seen this happen in a two-column document, when mixing tables of 
> one- and two-column width (spanning columns). Does this description 
> match your document? In this case it is a Latex problem which needs a 
> Latex solution, but I haven't looked for one. What I did was to put the 
> tables far enough apart in the document so that they never end up in 
> reversed order. A better solution would be using a float barrier.

Maybe the flafter package helps
(Try with \usepackage{flafter} in the LaTeX preamble).
But be aware of the side- (or actually intended) effects of this
package:  Standard LaTeX floats after reference.

Günter



Re: delete 'Unser Zeichen' from dinbrief

2010-09-15 Thread Guenter Milde
On 2010-09-14,  wrote:
> Am Tue, 14 Sep 2010 18:25:02 + (UTC)
> schrieb Paul Rubin :

> I thought I could keep the entry "Ihr Zeichen". However I had to
> delete all three lines "Ihr Zeichen", "Unser Zeichen" and
> "Sachberabeiter" but then everything was fine.

Yes, this is a feature of DINbrief, you get them all three or none.

If this does not fit your needs, you can try the KOMA letter class
(read its documentation in scrguide.pdf or scrguien.pdf).

Günter



Re: Many questions about typesetting

2010-09-15 Thread Charlie
On Tue, 14 Sep 2010 19:01:06 -0400 Richard Heck 
shared this with is all on the Lyx users list:

>Yes, it's done in the preamble, but the {...whatever you want...} part 
>has to consist of LaTeX commands, e.g.:
> \setkomafont{chapter}{\normalfont\sfseries\Large}
>will make the chapter headings sans serif and Large. (The \normalfont 
>just makes sure to reset everything else.) There's also:
> \addtokomafont{chapter}{\sfseries}
>which will set them to sans serif but otherwise leave them as without 
>that command.
>
>Any font command can be used here, including commands to select very 
>specific fonts.
>
>Richard 

Thanks for that information Richard.

Be well,
Charlie

-- 
Registered Linux User:- 329524
***
Getting bored is not allowed. ---ELOISE

***
Debian, just the best way to create magic
___


Re: delete 'Unser Zeichen' from dinbrief

2010-09-15 Thread chs748
Am Wed, 15 Sep 2010 07:13:47 + (UTC)
schrieb Guenter Milde :

 
> If this does not fit your needs, you can try the KOMA letter class
> (read its documentation in scrguide.pdf or scrguien.pdf).
 
Right now I am happy the way it is. However I might try the KOMA letter
when I feel experienced enough to install it.

Regards, Chris


captionbeside lyx Koma book

2010-09-15 Thread Wolfgang Engelmann
I have a vertically long figure and a long caption text. I would like to use 
captionbeside to fit figure and text on a page. I use Koma book and twocolumn 
page style. For the figure I would of course use 'span columns' in the 
settings for the float figure.

Has anybody done it successfully under LyX? Specifically, where in the 
document do I place the ERT \FigBesBeg and \FigBesEnd? 

The following placements give errors:
Abbildung
\ref{fig:RNApolymeraseTranskription} zeigt ... Transkription.
\inputencoding{latin1}{}\inputencoding{latin9}%
\begin{figure*}
\begin{centering}
\includegraphics[clip,width=0.4\textwidth]{BilderEG/6-16}
\par\end{centering}
\begin{captionbeside}[Beginn der Transkription eines Gens durch Polymerase II]
{\label{fig:RNApolymeraseTranskription}...}
\end{captionbeside}}
\end{figure*}

If Koma book and twocolumn page style do not go well together with 
captionbeside, what are the alternatives? 


Re: captionbeside lyx Koma book

2010-09-15 Thread Mukhtar Ullah
Wolfgang Engelmann  uni-tuebingen.de> writes:

> 
> I have a vertically long figure and a long caption text. I would like to use 
> captionbeside to fit figure and text on a page. I use Koma book and twocolumn 
> page style. For the figure I would of course use 'span columns' in the 
> settings for the float figure.
> 
> Has anybody done it successfully under LyX? Specifically, where in the 
> document do I place the ERT \FigBesBeg and \FigBesEnd? 
> 
> The following placements give errors:
> Abbildung
> \ref{fig:RNApolymeraseTranskription} zeigt ... Transkription.
> \inputencoding{latin1}{}\inputencoding{latin9}%
> \begin{figure*}
> \begin{centering}
> \includegraphics[clip,width=0.4\textwidth]{BilderEG/6-16}
> \par\end{centering}
> \begin{captionbeside}[Beginn der Transkription eines Gens durch Polymerase II]
> {\label{fig:RNApolymeraseTranskription}...}
> \end{captionbeside}}
> \end{figure*}
> 
> If Koma book and twocolumn page style do not go well together with 
> captionbeside, what are the alternatives? 
> 
> 
Wolfgang,
For me the following method works:
Add to your preamble

\newcommand{\CapBesBeg}{%
 \setcapindent*{0em}
 \let\MyCaption\caption
 \renewcommand{\caption}{\begin{captionbeside}}}

\newcommand{\CapBesEnd}{% 
 \end{captionbeside}
 \setcapindent{0em}
 \let\caption\MyCaption}

and then include your figure as follows

\begin{figure}
\CapBesBeg\caption[Short Caption]{\label{fig:label}Long Caption}
[o]\includegraphics{figures/filename}\CapBesEnd
\end{figure}

Let me know if you have any problems with that.

Mukhtar




Re: captionbeside lyx Koma book

2010-09-15 Thread Mukhtar Ullah
 
> Let me know if you have any problems with that.
> 
> Mukhtar
> 
> 

I forgot to mention that only \CapBesBeg, [o] and \CapBesEnd need to be in ERT.
The rest you include as usual in LyX.

Mukhtar





Re: Windows setup/directory structure

2010-09-15 Thread Paul A. Rubin

On 9/14/2010 7:41 PM, Maria Gouskova wrote:



I should add that they all used MikTeX, and we tried putting texmf in
C:\ and also in the Program Files folder (I think basically as
C:\Program Files\texmf).

What confuses me is that in Mac OS, LyX finds all the stuff inside the
texmf folder automaticallly after reconfiguring. Does this happen in
Windows? If not, is there something that needs to be done inside LyX
to help it find the correct texmf path? I am sure we missed something
really obvious.



If they are using MiKTeX:

1.  They can run the MiKTeX "Settings" application (from the Start menu) 
and go to the "Roots" tab.  That lists the directories on the search 
path MiKTeX uses.  They can create their local texmf folder anywhere 
they want, then just add it to that tab (Add... button) and move it up 
to the top of the search chain.


2.  After adding anything to their local texmf directory, they should 
run the Settings application, and on the General tab click "Refresh 
FNDB" (which runs texhash to update the LaTeX file databases).


/Paul



Re: captionbeside lyx Koma book

2010-09-15 Thread Wolfgang Engelmann
Am Wednesday 15 September 2010 15:57:06 schrieb Mukhtar Ullah:
>  Wolfgan,
>  The screenshot shows what I mean:

Thanks, but I have difficulties with my arrangement (first figure, than 
legend: This is my standard arrangement throughout the book). Lyx errors, 
even after taking out the centering...
Does the [o] determine, where the figure/legend is placed?
Could you tell me in the example screenshot I had send you where I should 
place the CapBesBeg and the [o]?

Thanks for your patience and help!

Wolfgang


Table cell behavior

2010-09-15 Thread Julio Rojas
Dear all, I have a table in which I have items of text that I would
like to be singlespaced and separated by a "Defalut Skip" vertical
space. The latex code that appears on the "Latex Source" window looks
like this:

{\scriptsize Movilidad de equipos a través del sistema de promoción
y descenso.\medskip{}
}{\scriptsize \par}

\begin{SingleSpace}
{\scriptsize Libre entrada de equipos en las categorías más bajas,
pero promoción solo mediante méritos deportivos.}\end{SingleSpace}
\tabularnewline

I deliberately left the first part of the cell by default (except the
font size), while the second part has the "SingleSpace" tag. The
result is that the first part is single spaced while the second one is
double spaced. Even worst, it doesn't matter if I put single or double
space on any paragraph, it always produces the same result.

Any idea on how to solve this problem. Best regards.
-
Julio Rojas
jcredbe...@gmail.com


Re: Table cell behavior

2010-09-15 Thread Julio Rojas
Hi, I can confirm that the "\par" at the end of the first paragraph on
the cell is the one that makes it to be single spaced. If I put both
of them together, and manually include it via ERT, the same behavior
appears: the first part or paragraph is single spaced, while the
second doesn't. Including a second one at the end of the second
pragraph makes both of them to be single spaced. Is this a bug? Am I
doing something "bad"?
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Sep 15, 2010 at 4:51 PM, Julio Rojas  wrote:
> Dear all, I have a table in which I have items of text that I would
> like to be singlespaced and separated by a "Defalut Skip" vertical
> space. The latex code that appears on the "Latex Source" window looks
> like this:
>
> {\scriptsize Movilidad de equipos a través del sistema de promoción
> y descenso.\medskip{}
> }{\scriptsize \par}
>
> \begin{SingleSpace}
> {\scriptsize Libre entrada de equipos en las categorías más bajas,
> pero promoción solo mediante méritos deportivos.}\end{SingleSpace}
> \tabularnewline
>
> I deliberately left the first part of the cell by default (except the
> font size), while the second part has the "SingleSpace" tag. The
> result is that the first part is single spaced while the second one is
> double spaced. Even worst, it doesn't matter if I put single or double
> space on any paragraph, it always produces the same result.
>
> Any idea on how to solve this problem. Best regards.
> -
> Julio Rojas
> jcredbe...@gmail.com
>


Re: captionbeside lyx Koma book

2010-09-15 Thread Mukhtar Ullah
Wolfgang Engelmann  uni-tuebingen.de> writes:

> 
> Am Wednesday 15 September 2010 15:57:06 schrieb Mukhtar Ullah:
> >  Wolfgan,
> >  The screenshot shows what I mean:
> 
> Thanks, but I have difficulties with my arrangement (first figure, than 
> legend: This is my standard arrangement throughout the book). Lyx errors, 
> even after taking out the centering...
> Does the [o] determine, where the figure/legend is placed?
> Could you tell me in the example screenshot I had send you where I should 
> place the CapBesBeg and the [o]?
> 
> Thanks for your patience and help!
> 
> Wolfgang
> 
> 

Wolfgang,
When using captionbeside environment, you have to provide your legend before
your figure. That does not mean that the legend will appear before the figure.
The placement of the two depends on the optional argument, which in my
screenshot is [o]. Following are the possible options:

l – left
r – right
i – inner margin in two-sided layout
o – outer margin in two-sided layout

There are a few problems with your screenshot:
1) You issue \CapBesBeg and \includegraphics commands before (outside) the float
figure environment. They have to be inside, as in my screenshot.
2) The legend and one of the options [l],[r],[i],[o] have to precede the
\includegraphics command, which is not the case in your screenshot.

I hope that helps.
Mukhtar



Re: captionbeside lyx Koma book

2010-09-15 Thread Wolfgang Engelmann
Am Wednesday 15 September 2010 17:21:51 schrieb Mukhtar Ullah:
> Wolfgang Engelmann  uni-tuebingen.de> writes:
> > Am Wednesday 15 September 2010 15:57:06 schrieb Mukhtar Ullah:
> > >  Wolfgan,
> > >  The screenshot shows what I mean:
> >
> > Thanks, but I have difficulties with my arrangement (first figure, than
> > legend: This is my standard arrangement throughout the book). Lyx errors,
> > even after taking out the centering...
> > Does the [o] determine, where the figure/legend is placed?
> > Could you tell me in the example screenshot I had send you where I should
> > place the CapBesBeg and the [o]?
> >
> > Thanks for your patience and help!
> >
> > Wolfgang
>
> Wolfgang,
> When using captionbeside environment, you have to provide your legend
> before your figure. That does not mean that the legend will appear before
> the figure. The placement of the two depends on the optional argument,
> which in my screenshot is [o]. Following are the possible options:
>
> l – left
> r – right
> i – inner margin in two-sided layout
> o – outer margin in two-sided layout
>
> There are a few problems with your screenshot:
> 1) You issue \CapBesBeg and \includegraphics commands before (outside) the
> float figure environment. They have to be inside, as in my screenshot.
> 2) The legend and one of the options [l],[r],[i],[o] have to precede the
> \includegraphics command, which is not the case in your screenshot.
>
> I hope that helps.

 Mukhtar,

good, now I understand. Will try and report back to you and the list

Wolfgang


Re: agutex layout?

2010-09-15 Thread Evan Mason
Ok, I understand better how this works now and have edited the preamble to give
me line numbers and the inclusion of the figures, not just the figure floats,
using draft mode:

% OPTIONAL: To Create numbered lines uncomment these 2 lines:
 \usepackage{lineno}
 \linenumbers*[1]
% Include figures in draft mode
\setkeys{Gin}{draft=false}

Thanks for the replies,

Evan



Re: captionbeside lyx Koma book

2010-09-15 Thread Wolfgang Engelmann
Am Wednesday 15 September 2010 17:21:51 schrieb Mukhtar Ullah:

Now I got it working. I had in my preample among others
\setcapindent{0mm}
which is apparently conflicting with the captionbeside package. After 
commenting it out it works! 
%%\setcapindent{0mm}

Thanks a lot for your help

> Wolfgang Engelmann  uni-tuebingen.de> writes:
> > Am Wednesday 15 September 2010 15:57:06 schrieb Mukhtar Ullah:
> > >  Wolfgan,
> > >  The screenshot shows what I mean:
> >
> > Thanks, but I have difficulties with my arrangement (first figure, than
> > legend: This is my standard arrangement throughout the book). Lyx errors,
> > even after taking out the centering...
> > Does the [o] determine, where the figure/legend is placed?
> > Could you tell me in the example screenshot I had send you where I should
> > place the CapBesBeg and the [o]?
> >
> > Thanks for your patience and help!
> >
> > Wolfgang
>
> Wolfgang,
> When using captionbeside environment, you have to provide your legend
> before your figure. That does not mean that the legend will appear before
> the figure. The placement of the two depends on the optional argument,
> which in my screenshot is [o]. Following are the possible options:
>
> l – left
> r – right
> i – inner margin in two-sided layout
> o – outer margin in two-sided layout
>
> There are a few problems with your screenshot:
> 1) You issue \CapBesBeg and \includegraphics commands before (outside) the
> float figure environment. They have to be inside, as in my screenshot.
> 2) The legend and one of the options [l],[r],[i],[o] have to precede the
> \includegraphics command, which is not the case in your screenshot.
>
> I hope that helps.
> Mukhtar



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: captionbeside lyx Koma book

2010-09-15 Thread Mukhtar Ullah
Wolfgang Engelmann  uni-tuebingen.de> writes:

> 
> Am Wednesday 15 September 2010 17:21:51 schrieb Mukhtar Ullah:
> 
> Now I got it working. I had in my preample among others
> \setcapindent{0mm}
> which is apparently conflicting with the captionbeside package. After 
> commenting it out it works! 
> %%\setcapindent{0mm}
> 
> Thanks a lot for your help
> 
Good that it works now. I had the same situation once and I solved it by placing
\setcapindent{0mm} after the captionbeside definitions. So you don't need to
comment that. Just move it after the two \newcommand statements.

Best,

Mukhtar




Re: Long table

2010-09-15 Thread PPCC
Yurena Mendoza Lemes  gmail.com> writes:

> 
> 
> Hi all, I need help. I have to attach an excel table with 1710 rows and 14 
columns in my paper. The configuration of my paper is article(paper). Someone 
comes up as would be the easiest option?Thank in advance
> 


Thank Uwe Stöhr!

Another way in two following steps:
1. Convert Excel tables to LaTeX.
2. Using Import LaTeX function in LyX (File > Import > Latex...).

Reference:
http://www.johndcook.com/blog/2008/09/16/four-ways-to-convert-excel-tables-to-
latex/




Float figures and wrapping text

2010-09-15 Thread Grahame Blackwood

Hi LyXers

I'm producing a document that needs some graphics to enliven the text. I
would also like the text to wrap round the graphics. However, as it isn't an
academic document, the usual references, Figure 1, Figure 2 etc aren't
needed in the finished pdf.

Does anyone know if there is any way to prevent the references Figure 1,
2 etc appearing in the pdf?

Cheers

G



Re: Float figures and wrapping text

2010-09-15 Thread Paul Rubin
Grahame Blackwood  blueyonder.co.uk> writes:

> 
> I'm producing a document that needs some graphics to enliven the text. I
> would also like the text to wrap round the graphics. However, as it isn't an
> academic document, the usual references, Figure 1, Figure 2 etc aren't
> needed in the finished pdf.
> 
> Does anyone know if there is any way to prevent the references Figure 1,
> 2 etc appearing in the pdf?
> 

If you mean that you want the caption to appear without "Figure 97:" preceding
it, add \usepackage[labelformat=empty]{caption} to your preamble.  (This will
turn off captions for all sorts of floats, not just figures.  If you need to
limit it to figures, see the documentation for the caption package.)

/Paul




Re: Float figures and wrapping text

2010-09-15 Thread Guenter Milde
On 2010-09-15, Grahame Blackwood wrote:

> I'm producing a document that needs some graphics to enliven the text. I
> would also like the text to wrap round the graphics. However, as it isn't an
> academic document, the usual references, Figure 1, Figure 2 etc aren't
> needed in the finished pdf.

> Does anyone know if there is any way to prevent the references Figure 1,
> 2 etc appearing in the pdf?

You can simply delete the Caption including the auto-generated Figure N.

Günter



Re: agutex layout?

2010-09-15 Thread Uwe Stöhr

Am 15.09.2010 17:30, schrieb Evan Mason:


Ok, I understand better how this works now and have edited the preamble to give
me line numbers and the inclusion of the figures, not just the figure floats,
using draft mode:

% OPTIONAL: To Create numbered lines uncomment these 2 lines:
  \usepackage{lineno}
  \linenumbers*[1]
% Include figures in draft mode
\setkeys{Gin}{draft=false}



Hmm, but the first 3 lines were already included in my template file and you 
only had to uncomment them.

Thanks for last 2 lines. I added them now as optional code to the template file that wil be released 
with LyX 1.6.8.


regards Uwe