Re: lambda

2018-04-17 Thread John Kane
Beats me. I did a copy and paste of your code and it seems fine. Rather
elegant in fact.
I did the same in a text editor and $\lambda_{max}=528nm$ seems fine.

  Ubuntu 16.04; LyX 2.3.0.

While we are not using Windows, I'd try the traditional Reboot (just
because it's MS) and see if it helps.


On 16 April 2018 at 04:06, Wolfgang Engelmann 
wrote:

> I select in lyx (2.3.0) in math
> \lambda_{max}=528nm
>
> but get in the pdf output
>
>   ̆max = 528nm
>
> why? (Debian stretch)
>
> Wolfgang
>



-- 
John Kane
Kingston ON Canada


Re: How to properly rotate float sideways

2018-04-17 Thread Steve Litt
On Tue, 17 Apr 2018 13:25:52 +0200
racoon  wrote:

> Hi,
> 
> I have some wide figures and tables that don't fit on a portrait page.

Your afterpage solution sounds good to me, but that sounds like
strongarming a symptom rather than fixing the root cause. The root
cause is using anything, in a book, that is wider than a small phone
turned sideways. The days we could assume a 20" screen (or letter or a4
paper) are gone, and with them, the use of tables, and big
complex diagrams or pictures.

Isn't there a way you could refactor your tables to make them into
several skinny tables? Also, with complex graphics, is there a way to
present the full picture in miniature, with clickable areas to bring up
sub-pictures? I know I can do this with html+svg, and it would be very
handy with LyX too.

What I try to do these days, with new construction, is to make try to
make sure nothing I use is more than 300 to 500 pixels wide. By
filtering the big stuff out at the authoring stage, I don't need to
jump through hoops at the publishing stage.
 
SteveT

Steve Litt 
April 2018 featured book: Troubleshooting Techniques
 of the Successful Technologist
http://www.troubleshooters.com/techniques


Re: lambda > solved, but font question

2018-04-17 Thread Guenter Milde
On 2018-04-16, Wolfgang Engelmann wrote:

> [-- Type: text/plain, Encoding: 8bit --]



> Am 16.04.2018 um 10:06 schrieb Wolfgang Engelmann:

>> I select in lyx (2.3.0) in math
>> \lambda_{max}=528nm

>> but get in the pdf output

>>   ̆max = 528nm

>> why? (Debian stretch)

>> Wolfgang

> just changed the fonts in settings from
> palatino
> helvetica
> computer modern typewriter

> to computer modern, which displaces the \lambda correctly.
> But I don't like the font too much. Any alternatives?

Many: see 
http://milde.users.sourceforge.net/Matheschriften/matheschriften.html

For palatino, I recommend newtxmath.

Günter



Paste without path conversion?

2018-04-17 Thread Klaus-Dieter Bauer
Hello!

Is it possible to copy/paste between LyX files in different directories,
while preserving the relative paths to images?

Right now, when pasting from LyX to LyX, the paths to the images are
adjusted to be relative paths to the images in the original directory (or
absolute paths if they are on a different drive), e.g.

../../otherstuff/oldproject/img/myimg.png

However, this results in unwanted dependencies between different
directories for me. I'd rather have the original path (img/myimg.png)
preserved, and be told about the missing file by seeing a "could not
generate thumbnail" placeholder or compilation errors.

Is this currently possible?

- Klaus


Re: How to properly rotate float sideways

2018-04-17 Thread Rich Shepard

On Tue, 17 Apr 2018, racoon wrote:


I have some wide figures and tables that don't fit on a portrait page.

I tried to use the "Rotate sideways" option in LyX but it is hard to read
the PDF online since the text on the sideways page is sideways.


Daniel,

  I don't know if my experiences apply to your situation, but when I have a
wide table and I rotate it, it does not display properly with the dvips
preview, but does when I compile the file to a .pdf. And, yes, it is
difficult to read on-screen unless you use a reader like MasterPDFEditor
which allows on-screen rotation of a PDF file.

Regards,

Rich


How to properly rotate float sideways

2018-04-17 Thread racoon

Hi,

I have some wide figures and tables that don't fit on a portrait page.

I tried to use the "Rotate sideways" option in LyX but it is hard to 
read the PDF online since the text on the sideways page is sideways.


So, instead I am using

\usepackage{afterpage}

\afterpage{
\clearpage
\begin{landscape}
# put float here #
\end{landscape}
}

(I have created a module for it.)

I was just wondering whether that seems to be the best way to do it or 
maybe there is a way to get the "Rotate sideways" to rotate the page in 
a readable way in the PDF output or so.


Daniel