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


Removing space to the margins in a table…

2021-11-14 Thread jezZiFeR
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
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Trouble changing font family for footnotes

2021-11-14 Thread Ricardo Berlasso
(Top posting with solution)

OK, I finally solved the whole thing by manually defining font size ranges,
so I don't have to mess with defining the font for the footnotes.

% Preamble code for XeTeX

\setmainfont{EB Garamond}[ % Pardo's version of EB Garamond!

Mapping=tex-text, % https://github.com/octaviopardo/EBGaramond12

RawFeature={+ss06}, % Long tail Q

UprightFont = EB Garamond Regular,

BoldFont = EB Garamond SemiBold,

ItalicFont = EB Garamond Italic,

BoldItalicFont = EB Garamond SemiBold Italic,

UprightFeatures = { SizeFeatures = {

{Size = {-9.9}, Font = EB Garamond Medium},

{Size = {10-}, Font = EB Garamond}}},

BoldFeatures = { SizeFeatures = {

{Size = {-9.9}, Font = EB Garamond Bold},

{Size = {10-}, Font = EB Garamond SemiBold}}},

ItalicFeatures = { SizeFeatures = {

{Size = {-9.9}, Font = EB Garamond Medium Italic},

{Size = {10-}, Font = EB Garamond Italic}}},

BoldItalicFeatures = { SizeFeatures = {

{Size = {-9.9}, Font = EB Garamond Bold Italic},

{Size = {10-}, Font = EB Garamond SemiBold Italic}}},

]


\makeatletter

\renewcommand\@makefntext[1]{%

\noindent\makebox[0pt][r]{\@thefnmark.\space}#1}

\makeatother

% End code

Now the footnotes "color" is a better match for the main text color. It
works! For now, at least ;)

Regards,
Ricardo

El lun, 8 nov 2021 a las 17:00, Ricardo Berlasso ()
escribió:

>
>
> El lun, 8 nov 2021 a las 16:52, Axel Dessecker ()
> escribió:
>
>> Am Montag, 8. November 2021, 16:26:00 CET schrieb Ricardo Berlasso:
>> > Hi, LyXiers!
>> >
>> > Here's the situation. I'm using the standard Book documentclass with
>> XeTeX
>> > as engine. I'm also starting to use Octavio Pardo's version of EB
>> Garamond
>> >
>> > https://github.com/octaviopardo/EBGaramond12
>> >
>> > Good thing about this version is that it offers bold, among other
>> things.
>> > Bad thing is that it do not offer optical sizes. But I noticed that the
>> > medium weight is a good replacement for the old EB Garamond 08 so I
>> tried
>> > to change the font used by footnotes with
>> >
>> > \newfontfamily{\ebgm}[RawFeature={+ss06}]{EBGaramond-Medium}
>> >
>> > \usepackage{footmisc}
>> >
>> > \renewcommand*{\footnotelayout}{\footnotesize\ebgm}
>> >
>> >
>> > which works perfectly well in isolation. Problem is, I'm also trying to
>> set
>> > the footnote mark to not be displayed on superscript with
>> >
>> > \makeatletter
>> >
>> > \renewcommand\@makefntext[1]{%
>> >
>> > \noindent\makebox[0pt][r]{\ebgm\@thefnmark.\space}#1}
>> >
>> > \makeatother
>> >
>> >
>> > which also works well in isolation, setting the mark within the margin,
>> > with the desired font, and "at ground level" as I like. Problem is, I
>> > cannot use both blocks of code within the same document at the same
>> time:
>> > no matter in which order I write them, the first one gets ignored.
>> >
>> >
>> > Attached there is a minimal example file (it's in Article documentclass,
>> > but the problem is the same). Notice that you need the right font
>> installed!
>> >
>> >
>> > Any idea? I'm on openSUSE Leap 15.3 with texlive 2017.
>> >
>> >
>> > Thanks!
>>
>> Ricardo,
>>
>> Is this the way you want it?
>>
>
> Yes, but the text in the footnote must be in EB Garamond Medium, while in
> the PDF only the footnote number is in that font. The difference is subtle,
> but it's there.
> [image: Screenshot_footnote.png]
>
>
>
>>
>> Axel
>>
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users