Re: Pasting latex in a lyx file

2021-04-10 Thread Mario D
@rich: I was referring to the second option). Thank you everybody. :) Il giorno gio 8 apr 2021 alle ore 00:57 Paul A. Rubin ha scritto: > On 4/7/21 6:44 PM, Andrew Parsloe wrote: > > > On 8/04/2021 3:14 am, Paul A. Rubin wrote: > > On 4/7/21 10:14 AM, Mario D wrote: > > Hi al

Pasting latex in a lyx file

2021-04-07 Thread Mario D
Hi all, sometime I need to paste some latex code inside a lyx file. When I do this, I lose all the formatting and, in particular, I lose all new lines: this means that what I end up with in my red box in lyx is a complete mess which requires a lot of editing. This is quite annoying: am I

Opening file saved by 2.3 in windows

2018-05-20 Thread Mario D
I am working on a joint project with a colleague. My colleague has windows with Lyx 2.2.3 while I have linux with Lyx 2.3 Now I edited the file but I realized that I used a different Lyx version. You can guess my questions: will he be able to edit the file I am sending to him? If I got it right,

Re: Background color in a paragraph

2018-05-05 Thread Mario D
-users@lists.lyx.org <lyx-users@lists.lyx.org> *On Behalf Of *Mario > D > *Sent:* Friday, May 4, 2018 13:27 > *To:* lyx-users <lyx-users@lists.lyx.org> > *Subject:* Background color in a paragraph > > > > Is there a simple way in lyx to change the background color

Background color in a paragraph

2018-05-04 Thread Mario D
Is there a simple way in lyx to change the background color of some text, maybe a paragraph? I have not been able to find a way to do this natively: the only way I could obtain it is by using the "soul" package, then inserting the latex code "\hl{" in ERT just before the the text to be

Re: Lyx 2.2.3 for Ubuntu 16.04

2017-06-07 Thread Mario D
It looks like Liv's PPA is no longer update. It is really a pity :( Thank you for the link, anyway. 2017-05-25 19:48 GMT+02:00 Paul A. Rubin <parubi...@gmail.com>: > On 05/25/2017 12:41 PM, Mario D wrote: > >> Hi, >> maybe I am missing something but in ubuntu 16

Lyx 2.2.3 for Ubuntu 16.04

2017-05-25 Thread Mario D
Hi, maybe I am missing something but in ubuntu 16.04 lyx has not yet been updated: is there any news about if and, in such case, when it will be? Thanks PS: I do have installed lyx PPA: $ cat /etc/apt/sources.list.d/lyx-devel-ubuntu-release-xenial.list deb

Adding qed-like symbol to examples

2017-02-16 Thread Mario D
Hi all, I would like that every example should be closed by a symbol of my choice (say, for example, a black triangle). I tried what is suggested in this answer: http://tex.stackexchange.com/questions/36791/including-end-mark-in-definitions-and-examples-using-amsthm The suggested code works in

Re: Centering a tabular inside a description

2016-11-16 Thread Mario D
I knew I was going to make a fool of myself by asking this... :( But sometime one misses the evident. Thank you 2016-11-16 14:15 GMT+01:00 racoon <xraco...@gmx.de>: > On 16.11.2016 13:49, Mario D wrote: > >> I have a tabular environment inside a description environment (see t

Centering a tabular inside a description

2016-11-16 Thread Mario D
I have a tabular environment inside a description environment (see the attached MWE): I'd like to have it centered but I can't get it. I guess I am missing something simple but what? Thanks test.lyx Description: application/lyx

Compilation error with lyx 2.2.2 (and not in 2.2.1)

2016-10-27 Thread Mario D
Hi all, I have a file on which I am currently working. It compiled fine under lyx 2.2.1. Today I upgraded to lyx 2.2.2 and compiling the very same file results in an error which I previously didn't experience. The error is as follows: - Undefined

Enumerate inside other environment

2016-10-04 Thread Mario D
I know how to nest environments so that I can use enumerate inside another environment in order to produce something looking like: - Theorem. The following are equivalent: 1. First statement. 2. Second statement. - My question is: how can I produce - Theorem. 1. First

Re: [PATCH] Inserting references to label

2016-09-25 Thread Mario D
was the correct one, of course). 2016-06-08 16:46 GMT+02:00 Richard Heck <rgh...@lyx.org>: > On 06/08/2016 03:46 AM, Mario D wrote: > > 2016-06-07 1:43 GMT+02:00 Richard Heck <rgh...@lyx.org>: > >> On 06/06/2016 04:57 AM, Mario D wrote: >> > After op

Re: [PATCH] Inserting references to label

2016-06-08 Thread Mario D
2016-06-07 1:43 GMT+02:00 Richard Heck <rgh...@lyx.org>: > On 06/06/2016 04:57 AM, Mario D wrote: > > After opening the dialog box to insert a reference to a label, when a > > label is chosen there is a button "Go to label" in order to check > > whether

Inserting references to label

2016-06-06 Thread Mario D
After opening the dialog box to insert a reference to a label, when a label is chosen there is a button "Go to label" in order to check whether the label is really the correct one. Good. After having hit this button, it is replaced with "Go back", so that I can get to the original point after

Re: Moving around

2016-06-06 Thread Mario D
2016-05-28 17:39 GMT+02:00 Guillaume Munch : > I agree ctrl+arrows could do better. The attached patch implements your > suggestion. > > I guess that I need to apply your patch to the source and the recompile it, don't I? Because I am not very keen on recompiling lyx: I would like

Re: Fwd: Moving around

2016-05-30 Thread Mario D
Paul, I realize that defining a model for movements/selections inside mathematical environment is complex and there could be different more or less equivalently good solutions. This is job for the developers, if they consider this worth of. Maybe between the many different solutions they could

Fwd: Moving around

2016-05-30 Thread Mario D
Perhaps you can repost your example, between pre and /pre tags? > > Paul > > Paul, sorry you couldn't see the proper formatting. I repost the formula with the tags inside the formula, so it should be clear A \frac{1}{2} B + C \left(1+1\right) D = 2.5 E I can say that I have exactly the same

Re: Moving around

2016-05-28 Thread Mario D
> > I think the key issue is that LyX understands insets (or perhaps I should > call them subenvironments?) -- things that are argument to LaTeX functions. > So if you create a fraction, which translates to \frac{#1}{#2} with the > arguments substituted, LyX knows what constitutes the numerator

Moving around

2016-05-27 Thread Mario D
Hi, when I move around in a file I have a behavior which (to me) does not seem consistent. Please let me explain. If I am inside a text portion of the file, arrows drive me to the close by character, ctrl+arrows to the close by word, shift+arrows select close by character and shift+ctrl+arrows