Re: Removing space to the margins in a table…

2021-11-15 Thread Daniel

On 15/11/2021 14:07, Kornel Benko wrote:

Am Mon, 15 Nov 2021 10:02:48 +0100
schrieb Daniel :


On 15/11/2021 08:42, jezZiFeR wrote:

Yes, sure, here it is.


I don't know how you can influence the space after an itemize (without
that before it) in general. But if you don't mind, you can manually
tweak the space from the last item to the cell by in an ERT ("Insert" >
"TeX Code")

\\[-1em]

at the end of your last item as in the attached file.

Daniel


Why not use vertical space with e.g. -1em instead?
(to omit ERT)

Kornel


I am not sure. At least they seem to have a slightly different effect 
space-wise. I have seen the \\[-1em] elsewhere but actually I don't know 
whether it has any benefits over the other.


Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Removing space to the margins in a table…

2021-11-15 Thread Kornel Benko
Am Mon, 15 Nov 2021 10:02:48 +0100
schrieb Daniel :

> On 15/11/2021 08:42, jezZiFeR wrote:
> > Yes, sure, here it is.  
> 
> I don't know how you can influence the space after an itemize (without 
> that before it) in general. But if you don't mind, you can manually 
> tweak the space from the last item to the cell by in an ERT ("Insert" > 
> "TeX Code")
> 
> \\[-1em]
> 
> at the end of your last item as in the attached file.
> 
> Daniel

Why not use vertical space with e.g. -1em instead?
(to omit ERT)

Kornel



pgplVwe1JKTXB.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Removing space to the margins in a table…

2021-11-15 Thread Daniel

On 15/11/2021 08:42, jezZiFeR wrote:

Yes, sure, here it is.


I don't know how you can influence the space after an itemize (without 
that before it) in general. But if you don't mind, you can manually 
tweak the space from the last item to the cell by in an ERT ("Insert" > 
"TeX Code")


\\[-1em]

at the end of your last item as in the attached file.

Daniel

less_space.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Removing space to the margins in a table…

2021-11-14 Thread jezZiFeR
Am 15. Nov. 2021, 08:19 +0100 schrieb Daniel :
> On 2021-11-15 07:59, jezZiFeR wrote:
> > Am 15. Nov. 2021, 05:48 +0100 schrieb Daniel :
> >
> > On 2021-11-14 21:14, jezZiFeR wrote:
> >
> > Dear all,
> >
> > I use LyX 2.3.6.2 on OS 10.14.6 with Koma-script-book with
> > enumitem. Is
> > it possible to change the spacing to the margins (upwards,
> > downwards) in
> > the cells of a table? Could someone please tell me the corresponding
> > commands? Or do I have to proceed differently?
> >
> > Thanks, all best
> > Jess
> >
> >
> > Dear Jess,
> >
> > Are you looking to change the general spaces between rows? Then putting
> >
> > \renewcommand{\arraystretch}{}
> >
> > in your "Document" > "Settings" > "LaTeX Preamble" where  is
> > some number. And there are more alternatives:
> > (https://tex.stackexchange.com/a/26692.
> >
> > All the best,
> > Daniel
> >
> >
> >
> > Dear Daniel,
> >
> > thanks for your quick help! It turned out, as far as I see, that the
> > problem with too large margins in cells only happens with itemize-style
> > (or enumerate). So I have to change the prefs of that style it seems.
> > How could I achieve this?
> >
> > All best
> > Jess
>
> Could you please send a short working example (.lyx file) to show the
> problem?
>
> Daniel


Yes, sure, here it is.

All best
Jess



test.lyx
Description: Binary data
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Removing space to the margins in a table…

2021-11-14 Thread Daniel

On 2021-11-15 07:59, jezZiFeR wrote:

Am 15. Nov. 2021, 05:48 +0100 schrieb Daniel :

On 2021-11-14 21:14, jezZiFeR wrote:

Dear all,

I use LyX 2.3.6.2 on OS 10.14.6 with Koma-script-book with
enumitem. Is
it possible to change the spacing to the margins (upwards,
downwards) in
the cells of a table? Could someone please tell me the corresponding
commands? Or do I have to proceed differently?

Thanks, all best
Jess


Dear Jess,

Are you looking to change the general spaces between rows? Then putting

\renewcommand{\arraystretch}{}

in your "Document" > "Settings" > "LaTeX Preamble" where  is
some number. And there are more alternatives:
(https://tex.stackexchange.com/a/26692.

All the best,
Daniel



Dear Daniel,

thanks for your quick help! It turned out, as far as I see, that the 
problem with too large margins in cells only happens with itemize-style 
(or enumerate). So I have to change the prefs of that style it seems. 
How could I achieve this?


All best
Jess


Could you please send a short working example (.lyx file) to show the 
problem?


Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Removing space to the margins in a table…

2021-11-14 Thread jezZiFeR
Am 15. Nov. 2021, 05:48 +0100 schrieb Daniel :
> On 2021-11-14 21:14, jezZiFeR wrote:
> > Dear all,
> >
> > I use LyX 2.3.6.2 on OS 10.14.6 with Koma-script-book with enumitem. Is
> > it possible to change the spacing to the margins (upwards, downwards) in
> > the cells of a table? Could someone please tell me the corresponding
> > commands? Or do I have to proceed differently?
> >
> > Thanks, all best
> > Jess
>
> Dear Jess,
>
> Are you looking to change the general spaces between rows? Then putting
>
> \renewcommand{\arraystretch}{}
>
> in your "Document" > "Settings" > "LaTeX Preamble" where  is
> some number. And there are more alternatives:
> (https://tex.stackexchange.com/a/26692.
>
> All the best,
> Daniel


Dear Daniel,

thanks for your quick help! It turned out, as far as I see, that the problem 
with too large margins in cells only happens with itemize-style (or enumerate). 
So I have to change the prefs of that style it seems. How could I achieve this?

All best
Jess
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Removing space to the margins in a table…

2021-11-14 Thread Daniel

On 2021-11-14 21:14, jezZiFeR wrote:

Dear all,

I use LyX 2.3.6.2 on OS 10.14.6 with Koma-script-book with enumitem. Is 
it possible to change the spacing to the margins (upwards, downwards) in 
the cells of a table? Could someone please tell me the corresponding 
commands? Or do I have to proceed differently?


Thanks, all best
Jess


Dear Jess,

Are you looking to change the general spaces between rows? Then putting

\renewcommand{\arraystretch}{}

in your "Document" > "Settings" > "LaTeX Preamble" where  is 
some number. And there are more alternatives: 
(https://tex.stackexchange.com/a/26692.


All the best,
Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users