LyXSub float in two lines

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
crisdem
Posts: 3
Joined: Fri Dec 23, 2011 5:06 pm

Sub float in two lines

Post by crisdem »

In lyx is it possible to put two subfloat figures in two lines. I can put two figures sibe by side, but when i try to put them in two lines lyx give me a lot of error like:

Code: Select all

! LaTeX Error: Too many unprocessed floats.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.2467 \begin{figure}[tb]
                         
You've lost some text.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

! Undefined control sequence.
\@float@Hx ...ltovf \fi \global \setbox \@currbox 
                                                  \color@vbox \normalcolor \...
l.2467 \begin{figure}[tb]
                         
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again> 
                   \vbox 
l.2467 \begin{figure}[tb]
                         
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Undefined control sequence.
\@largefloatcheck ->\ifdim \ht \@currbox 
                                         >\textheight \@tempdima -\textheigh...
l.2471 \end{figure}
                   
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again> 
                   >
l.2471 \end{figure}
                   
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Undefined control sequence.
<argument> \@currbox 
                     
l.2471 \end{figure}
                   
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Argument of \@xnext has an extra }.
<inserted text> 
                \par 
l.2471 \end{figure}
                   
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.

Runaway argument?
\@currbox \@currlist \ifnum \count \@currbox >\z@ \advance \@pageht \@pagedp \E
TC.
! Paragraph ended before \@xnext was complete.
<to be read again> 
                   \par 
l.2471 \end{figure}
                   
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

! Extra \else.
\sf@end@float ...ma \penalty \@floatpenalty \else 
                                                  \vadjust {\penalty -\@Miv ...
l.2471 \end{figure}
                   
I'm ignoring this; it doesn't match any \if.

! You can't use `\vadjust' in vertical mode.
\sf@end@float ...ty \@floatpenalty \else \vadjust 
                                                  {\penalty -\@Miv \vbox {}\...
l.2471 \end{figure}
                   
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.

! Argument of \@xnext has an extra }.
<inserted text> 
                \par 
l.2471 \end{figure}
                   
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.

Runaway argument?
\@currbox \@currlist \ifnum \count \@currbox >\z@ \advance \@pageht \@pagedp \E
TC.
! Paragraph ended before \@xnext was complete.
<to be read again> 
                   \par 
l.2471 \end{figure}
                   
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.


LaTeX Warning: Reference `eq:reynolds sviluppo flusso piani orizzontali' on pag
e 38 undefined on input line 2486.


LaTeX Warning: Reference `eq:gradiente pressione costante' on page 38 undefined
 on input line 2495.


LaTeX Warning: Reference `eq:velocita geostrofica' on page 38 undefined on inpu
t line 2498.


LaTeX Warning: Reference `eq:viscosita Newton' on page 38 undefined on input li
ne 2506.


LaTeX Warning: Reference `eq:gradiente pressione orizzontale' on page 38 undefi
ned on input line 2507.


LaTeX Warning: Reference `eq:equazioni di Reynolds' on page 38 undefined on inp
ut line 2508.


LaTeX Warning: Reference `eq:prime due reynolds' on page 38 undefined on input 
line 2516.


LaTeX Warning: Reference `eq:condizioni contorno' on page 38 undefined on input
 line 2531.


! LaTeX Error: Too many unprocessed floats.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.2536 \begin{figure}[tb]
                         
You've lost some text.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

! Undefined control sequence.
\@float@Hx ...ltovf \fi \global \setbox \@currbox 
                                                  \color@vbox \normalcolor \...
l.2536 \begin{figure}[tb]
                         
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again> 
                   \vbox 
l.2536 \begin{figure}[tb]
                         
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

! Undefined control sequence.
\@largefloatcheck ->\ifdim \ht \@currbox 
                                         >\textheight \@tempdima -\textheigh...
l.2540 \end{figure}
                   
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing number, treated as zero.
<to be read again> 
                   >
l.2540 \end{figure}
Last edited by Stefan Kottwitz on Fri Dec 23, 2011 5:33 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply