Re: Re: floatrow and longtable in LyX

2017-06-06 Thread Scott Kostyshak
On Mon, Jun 05, 2017 at 10:54:21AM +0800, subaochen wrote:
> I mean, declaring longtable "center" is harmless with [c] property:
> 
> 
> \begin{longtable}[c]{lcl}
> ...
> \end{longtable}
> 
> 
> when the user choose "center" in longtable property dialog window. 
> 
> 
> I have not checked the lyx source code, But I think LyX maybe do some extra 
> check to intenionally omit [c] setting?  

Ah I see. OK I would suggest you open an enhancement request on
https://www.lyx.org/trac and post there:

1. a minimal example .lyx file
2. the LaTeX produced by that .lyx file
3. the LaTeX you believe should be produced

Scott


Re:Re: floatrow and longtable in LyX

2017-06-04 Thread subaochen
I mean, declaring longtable "center" is harmless with [c] property:


\begin{longtable}[c]{lcl}
...
\end{longtable}


when the user choose "center" in longtable property dialog window. 


I have not checked the lyx source code, But I think LyX maybe do some extra 
check to intenionally omit [c] setting?  

At 2017-06-05 09:13:54, "Scott Kostyshak"  wrote:
>On Sun, May 28, 2017 at 10:12:39AM +0800, subaochen wrote:
>> hi all,
>> 
>> 
>> Longtable in LyX is centered default, and floatrow package also centered 
>> table default, but according to 
>> https://tex.stackexchange.com/questions/320592/floatrow-package-conflicting-with-centering-longtable
>>  , when using floatrow and longtable together,  longtable should be declared:
>> 
>> 
>> \begin{longtable}[c]{ccc}
>> ...
>> 
>> 
>> Or, longtable will left aligned.
>> 
>> 
>> The problem is, LyX ommit "[c]" when inserting a longtable, I can not find 
>> anyway to add ommited "[c]":-(. So please explicitly add "[c]" to 
>> \begin{longtable} declaration from table property dialog window, thanks very 
>> much!
>
>The SE link suggests that the behavior might be due to a bug in floatrow
>(if I understand David's use of "strange reason" correctly).
>
>In LyX I think we try not to work around too many bugs in LaTeX packages.
>
>Scott


Re: floatrow and longtable in LyX

2017-06-04 Thread Scott Kostyshak
On Sun, May 28, 2017 at 10:12:39AM +0800, subaochen wrote:
> hi all,
> 
> 
> Longtable in LyX is centered default, and floatrow package also centered 
> table default, but according to 
> https://tex.stackexchange.com/questions/320592/floatrow-package-conflicting-with-centering-longtable
>  , when using floatrow and longtable together,  longtable should be declared:
> 
> 
> \begin{longtable}[c]{ccc}
> ...
> 
> 
> Or, longtable will left aligned.
> 
> 
> The problem is, LyX ommit "[c]" when inserting a longtable, I can not find 
> anyway to add ommited "[c]":-(. So please explicitly add "[c]" to 
> \begin{longtable} declaration from table property dialog window, thanks very 
> much!

The SE link suggests that the behavior might be due to a bug in floatrow
(if I understand David's use of "strange reason" correctly).

In LyX I think we try not to work around too many bugs in LaTeX packages.

Scott


signature.asc
Description: PGP signature


floatrow and longtable in LyX

2017-05-27 Thread subaochen
hi all,


Longtable in LyX is centered default, and floatrow package also centered table 
default, but according to 
https://tex.stackexchange.com/questions/320592/floatrow-package-conflicting-with-centering-longtable
 , when using floatrow and longtable together,  longtable should be declared:


\begin{longtable}[c]{ccc}
...


Or, longtable will left aligned.


The problem is, LyX ommit "[c]" when inserting a longtable, I can not find 
anyway to add ommited "[c]":-(. So please explicitly add "[c]" to 
\begin{longtable} declaration from table property dialog window, thanks very 
much!
--
Best regards,
Baochen Su