Footer using Tufte-book

2018-04-05 Thread Pedro Neves

Hi all:

I'm writing a document using the Tufte-book class and I'm having trouble 
figuring how to configure the footer in the document preamble in order 
to prevent the body text from "flowing over" the footer, as it happens 
on page 2 of the enclosed mwe...


Any ideas?

Thanks in advance:


Pedro



MWE.lyx
Description: application/lyx


Re: Tufte-book classe question

2017-02-20 Thread Pedro Neves

On 21-02-2017 04:02, gordon cooper wrote:


When setting it up, there were font options of 10 11 and 12, but it 
seemed
to be stuck on 10. However, with the Text Style tool, the font can be 
changed

to many differing sizes. Does this not work for you ?


Hi Gordon:

Thanks for your reply. Indeed it does! I was fiddling with code on the 
preambule and I forgot to use the more basic options... If I select the 
text and use: Edit -> Text style -> Customized -> Size, I can make it 
larger.


I still need to make some tests to see how it looks on paper, but it 
seems promising.


Thanks again.

All the best:

Pedro


Tufte-book classe question

2017-02-20 Thread Pedro Neves

Hi all:

I've been using Lyx for a while now, but it was only recently that I 
came across the Tufte-book class. I have to say that I really like the 
output produced by it, but I'd like to increase the base font size from 
its default 10pt to something like 11 or 12pt.


From what I've seen, the class only accepts the default 10pt size and I 
cannot use the normal Lyx commands to increase the base size of the 
font. I've found a Google group for the Tufte-book class and it seems 
that the 10pt-only size is a know limitation. I saw there are a few 
suggestions on how to tweak the template to increase the size, but they 
all seemed a bit daunting.


Before I start dwelling on the internals of the Tufte-book class, I was 
wondering if anyone on this list has any experience with it and can help 
me to some pointers.



Thanks in advance.

Best regards:

Pedro Neves



Re: Question about row table color & error

2015-12-20 Thread Pedro Neves

On 20-12-2015 21:40, Paul A Rubin wrote:


Don't ask me why, but apparenty \rowcolor does not play well with 
multicolumn table cells. If you leave the first instance of \rowcolor 
alone but change the second instance to \cellcolor{lightgray}, I think 
you get what you want.

Hi Paul:

Yes, I do. It works fine using \cellcolor.

Thanks a lot.

Pedro


Question about row table color & error

2015-12-19 Thread Pedro Neves

Hi all:

I'm trying to set a gray coloured row on my table, using the following 
lines on my document preamble:


\usepackage{colortbl}

\definecolor{lightgray}{gray}{0.8}


and the following ert on my table row:


\rowcolor{lightgray}


When I try to visualise the pdf (ctrl+r) I keep getting the error:

--

! Misplaced \noalign.

-

I've found a referece to this error, with an explanation here:



http://comments.gmane.org/gmane.editors.lyx.general/33836, which 
explains why it happens, but even if I set the entire table to roman 
font, the error still occurs.


I've noticed however that if I follow the steps outlined bellow, the 
error still occurs, but I'm able to view the pdf with the intended output:


1 - remove the ert code from the table
2 - view the pdf (with ctrl+r) and leave the pdf open
3 - re-insert the code (\rowcolor{lightgray} in the cell
4 - regenerate the pdf (ctrl+r)

Any ideas why this happens?


Thanks in advance:

Best regards:

Pedro

P.S. - I'm using Lyx 2.1.4 on Kubuntu 15.10