Re: Code listings in colored boxes

2018-04-05 Thread Joel Kulesza
On Wed, Apr 4, 2018 at 10:30 AM,  wrote:

> Hello,
>
> Just a note of hearty thanks to all for support of Lyx and Lyx users. And
> an apology if I inadvertently abused list etiquette.
>
> I've attached a piece that I wrote to document the solution to the code
> listing problem that I posed on the list. I never would have found the
> solution without the lyx-users list and the generous help of Paul Rubin.
>
> Thanks again,
>
> Lloyd R. Prentice


Lloyd,

That was an entertaining read; thanks for (a) putting the time into documenting
your ordeal and (b) keeping a light heart.

I've attached a style I use for showing code that I thought might be of
interest.  The configuration is in the document preamble and the "program
listing" used to display the code should fit into your colored boxes.

- Joel


program_listing.pdf
Description: Adobe PDF document


program_listing.lyx
Description: Binary data


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: Code listings in colored boxes

2018-04-05 Thread lloyd
Thanks guys,

There is so much to learn and so much I want to learn about Lyx/LaTex/Tex.

Has anyone come up with a syllabus that that takes one from total noob to 
mastery?

All the best,

Lloyd

-Original Message-
From: "Scott Kostyshak" 
Sent: Wednesday, April 4, 2018 11:00pm
To: "Kornel Benko" 
Cc: lyx-users@lists.lyx.org, ll...@writersglen.com
Subject: Re: Code listings in colored boxes

On Wed, Apr 04, 2018 at 05:27:34PM +, Kornel Benko wrote:

> Wow! This attached document would be pretty good as a lyx-preface.

Lloyd almost makes it feel like we are on an adventure! It has the
perfect mix of humor, information, and beautiful writing. Well done!

Scott




Smaller font in floats in the working area

2018-04-05 Thread racoon

Hi,

Is it possible to get a smaller font for floats in the working area? So, 
I don't want to change the LaTeX output but the float inset. For 
example, larger tables often would fit better with a smaller font.


Best,
Daniel



Re: Code listings in colored boxes

2018-04-05 Thread Paul A. Rubin

On 04/04/2018 10:57 PM, Scott Kostyshak wrote:

On Wed, Apr 04, 2018 at 04:30:35PM +, ll...@writersglen.com wrote:

Hello,

Just a note of hearty thanks to all for support of Lyx and Lyx users. And an 
apology if I inadvertently abused list etiquette.

I don't think you did. I am just picky and do not like to leave threads
hanging without knowing whether they're solved or not.


I've attached a piece that I wrote to document the solution to the code listing 
problem that I posed on the list. I never would have found the solution without 
the lyx-users list and the generous help of Paul Rubin.

As you put in your PDF, Paul is indeed a LyX wizard! He has helped many
users find their way.

Scott

Scott,

Thanks for the wizard line. I got my aerobic workout for the day 
laughing. I've been on the receiving end of a lot of help from the list 
(particularly Angus Leeming, back when I was stuck in Windows 
purgatory). I just have idle time on my hands now that I'm retired.


Paul


Re: Code listings in colored boxes

2018-04-05 Thread Jean-Marc Lasgouttes

Le 05/04/2018 à 05:00, Scott Kostyshak a écrit :

On Wed, Apr 04, 2018 at 05:27:34PM +, Kornel Benko wrote:


Wow! This attached document would be pretty good as a lyx-preface.


Lloyd almost makes it feel like we are on an adventure! It has the
perfect mix of humor, information, and beautiful writing. Well done!


I hope I will eventually be able to re-use "comeuppence".

JMarc