Re: How to (correctly) insert large and slanted text

2022-01-16 Thread Paul A. Rubin via lyx-users

On 1/16/22 4:27 PM, tush via lyx-users wrote:

That is certainly an advance. Thanks a lot!
The output I get is

\textsl{\Large{}Here is some text in large size and slanted style.}


Any possibility to make it

{\textsl{\large Here is some text in large size and slanted style.}}


?


PLEASE bottom post in the future.

The difference between \large with a lower case "L" and \Large with a 
capital "L" comes down to whether you choose "Large" (the former) or 
"Larger" (the latter) in the font dialog.


As far as how the braces are placed, I don't think there is any way to 
change that other than ERT.


Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread tush via lyx-users
That is certainly an advance. Thanks a lot!
The output I get is

\textsl{\Large{}Here is some text in large size and slanted style.}

Any possibility to make it

{\textsl{\large Here is some text in large size and slanted style.}}

?

‐‐‐ Original Message ‐‐‐
On Sunday, January 16th, 2022 at 11:16 PM, Paul A. Rubin via lyx-users 
 wrote:

> On 1/16/22 4:02 PM, tush via lyx-users wrote:
>
>> Sure, I will take notice of the thread organization. I am new to mailing 
>> lists.
>>
>> Yes, the "unwanted formatting" refer to {\large\par}.
>>
>> Here is a (really) MWE.
>>
>> On 1/16/22 3:46 PM, tush via lyx-users wrote:
>>>
>>
>> The shape works the way I want, but the sizing rather gives the
>>
>>>
>>
>> unwanted formatting.
>>
>>>
>>
>>>
>>
>> ‐‐‐ Original Message ‐‐‐
>>
>>>
>>
>> On Sunday, January 16th, 2022 at 10:43 PM, <
>> [ehud.behar at 
>> protonmail.com](http://lists.lyx.org/mailman/listinfo/lyx-users)
>>>
>>
>>>
>>
>> wrote:
>>

>>
>> Could you tell me how to apply the style so that the code is the way
>>

>>
>> I want it to be?
>>

>>

>>
>> I selected the whole line, maybe lyx sees it as a paragraph.
>>

>>

>>

>>
>> ‐‐‐ Original Message ‐‐‐
>>

>>
>> On Sunday, January 16th, 2022 at 10:38 PM, Paul A. Rubin via
>>

>>
>> lyx-users <
>> [lyx-users at lists.lyx.org](http://lists.lyx.org/mailman/listinfo/lyx-users)
>>> wrote:
>>
>
>>
>> On 1/16/22 3:05 PM, tush via lyx-users wrote:
>>
>>
>>
>> I want to insert the following styled text to my document:
>>
>>
>>
>>
>>
>> {\large{\textsl{Some text goes here}}
>>
>>
>>
>>
>>
>>
>>
>> This is what a a LaTeX user would have inserted into his .tex file.
>>
>>
>>
>>
>>
>> If I select my text in LyX and right click it and choose Text Style
>>
>>
>>
>> -> Customized...
>>
>>
>>
>>
>>
>> I can apply the aforementioned features, i.e. slanted shape and
>>
>>
>>
>> large size, but the command LyX inserts is not the one above, but
>>
>>
>>
>> rather
>>
>>
>>
>>
>>
>> \textsl{\large{}Some text goes here}{\large\par}
>>
>>
>>
>>
>>
>>
>>
>> Is it possible to achieve what I first wrote, rather than inserting
>>
>>
>>
>> ERT commands?
>>
>>
>>
>
>>
>> That last {\large\par} may have something to do with how you
>>
>
>>
>> selected the text before applying the style change. In a test
>>
>
>>
>> document, I did not encounter that. Comparing your ERT version with
>>
>
>>
>> the customized style version, I can confirm the difference in the
>>
>
>>
>> LaTeX commands but see no difference in the output. Is there a
>>
>
>>
>> reason why you are unhappy with what LyX enters?
>>
>
>>
>
>>
>> Paul
>>
>
>>

>>
>>>
>>
>>>
>>
>> First, please bottom post.
>>
>> Second, does the "unwanted formatting" refer to {\large\par}? If so, we
>> would need a minimal example. It would need to be a self-contained
>> document (your previous MWE had include commands for child documents not
>> attached to the message), preferably with as little customization as
>> possible. Every package you add, font or language change you make, etc.
>> makes it a bit less likely that someone on the list has all the packages
>> necessary to compile your MWE.
>>
>> If by "unwanted formatting" you mean that you really want the LaTeX
>> commands entered in the order you used in your ERT, I doubt that is
>> possible without resorting to ERT.
>>
>> Paul
>
> As I suspected, the issue is that the text you are formatting occurs at the 
> very end of a paragraph. The following is a bit "hacky" but solves the 
> problem. First, add a space after the end of the text. Then select the text 
> (excluding that extra space) and make the style change. The trailing space on 
> the first line is harmless, but feel free to delete it if you wish.
>
> Paul-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread Paul A. Rubin via lyx-users

On 1/16/22 4:02 PM, tush via lyx-users wrote:
Sure, I will take notice of the thread organization. I am new to 
mailing lists.


Yes, the "unwanted formatting" refer to {\large\par}.

Here is a (really) MWE.
On 1/16/22 3:46 PM, tush via lyx-users wrote:
>/The shape works the way I want, but the sizing rather gives the />/unwanted formatting. />//>/‐‐‐ Original Message ‐‐‐ />/On Sunday, January 16th, 2022 at 10:43 PM, protonmail.com > />/wrote: />>/Could you tell me how to apply the style so that the code is the way />>/I want it to be? />>//>>/I selected the whole line, maybe lyx sees it as a paragraph. />>//>>//>>/‐‐‐ Original Message ‐‐‐ />>/On Sunday, January 16th, 2022 at 10:38 PM, Paul A. Rubin via />>/lyx-users > wrote: />>>/On 1/16/22 3:05 PM, tush via lyx-users wrote: //I want to insert the following styled text to my document: ////{\large{\textsl{Some text goes here}} //////This is what a a LaTeX user would have inserted into his .tex file. ////If I select my text in LyX and right click it and choose Text Style //-> Customized... ////I can apply the aforementioned features, i.e. slanted shape and //large size, but the command LyX inserts is not the one above, but //rather ////\textsl{\large{}Some text goes here}{\large\par} //////Is it possible to achieve what I first wrote, rather than inserting //ERT commands? ///>>>/That last {\large\par} may have something to do with how you />>>/selected the text before applying the style change. In a test />>>/document, I did not encounter that. Comparing your ERT version with />>>/the customized style version, I can confirm the difference in the />>>/LaTeX commands but see no difference in the output. Is there a />>>/reason why you are unhappy with what LyX enters? />>>//>>>/Paul />>>//>>//>//>//First, please bottom post.


Second, does the "unwanted formatting" refer to {\large\par}? If so, we
would need a minimal example. It would need to be a self-contained
document (your previous MWE had include commands for child documents not
attached to the message), preferably with as little customization as
possible. Every package you add, font or language change you make, etc.
makes it a bit less likely that someone on the list has all the packages
necessary to compile your MWE.

If by "unwanted formatting" you mean that you really want the LaTeX
commands entered in the order you used in your ERT, I doubt that is
possible without resorting to ERT.

Paul



As I suspected, the issue is that the text you are formatting occurs at 
the very end of a paragraph. The following is a bit "hacky" but solves 
the problem. First, add a space after the end of the text. Then select 
the text (excluding that extra space) and make the style change. The 
trailing space on the first line is harmless, but feel free to delete it 
if you wish.


Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread tush via lyx-users
Sure, I will take notice of the thread organization. I am new to mailing lists.

Yes, the "unwanted formatting" refer to {\large\par}.

Here is a (really) MWE.

On 1/16/22 3:46 PM, tush via lyx-users wrote:
>

The shape works the way I want, but the sizing rather gives the

>

unwanted formatting.

>

>

‐‐‐ Original Message ‐‐‐

>

On Sunday, January 16th, 2022 at 10:43 PM, <
[ehud.behar at protonmail.com](http://lists.lyx.org/mailman/listinfo/lyx-users)
>

>

wrote:

>>

Could you tell me how to apply the style so that the code is the way

>>

I want it to be?

>>

>>

I selected the whole line, maybe lyx sees it as a paragraph.

>>

>>

>>

‐‐‐ Original Message ‐‐‐

>>

On Sunday, January 16th, 2022 at 10:38 PM, Paul A. Rubin via

>>

lyx-users <
[lyx-users at lists.lyx.org](http://lists.lyx.org/mailman/listinfo/lyx-users)
> wrote:

>>>

On 1/16/22 3:05 PM, tush via lyx-users wrote:



I want to insert the following styled text to my document:





{\large{\textsl{Some text goes here}}







This is what a a LaTeX user would have inserted into his .tex file.





If I select my text in LyX and right click it and choose Text Style



-> Customized...





I can apply the aforementioned features, i.e. slanted shape and



large size, but the command LyX inserts is not the one above, but



rather





\textsl{\large{}Some text goes here}{\large\par}







Is it possible to achieve what I first wrote, rather than inserting



ERT commands?



>>>

That last {\large\par} may have something to do with how you

>>>

selected the text before applying the style change. In a test

>>>

document, I did not encounter that. Comparing your ERT version with

>>>

the customized style version, I can confirm the difference in the

>>>

LaTeX commands but see no difference in the output. Is there a

>>>

reason why you are unhappy with what LyX enters?

>>>

>>>

Paul

>>>

>>

>

>

First, please bottom post.

Second, does the "unwanted formatting" refer to {\large\par}? If so, we
would need a minimal example. It would need to be a self-contained
document (your previous MWE had include commands for child documents not
attached to the message), preferably with as little customization as
possible. Every package you add, font or language change you make, etc.
makes it a bit less likely that someone on the list has all the packages
necessary to compile your MWE.

If by "unwanted formatting" you mean that you really want the LaTeX
commands entered in the order you used in your ERT, I doubt that is
possible without resorting to ERT.

Paul

mwe large slanted text.lyx
Description: Binary data
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread Paul A. Rubin via lyx-users

On 1/16/22 3:46 PM, tush via lyx-users wrote:
The shape works the way I want, but the sizing rather gives the 
unwanted formatting.


‐‐‐ Original Message ‐‐‐
On Sunday, January 16th, 2022 at 10:43 PM,  
wrote:
Could you tell me how to apply the style so that the code is the way 
I want it to be?


I selected the whole line, maybe lyx sees it as a paragraph.


‐‐‐ Original Message ‐‐‐
On Sunday, January 16th, 2022 at 10:38 PM, Paul A. Rubin via 
lyx-users  wrote:

On 1/16/22 3:05 PM, tush via lyx-users wrote:

I want to insert the following styled text to my document:

{\large{\textsl{Some text goes here}}


This is what a a LaTeX user would have inserted into his .tex file.

If I select my text in LyX and right click it and choose Text Style 
-> Customized...


I can apply the aforementioned features, i.e. slanted shape and 
large size, but the command LyX inserts is not the one above, but 
rather


\textsl{\large{}Some text goes here}{\large\par}


Is it possible to achieve what I first wrote, rather than inserting 
ERT commands?


That last {\large\par} may have something to do with how you 
selected the text before applying the style change. In a test 
document, I did not encounter that. Comparing your ERT version with 
the customized style version, I can confirm the difference in the 
LaTeX commands but see no difference in the output. Is there a 
reason why you are unhappy with what LyX enters?


Paul







First, please bottom post.

Second, does the "unwanted formatting" refer to {\large\par}? If so, we 
would need a minimal example. It would need to be a self-contained 
document (your previous MWE had include commands for child documents not 
attached to the message), preferably with as little customization as 
possible. Every package you add, font or language change you make, etc. 
makes it a bit less likely that someone on the list has all the packages 
necessary to compile your MWE.


If by "unwanted formatting" you mean that you really want the LaTeX 
commands entered in the order you used in your ERT, I doubt that is 
possible without resorting to ERT.


Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread tush via lyx-users
The shape works the way I want, but the sizing rather gives the unwanted 
formatting.

‐‐‐ Original Message ‐‐‐
On Sunday, January 16th, 2022 at 10:43 PM,  wrote:

> Could you tell me how to apply the style so that the code is the way I want 
> it to be?
>
> I selected the whole line, maybe lyx sees it as a paragraph.
>
> ‐‐‐ Original Message ‐‐‐
> On Sunday, January 16th, 2022 at 10:38 PM, Paul A. Rubin via lyx-users 
>  wrote:
>
>> On 1/16/22 3:05 PM, tush via lyx-users wrote:
>>
>>> I want to insert the following styled text to my document:
>>>
>>> {\large{\textsl{Some text goes here}}
>>>
>>> This is what a a LaTeX user would have inserted into his .tex file.
>>>
>>> If I select my text in LyX and right click it and choose Text Style -> 
>>> Customized...
>>>
>>> I can apply the aforementioned features, i.e. slanted shape and large size, 
>>> but the command LyX inserts is not the one above, but rather
>>>
>>> \textsl{\large{}Some text goes here}{\large\par}
>>>
>>> Is it possible to achieve what I first wrote, rather than inserting ERT 
>>> commands?
>>
>> That last {\large\par} may have something to do with how you selected the 
>> text before applying the style change. In a test document, I did not 
>> encounter that. Comparing your ERT version with the customized style 
>> version, I can confirm the difference in the LaTeX commands but see no 
>> difference in the output. Is there a reason why you are unhappy with what 
>> LyX enters?
>>
>> Paul-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread tush via lyx-users
Could you tell me how to apply the style so that the code is the way I want it 
to be?

I selected the whole line, maybe lyx sees it as a paragraph.

‐‐‐ Original Message ‐‐‐
On Sunday, January 16th, 2022 at 10:38 PM, Paul A. Rubin via lyx-users 
 wrote:

> On 1/16/22 3:05 PM, tush via lyx-users wrote:
>
>> I want to insert the following styled text to my document:
>>
>> {\large{\textsl{Some text goes here}}
>>
>> This is what a a LaTeX user would have inserted into his .tex file.
>>
>> If I select my text in LyX and right click it and choose Text Style -> 
>> Customized...
>>
>> I can apply the aforementioned features, i.e. slanted shape and large size, 
>> but the command LyX inserts is not the one above, but rather
>>
>> \textsl{\large{}Some text goes here}{\large\par}
>>
>> Is it possible to achieve what I first wrote, rather than inserting ERT 
>> commands?
>
> That last {\large\par} may have something to do with how you selected the 
> text before applying the style change. In a test document, I did not 
> encounter that. Comparing your ERT version with the customized style version, 
> I can confirm the difference in the LaTeX commands but see no difference in 
> the output. Is there a reason why you are unhappy with what LyX enters?
>
> Paul-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to (correctly) insert large and slanted text

2022-01-16 Thread Paul A. Rubin via lyx-users

On 1/16/22 3:05 PM, tush via lyx-users wrote:

I want to insert the following styled text to my document:

{\large{\textsl{Some text goes here}}


This is what a a LaTeX user would have inserted into his .tex file.

If I select my text in LyX and right click it and choose Text Style -> 
Customized...


I can apply the aforementioned features, i.e. slanted shape and large 
size, but the command LyX inserts is not the one above, but rather


\textsl{\large{}Some text goes here}{\large\par}


Is it possible to achieve what I first wrote, rather than inserting 
ERT commands?


That last {\large\par} may have something to do with how you selected 
the text before applying the style change. In a test document, I did not 
encounter that. Comparing your ERT version with the customized style 
version, I can confirm the difference in the LaTeX commands but see no 
difference in the output. Is there a reason why you are unhappy with 
what LyX enters?


Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


How to (correctly) insert large and slanted text

2022-01-16 Thread tush via lyx-users
I want to insert the following styled text to my document:

{\large{\textsl{Some text goes here}}

This is what a a LaTeX user would have inserted into his .tex file.

If I select my text in LyX and right click it and choose Text Style -> 
Customized...

I can apply the aforementioned features, i.e. slanted shape and large size, but 
the command LyX inserts is not the one above, but rather

\textsl{\large{}Some text goes here}{\large\par}

Is it possible to achieve what I first wrote, rather than inserting ERT 
commands?-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Remove textquotedblplain from preamble

2022-01-16 Thread tush via lyx-users
That's right. Thanks a lot!

‐‐‐ Original Message ‐‐‐

On Sunday, January 16th, 2022 at 9:48 PM, Jürgen Spitzmüller via lyx-users 
 wrote:

> Am Sonntag, dem 16.01.2022 um 19:34 + schrieb tush via lyx-users:
>
> > I want to remove it because I don't have any idea what it add or
> >
> > alters in the shape of my output file. I want to have control over
> >
> > what is inserted and what is absent in my project.
>
> It adds the possibility to output a plain (non-typographic) quotation
>
> mark. This preamble code is only inserted if you use such a character
>
> in your document. Remove the character, and the preamble code will
>
> disappear.
>
> HTH,
>
> Jürgen
>
> -
>
> lyx-users mailing list
>
> lyx-users@lists.lyx.org
>
> http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Remove textquotedblplain from preamble

2022-01-16 Thread Jürgen Spitzmüller via lyx-users
Am Sonntag, dem 16.01.2022 um 19:34 + schrieb tush via lyx-users:
> I want to remove it because I don't have any idea what it add or
> alters in the shape of my output file. I want to have control over
> what is inserted and what is absent in my project.

It adds the possibility to output a plain (non-typographic) quotation
mark. This preamble code is only inserted if you use such a character
in your document. Remove the character, and the preamble code will
disappear.

HTH,
Jürgen



signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Remove textquotedblplain from preamble

2022-01-16 Thread tush via lyx-users
I want to remove it because I don't have any idea what it add or alters in the 
shape of my output file. I want to have control over what is inserted and what 
is absent in my project.

The MWE is attached.

Thanks a lot!

‐‐‐ Original Message ‐‐‐

On Sunday, January 16th, 2022 at 9:16 PM, Scott Kostyshak via lyx-users 
 wrote:

> On Sun, Jan 16, 2022 at 06:49:37PM +, tush via lyx-users wrote:
>
> > I noticed that LyX adds the following to my document preable:
> >
> >  LyX specific LaTeX commands.
> >
> > \providecommand\textquotedblplain{%
> >
> > \bgroup\addfontfeatures{Mapping=}\char34\egroup}
> >
> > Where in the document settings or in the LyX preferences is the specific 
> > setting that is related to the above? How do I remove it?
>
> Hi tush,
>
> I might be able to help if you provide a minimal example .lyx file
>
> (i.e., a small .lyx file where the above code is indeed added to the
>
> preamble).
>
> Could you also please explain why you want to remove that code?
>
> Best,
>
> Scott
> ---
>
> lyx-users mailing list
>
> lyx-users@lists.lyx.org
>
> http://lists.lyx.org/mailman/listinfo/lyx-users

main.lyx
Description: Binary data
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Remove textquotedblplain from preamble

2022-01-16 Thread Scott Kostyshak via lyx-users
On Sun, Jan 16, 2022 at 06:49:37PM +, tush via lyx-users wrote:
> I noticed that LyX adds the following to my document preable:
> 
>  LyX specific LaTeX commands.
> \providecommand\textquotedblplain{%
> \bgroup\addfontfeatures{Mapping=}\char34\egroup}
> 
> Where in the document settings or in the LyX preferences is the specific 
> setting that is related to the above? How do I remove it?

Hi tush,

I might be able to help if you provide a minimal example .lyx file
(i.e., a small .lyx file where the above code is indeed added to the
preamble).

Could you also please explain why you want to remove that code?

Best,
Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Remove textquotedblplain from preamble

2022-01-16 Thread tush via lyx-users
I noticed that LyX adds the following to my document preable:

 LyX specific LaTeX commands.
\providecommand\textquotedblplain{%
\bgroup\addfontfeatures{Mapping=}\char34\egroup}

Where in the document settings or in the LyX preferences is the specific 
setting that is related to the above? How do I remove it?-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


minted and inputminted

2022-01-16 Thread camus.philippe--- via lyx-users

Hello. 
I tried to use the \inputminted command. 
>From LyX, I get an error message about minted not finding the Pygments output. 
I tried to give minted the path to lyxtmpbuf as outputdir without success. 
(The tex file just compiles fine when I use TexStudio) 


By the way, is there a way to know all the environment variables Lyx uses ? 



Thanks 
Philippe 


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users