Re: Short Caption Text in TableOfFigures ? / incrementing thepage-counter explicitly

1999-01-16 Thread Martina Schwarz van Doorn


Hello Jean-Marc,

Thanks for your answer.

JMarcNo, LaTeX code is the only way currently. Note that you can mark
only
JMarc\caption and the brackets in LaTeX, and write the rest in normal
LyX.

Did you mean that I can write \caption[short] or \caption{short} in the
LyX floating figure? I didn't get that to work. 
Could you give me an example?

Martina 2. I want to add my source code in the appendix using the
Martina colour printing of a2ps, I want to be able to reference to it
Martina though. Can I use something like
Martina \setcounter{page}{\page+2}\label{main.f}
Martina \setcounter{page}{\page+2}\label{init.f}
Martina to do that ? How can I do it exactly ?
JMarcYou mean you want to reference something which is inside your
code?
JMarcYou could try to split the code in several parts and insert labels
in
JMarcbetween. I'm not sure I understand what you mean, though.

I think you understood quite well what I meant. But I don't want to go
about partitioning my code (with a result that the line numbers won't
fit
anymore).
This is how I solved my problem:

\newpage\label{AppFortran:main.f}.\addtocounter{page}{1}

I'm not so happy about the extra dot that I have to put in to get
correct references, but it works fine this way.

Martina




Re: Short Caption Text in TableOfFigures ? / incrementing thepage-counter explicitly

1999-01-16 Thread Jean-Marc Lasgouttes

 "Martina" == Martina Schwarz van Doorn [EMAIL PROTECTED] writes:

Martina Did you mean that I can write \caption[short] or
Martina \caption{short} in the LyX floating figure? I didn't get that
Martina to work. Could you give me an example?

Have a look at the stupid example appended. Note that it is _really_ a
hack. 

Martina \newpage\label{AppFortran:main.f}.\addtocounter{page}{1}

Martina I'm not so happy about the extra dot that I have to put in to
Martina get correct references, but it works fine this way.

You can maybe try to add a protected space instead.

JMarc


--

#This file was created by lasgoutt Thu Nov 18 12:47:14 1999
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article
\language default
\inputencoding default
\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 indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

\begin_float fig 
\layout Standard


\latex latex 

\backslash 
caption[
\latex default 
This is my short caption
\latex latex 
]{
\latex default 
And this is the long one, which is 
\emph on 
much much
\emph default 
 longer
\latex latex 
}
\end_float 
\the_end



Re: Short Caption Text in TableOfFigures ? / incrementing thepage-counter explicitly

1999-01-16 Thread Martina Schwarz van Doorn


Hello Jean-Marc,

Thanks for your answer.

JMarcNo, LaTeX code is the only way currently. Note that you can mark
only
JMarc\caption and the brackets in LaTeX, and write the rest in normal
LyX.

Did you mean that I can write \caption[short] or \caption{short} in the
LyX floating figure? I didn't get that to work. 
Could you give me an example?

Martina 2. I want to add my source code in the appendix using the
Martina colour printing of a2ps, I want to be able to reference to it
Martina though. Can I use something like
Martina \setcounter{page}{\page+2}\label{main.f}
Martina \setcounter{page}{\page+2}\label{init.f}
Martina to do that ? How can I do it exactly ?
JMarcYou mean you want to reference something which is inside your
code?
JMarcYou could try to split the code in several parts and insert labels
in
JMarcbetween. I'm not sure I understand what you mean, though.

I think you understood quite well what I meant. But I don't want to go
about partitioning my code (with a result that the line numbers won't
fit
anymore).
This is how I solved my problem:

\newpage\label{AppFortran:main.f}.\addtocounter{page}{1}

I'm not so happy about the extra dot that I have to put in to get
correct references, but it works fine this way.

Martina




Re: Short Caption Text in TableOfFigures ? / incrementing thepage-counter explicitly

1999-01-16 Thread Jean-Marc Lasgouttes

 "Martina" == Martina Schwarz van Doorn [EMAIL PROTECTED] writes:

Martina Did you mean that I can write \caption[short] or
Martina \caption{short} in the LyX floating figure? I didn't get that
Martina to work. Could you give me an example?

Have a look at the stupid example appended. Note that it is _really_ a
hack. 

Martina \newpage\label{AppFortran:main.f}.\addtocounter{page}{1}

Martina I'm not so happy about the extra dot that I have to put in to
Martina get correct references, but it works fine this way.

You can maybe try to add a protected space instead.

JMarc


--

#This file was created by lasgoutt Thu Nov 18 12:47:14 1999
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article
\language default
\inputencoding default
\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 indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

\begin_float fig 
\layout Standard


\latex latex 

\backslash 
caption[
\latex default 
This is my short caption
\latex latex 
]{
\latex default 
And this is the long one, which is 
\emph on 
much much
\emph default 
 longer
\latex latex 
}
\end_float 
\the_end



Re: Short Caption Text in TableOfFigures ? / incrementing thepage-counter explicitly

1999-01-16 Thread Martina Schwarz van Doorn


Hello Jean-Marc,

Thanks for your answer.

JMarc>No, LaTeX code is the only way currently. Note that you can mark
only
JMarc>\caption and the brackets in LaTeX, and write the rest in normal
LyX.

Did you mean that I can write \caption[short] or \caption{short} in the
LyX floating figure? I didn't get that to work. 
Could you give me an example?

Martina> 2. I want to add my source code in the appendix using the
Martina> colour printing of a2ps, I want to be able to reference to it
Martina> though. Can I use something like
Martina> \setcounter{page}{\page+2}\label{main.f}
Martina> \setcounter{page}{\page+2}\label{init.f}
Martina> to do that ? How can I do it exactly ?
JMarc>You mean you want to reference something which is inside your
code?
JMarc>You could try to split the code in several parts and insert labels
in
JMarc>between. I'm not sure I understand what you mean, though.

I think you understood quite well what I meant. But I don't want to go
about partitioning my code (with a result that the line numbers won't
fit
anymore).
This is how I solved my problem:

\newpage\label{AppFortran:main.f}.\addtocounter{page}{1}

I'm not so happy about the extra dot that I have to put in to get
correct references, but it works fine this way.

Martina




Re: Short Caption Text in TableOfFigures ? / incrementing thepage-counter explicitly

1999-01-16 Thread Jean-Marc Lasgouttes

> "Martina" == Martina Schwarz van Doorn <[EMAIL PROTECTED]> writes:

Martina> Did you mean that I can write \caption[short] or
Martina> \caption{short} in the LyX floating figure? I didn't get that
Martina> to work. Could you give me an example?

Have a look at the stupid example appended. Note that it is _really_ a
hack. 

Martina> \newpage\label{AppFortran:main.f}.\addtocounter{page}{1}

Martina> I'm not so happy about the extra dot that I have to put in to
Martina> get correct references, but it works fine this way.

You can maybe try to add a protected space instead.

JMarc


--

#This file was created by  Thu Nov 18 12:47:14 1999
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article
\language default
\inputencoding default
\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 indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

\begin_float fig 
\layout Standard


\latex latex 

\backslash 
caption[
\latex default 
This is my short caption
\latex latex 
]{
\latex default 
And this is the long one, which is 
\emph on 
much much
\emph default 
 longer
\latex latex 
}
\end_float 
\the_end