Re: Centering after table on last position in include

2001-01-26 Thread Kornel Benko

Hi,
peeking  paragraph.C I saw, that there is special code for the last paragraph in a 
file.
So ...
Make a document  (main.lyx) which includes another one (in.lyx)
Last paragraph in in.lyx be centered

-->
The text after the include (in main.lyx or later) will be centered.

Looking in the tex-file, the last paragraph looks like

\centering  some text

instead of 

{ \centering  some text
}
which is in case of not being last

Kornel

-- 
Kornel Benko
[EMAIL PROTECTED]




Centering after table on last position in include

2001-01-23 Thread Kornel Benko

Please look at the output of DVI of the attached Main.lyx.
The second chapter is centered. If there is at least 
one "{}" (in TeX mode), then all is ok.

Maybe because of math in last cell?

-- 
Kornel Benko
[EMAIL PROTECTED]



#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass book
\begin_preamble
\usepackage{graphicx}
\usepackage{longtable,multirow}
\usepackage{pifont} 






\newcommand{\tab}{\makebox[4em]{}}
\end_preamble
\language german
\inputencoding latin1
\fontscheme default
\graphics default
\float_placement here
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\paperorientation portrait
\secnumdepth 2
\tocdepth 2
\paragraph_separation skip
\defskip medskip
\quotes_language swedish
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Section

bla bla
\layout Standard

Bla bla bla
\the_end


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass book
\begin_preamble
\usepackage{graphicx}
\usepackage{longtable,multirow}
\usepackage{pifont} 






\newcommand{\tab}{\makebox[4em]{}}
\end_preamble
\language german
\inputencoding latin1
\fontscheme default
\graphics default
\float_placement here
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\paperorientation portrait
\secnumdepth 2
\tocdepth 2
\paragraph_separation skip
\defskip medskip
\quotes_language swedish
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Section

bla
\layout Standard
\align center 

\begin_inset  Tabular






\begin_inset Text

\layout Standard

\end_inset 


\begin_inset Text

\layout Standard


\begin_inset Formula \( 512\mathrm{Bytes}\leq val\leq 16\mathrm{KB} \)
\end_inset 

  
\end_inset 




\end_inset 


\the_end


#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass book
\begin_preamble
\usepackage{graphicx}
\usepackage{longtable,multirow}
\usepackage{pifont}  
\newcommand{\tab}{\makebox[4em]{}}
\input{wp2latex.sty}
\usepackage{here}
\usepackage{multicol}
\def\obey{\ifnum\c@subsection>0 \thesubsection \else \thesection \fi}
\def\obex{\ifnum\c@section>0 \obey\else \thechapter \fi}
\def\oben{\ifnum\c@chapter>0 \obex\fi}
\end_preamble
\options H
\language german
\inputencoding latin1
\fontscheme default
\graphics default
\float_placement H
\paperfontsize 10
\spacing single 
\papersize Default
\paperpackage widemarginsa4
\use_geometry 1
\use_amsmath 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language swedish
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title

Bla
\layout Chapter

Bla1
\layout Standard


\begin_inset Include \input{Bla1.lyx}

\end_inset 


\layout Chapter

Bla2
\layout Standard


\begin_inset Include \input{Bla2.lyx}

\end_inset 


\the_end