Re: table of contents font size

2019-01-21 Thread phil

My data is wide.  Maybe 100 characters in a fixed field format.

it's lab data, which I use a python script to bring into a .lyx doc.

My script automatically formats with lyxcode and breaks up the data into 
sections, then make a .pdf with TOC.


Since almost everyone has 8.5x11 printers, I use that size for the paper.

I have to make all the text footnote size with typewriter font to get 
everything to align and look pleasing to the reader.


I'm going to try what you mentioned.

Thank you for the suggestion.

Phil

On 1/21/2019 11:48 AM, Rich Shepard wrote:

On Mon, 21 Jan 2019, phil wrote:


I have all my sections in footnotesize. I do that because my document is
very wide and so I reduce the size of the text so that it will fit on 
8.5

x 11.


Phil,

I'm curious about the above.

Why is your document very wide?

Can you change the page layout to landscape (11 x 8.5)?

Many of my documents use a custom page size of 6 x 9.5 with default 10pt
body text fontsize. When printed on letter-size paper there are large
margins for ease of reading or writing notes. Perhaps changing your 
default

page size and orientation will allow you to use a readable fontsize,
especially for eyeballs with more than 40 years wear on them.

Regards,

Rich


Re: Breaking long URL

2019-01-21 Thread John Kane
Ah very nice.

On Thu, 3 Jan 2019 at 15:28, Steve Litt  wrote:

> On Wed, 2 Jan 2019 20:10:07 +0100
> Léo Rebetez  wrote:
>
> > Hi,
> >
> > I'm new on lyx, I'll use it mainly for publishing books. I'm
> > searching how to break a too long url like this one:
> >
> > http://www.guardian.co.ukuk2012jun12policestopandsearchblackpeople
>
> There are two different accommodations:
>
> 1. Breaking other lines to accommodate a well-behaved URL
> 2. Breaking the URL itself
>
> On my computer with LyX 2.3.1, a long URL walks beyond the right margin
> if I usepackage{hyperref}, which of course we all do. However, if I put
> \sloppy at the end of the paragraph with the URL, that paragraph breaks
> lines so as to put the whole URL on a line without busting the right
> margin (xetex), or breaks the whole URL itself (LuaTeX). Then you put
> \fussy and the end of the next paragraph to bring back the nice
> typesetting you expect from LyX.
>
> If the result is too ugly, you might be able to make it a little bit
> better by cutting down on the % \tolerance that \sloppy implies:
>
> \sloppy\tolerance=1000%
>
> The point is, *anything* is better than letting a URL or any other text
> walk off the right edge of the paper, and these techniques prevent that
> unless the URL is longer than the paper is wide. Getting it to actually
> be pretty is lt as an exercise to the readder , but never forget
> legible trumps pretty every time.
>
> I'm attaching a 2.8K MWE (Minimum Working Example) with the preceding
> accommodations.
>
> SteveT
>
> Steve Litt
> January 2019 featured book: Troubleshooting: Just the Facts
> http://www.troubleshooters.com/tjust
>


-- 
John Kane
Kingston ON Canada


Error in exponent keybinding

2019-01-21 Thread jcredberry
Dear all,

Using Lyx 2.3.1 on Ubuntu 18.04. When I try to add an exponent to an
equation using "^", the symbol, not the exponent environment appear.
Nevertheless, the document compiles correctly as the hat symbol is
introduced in the LaTeX document as is.

Any ideas?

Julio Rojas
jcredbe...@gmail.com


Re: table of contents font size

2019-01-21 Thread Rich Shepard

On Mon, 21 Jan 2019, phil wrote:


I have all my sections in footnotesize. I do that because my document is
very wide and so I reduce the size of the text so that it will fit on 8.5
x 11.


Phil,

I'm curious about the above.

Why is your document very wide?

Can you change the page layout to landscape (11 x 8.5)?

Many of my documents use a custom page size of 6 x 9.5 with default 10pt
body text fontsize. When printed on letter-size paper there are large
margins for ease of reading or writing notes. Perhaps changing your default
page size and orientation will allow you to use a readable fontsize,
especially for eyeballs with more than 40 years wear on them.

Regards,

Rich


Re: table of contents font size

2019-01-21 Thread phil

On 1/18/2019 2:13 PM, Ricardo Berlasso wrote:

El vie., 18 ene. 2019 a las 18:42, Phil (>) escribió:



Hi LyXer's

My TOC font is too small.

I am using the article class with typewriter font.

How can I make the TOC font larger?

I tried to put ERT around the TOC as \being{LARGE} \end{LARGE} but
had no success.

Any tips?


You need to use a package like tocloft

https://ctan.org/pkg/tocloft

See if this example helps (I did not test it)

https://www.kronto.org/thesis/tips/format-toc.html


I was able to figure it out.

I didn't realize that the TOC used the font that is used the body of the 
document.


I have all my sections in footnotesize.   I do that because my document 
is very wide and so I reduce the size of the text so that it will fit on 
8.5 x 11.


The problem is that the TOC is too small to read.

So I just had to increase the font size for all my section titles.

Thanks for you suggestion on tocloft, that's helpful too for further 
customization.


Phil



Re: note (or footnote) to the Bibliography

2019-01-21 Thread Wolfgang Engelmann


On 21.01.19 15:48, Wolfgang Engelmann wrote:
I would like to add  a note (or footnote) to the Bibliography of a 
book (koma script), namely


References

/in blue: backreferences to page/

and here are the references ...

How to do that?

Wolfgang


I just noted that the footnote occurs at the end of the Refernece list:

1
 in blue: backreferences to pages


I can live with it, but it would be nicer to have it at the begin of the 
references


Wolfgang






note (or footnote) to the Bibliography

2019-01-21 Thread Wolfgang Engelmann
I would like to add  a note (or footnote) to the Bibliography of a book 
(koma script), namely


References

/in blue: backreferences to page/

and here are the references ...

How to do that?

Wolfgang




Re: characters marked in red

2019-01-21 Thread paolo m.
Jean-Marc Lasgouttes wrote:

> Le 19/01/2019 à 10:34, paolo m.  a écrit :
>> Jean-Marc Lasgouttes wrote:
>> 
>>>
>>> This is a feature (good or bad) : previews that are too small, where
>>> "small" is defined as 0.1in (used to be hardcoded to 10 pixels) are
>>> marked in red.
>>>
>>> This is probably what you see here.
>>>
>> 
>> That happens on Lenovo B590 /ubuntu , not on hp elitebook / opensuse .
>> same lyx 2.3.2
> 
> What other differences in terms of screen resolution and zoom level? We
> may have a bug in this respect.
> 
>> How to change preview?
> 
> Well, you can disable previews for math in the preferences, but it is
> probably too much.
> 
> JMarc

While my test file is open, as I change the instant preview size from 1.0  to 
1.2 i get :

 Assertion false violated in
file: ../../src/CoordCache.cpp, line: 31
There has been an error with this document.
LyX will attempt to close it safely.
The current document was closed.

Followed by :

SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help->Introduction' and send 
us a bug report, if necessary. Thanks!
Bye.

Then I open another file and perform the above change in preview size, 
eveything is ok. 
Reopening my test file afterwards,  red marks are not shown any more


paolo m.