Layout: ERT alignment yet again

2012-07-29 Thread Michael Bach

Dear LyX Users and Developers,

this is my first post, so to begin with: Hi to All!

For those in a hurry or just interested in my actual question, please 
skip the next 2 paragraphs.


I am a lecturer and typography hobbyist. I used many LaTeX editors in 
the past, including GNU Emacs+AUCTeX, Emacs+org-mode and Kile. I am 
using LyX now for an increasing number of projects. So in essence I am a 
LyX newcomer.


Coming from Emacs I appreciate the nice builtin documentation. The 
examples and google searches often get me where I want. I already have a 
decent setup on my good old faculty machine: Windows XP, MiKTeX and LyX 
2.0.4.


So my actual question is essentially the same as has been asked  on 
tex.stackexchange[1] and then on this ML[2]. I could not get ERT 
alignment to work as mentioned in the Answers.


I have got the following in my Document  Settings  Local Layout:

Format 35
InsetLayout ERT
Align left
Font
Size Small
EndFont
End

The 'Font' part works as expected, the 'Align' bit does not. I am at a 
loss. I already tried capitalisation and other ad-hoc trial-and-errors.


Any hints?

Thanks and Best Regards,
Michael Bach

[1] http://comments.gmane.org/gmane.editors.lyx.general/75012
[2] http://comments.gmane.org/gmane.editors.lyx.general/71456



Re: Layout: ERT alignment yet again

2012-07-29 Thread Jürgen Spitzmüller
2012/7/29 Michael Bach:
 Dear LyX Users and Developers,

 this is my first post, so to begin with: Hi to All!

Welcome!

 I have got the following in my Document  Settings  Local Layout:

 Format 35
 InsetLayout ERT
 Align left
 Font
 Size Small
 EndFont
 End

 The 'Font' part works as expected, the 'Align' bit does not. I am at a loss.
 I already tried capitalisation and other ad-hoc trial-and-errors.

 Any hints?

Try this:

---

InsetLayout ERT
Font
Size Small
Color latex
Family typewriter
EndFont
End

Style Plain_Layout
Align Left
End

---


HTH
Jürgen


Re: Layout: ERT alignment yet again

2012-07-29 Thread Michael Bach

On 7/29/2012 2:16 PM, Jürgen Spitzmüller wrote:

Try this:

---

InsetLayout ERT
Font
 Size Small
 Color latex
 Family typewriter
EndFont
End

Style Plain_Layout
 Align Left
End

---



This worked well for my ERT insets, Thanks!

One last thing though: How can I change the layout (e.g. font size) for 
captions inside float insets?


I tried e.g. for figures:

---

InsetLayout Figure
Font
Size Small
EndFont
End

---

Michael




Re: Layout: ERT alignment yet again

2012-07-29 Thread Michael Bach

For reference, a workaround was suggested by Jürgen Spitzmüller.

Style Plain_Layout
Align Left
Font
   Size Small
EndFont
End

For me this suffices.





Re: Layout: ERT alignment yet again

2012-07-29 Thread curtis osterhoudt
This *may* be what you want: 
http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/LatexTips.html#captfont

As it describes a more global way of doing things, it may override (or 
be overridden by?) the local ERT at each inset. It's all a bit of waving a dead 
chicken at it to me, though, and I could be way off base. Still, hope it helps!


From: Michael Bach pha...@gmail.com

To: lyx-users@lists.lyx.org 
Sent: Sunday, July 29, 2012 4:41 AM
Subject: Re: Layout: ERT alignment yet again
 
On 7/29/2012 2:16 PM, Jürgen Spitzmüller wrote:
 Try this:

 ---

 InsetLayout ERT
 Font
      Size Small
      Color latex
      Family typewriter
 EndFont
 End

 Style Plain_Layout
      Align Left
 End

 ---


This worked well for my ERT insets, Thanks!

One last thing though: How can I change the layout (e.g. font size) for 
captions inside float insets?

I tried e.g. for figures:

---

InsetLayout Figure
Font
     Size Small
EndFont
End

---

Michael






Re: Layout: ERT alignment yet again

2012-07-29 Thread Michael Bach

On 7/29/2012 6:47 PM, curtis osterhoudt wrote:

This *may* be what you want:
http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/LatexTips.html#captfont

As it describes a more global way of doing things, it may override (or
be overridden by?) the local ERT at each inset. It's all a bit of waving
a dead chicken at it to me, though, and I could be way off base. Still,
hope it helps!


Thanks for your input.

As far as I can see, your link points to general LaTeX advice on the 
actual typesetting of the captions. I use the caption package for this.


For me, I wanted to have readable and visually different ERT and caption 
insets within the LyX GUI - thus alignment and font size questions.


Maybe I am missing something, but for me these layout settings do not 
affect the pdf output. Please correct me if that is wrong / should / 
could be different. As I said, new to LyX.


Cheers,
Michael



Re: Layout: ERT alignment yet again

2012-07-29 Thread curtis osterhoudt
You're right! Mea culpa. I didn't read the original stackexchange question, and 
I should have. Apologies for the static.

From: Michael Bach pha...@gmail.com

To: lyx-users@lists.lyx.org 
Sent: Sunday, July 29, 2012 9:17 AM
Subject: Re: Layout: ERT alignment yet again
 
On 7/29/2012 6:47 PM, curtis osterhoudt wrote:
 This *may* be what you want:
 http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/LatexTips.html#captfont
 
 As it describes a more global way of doing things, it may override (or
 be overridden by?) the local ERT at each inset. It's all a bit of waving
 a dead chicken at it to me, though, and I could be way off base. Still,
 hope it helps!

Thanks for your input.

As far as I can see, your link points to general LaTeX advice on the actual 
typesetting of the captions. I use the caption package for this.

For me, I wanted to have readable and visually different ERT and caption 
insets within the LyX GUI - thus alignment and font size questions.

Maybe I am missing something, but for me these layout settings do not affect 
the pdf output. Please correct me if that is wrong / should / could be 
different. As I said, new to LyX.

Cheers,
Michael





Layout: ERT alignment yet again

2012-07-29 Thread Michael Bach

Dear LyX Users and Developers,

this is my first post, so to begin with: Hi to All!

For those in a hurry or just interested in my actual question, please 
skip the next 2 paragraphs.


I am a lecturer and typography hobbyist. I used many LaTeX editors in 
the past, including GNU Emacs+AUCTeX, Emacs+org-mode and Kile. I am 
using LyX now for an increasing number of projects. So in essence I am a 
LyX newcomer.


Coming from Emacs I appreciate the nice builtin documentation. The 
examples and google searches often get me where I want. I already have a 
decent setup on my good old faculty machine: Windows XP, MiKTeX and LyX 
2.0.4.


So my actual question is essentially the same as has been asked  on 
tex.stackexchange[1] and then on this ML[2]. I could not get ERT 
alignment to work as mentioned in the Answers.


I have got the following in my Document  Settings  Local Layout:

Format 35
InsetLayout ERT
Align left
Font
Size Small
EndFont
End

The 'Font' part works as expected, the 'Align' bit does not. I am at a 
loss. I already tried capitalisation and other ad-hoc trial-and-errors.


Any hints?

Thanks and Best Regards,
Michael Bach

[1] http://comments.gmane.org/gmane.editors.lyx.general/75012
[2] http://comments.gmane.org/gmane.editors.lyx.general/71456



Re: Layout: ERT alignment yet again

2012-07-29 Thread Jürgen Spitzmüller
2012/7/29 Michael Bach:
 Dear LyX Users and Developers,

 this is my first post, so to begin with: Hi to All!

Welcome!

 I have got the following in my Document  Settings  Local Layout:

 Format 35
 InsetLayout ERT
 Align left
 Font
 Size Small
 EndFont
 End

 The 'Font' part works as expected, the 'Align' bit does not. I am at a loss.
 I already tried capitalisation and other ad-hoc trial-and-errors.

 Any hints?

Try this:

---

InsetLayout ERT
Font
Size Small
Color latex
Family typewriter
EndFont
End

Style Plain_Layout
Align Left
End

---


HTH
Jürgen


Re: Layout: ERT alignment yet again

2012-07-29 Thread Michael Bach

On 7/29/2012 2:16 PM, Jürgen Spitzmüller wrote:

Try this:

---

InsetLayout ERT
Font
 Size Small
 Color latex
 Family typewriter
EndFont
End

Style Plain_Layout
 Align Left
End

---



This worked well for my ERT insets, Thanks!

One last thing though: How can I change the layout (e.g. font size) for 
captions inside float insets?


I tried e.g. for figures:

---

InsetLayout Figure
Font
Size Small
EndFont
End

---

Michael




Re: Layout: ERT alignment yet again

2012-07-29 Thread Michael Bach

For reference, a workaround was suggested by Jürgen Spitzmüller.

Style Plain_Layout
Align Left
Font
   Size Small
EndFont
End

For me this suffices.





Re: Layout: ERT alignment yet again

2012-07-29 Thread curtis osterhoudt
This *may* be what you want: 
http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/LatexTips.html#captfont

As it describes a more global way of doing things, it may override (or 
be overridden by?) the local ERT at each inset. It's all a bit of waving a dead 
chicken at it to me, though, and I could be way off base. Still, hope it helps!


From: Michael Bach pha...@gmail.com

To: lyx-users@lists.lyx.org 
Sent: Sunday, July 29, 2012 4:41 AM
Subject: Re: Layout: ERT alignment yet again
 
On 7/29/2012 2:16 PM, Jürgen Spitzmüller wrote:
 Try this:

 ---

 InsetLayout ERT
 Font
      Size Small
      Color latex
      Family typewriter
 EndFont
 End

 Style Plain_Layout
      Align Left
 End

 ---


This worked well for my ERT insets, Thanks!

One last thing though: How can I change the layout (e.g. font size) for 
captions inside float insets?

I tried e.g. for figures:

---

InsetLayout Figure
Font
     Size Small
EndFont
End

---

Michael






Re: Layout: ERT alignment yet again

2012-07-29 Thread Michael Bach

On 7/29/2012 6:47 PM, curtis osterhoudt wrote:

This *may* be what you want:
http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/LatexTips.html#captfont

As it describes a more global way of doing things, it may override (or
be overridden by?) the local ERT at each inset. It's all a bit of waving
a dead chicken at it to me, though, and I could be way off base. Still,
hope it helps!


Thanks for your input.

As far as I can see, your link points to general LaTeX advice on the 
actual typesetting of the captions. I use the caption package for this.


For me, I wanted to have readable and visually different ERT and caption 
insets within the LyX GUI - thus alignment and font size questions.


Maybe I am missing something, but for me these layout settings do not 
affect the pdf output. Please correct me if that is wrong / should / 
could be different. As I said, new to LyX.


Cheers,
Michael



Re: Layout: ERT alignment yet again

2012-07-29 Thread curtis osterhoudt
You're right! Mea culpa. I didn't read the original stackexchange question, and 
I should have. Apologies for the static.

From: Michael Bach pha...@gmail.com

To: lyx-users@lists.lyx.org 
Sent: Sunday, July 29, 2012 9:17 AM
Subject: Re: Layout: ERT alignment yet again
 
On 7/29/2012 6:47 PM, curtis osterhoudt wrote:
 This *may* be what you want:
 http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/LatexTips.html#captfont
 
 As it describes a more global way of doing things, it may override (or
 be overridden by?) the local ERT at each inset. It's all a bit of waving
 a dead chicken at it to me, though, and I could be way off base. Still,
 hope it helps!

Thanks for your input.

As far as I can see, your link points to general LaTeX advice on the actual 
typesetting of the captions. I use the caption package for this.

For me, I wanted to have readable and visually different ERT and caption 
insets within the LyX GUI - thus alignment and font size questions.

Maybe I am missing something, but for me these layout settings do not affect 
the pdf output. Please correct me if that is wrong / should / could be 
different. As I said, new to LyX.

Cheers,
Michael





Layout: ERT alignment yet again

2012-07-29 Thread Michael Bach

Dear LyX Users and Developers,

this is my first post, so to begin with: Hi to All!

For those in a hurry or just interested in my actual question, please 
skip the next 2 paragraphs.


I am a lecturer and typography hobbyist. I used many LaTeX editors in 
the past, including GNU Emacs+AUCTeX, Emacs+org-mode and Kile. I am 
using LyX now for an increasing number of projects. So in essence I am a 
LyX newcomer.


Coming from Emacs I appreciate the nice builtin documentation. The 
examples and google searches often get me where I want. I already have a 
decent setup on my good old faculty machine: Windows XP, MiKTeX and LyX 
2.0.4.


So my actual question is essentially the same as has been asked  on 
tex.stackexchange[1] and then on this ML[2]. I could not get ERT 
alignment to work as mentioned in the Answers.


I have got the following in my Document > Settings > Local Layout:

Format 35
InsetLayout ERT
Align left
Font
Size Small
EndFont
End

The 'Font' part works as expected, the 'Align' bit does not. I am at a 
loss. I already tried capitalisation and other ad-hoc trial-and-errors.


Any hints?

Thanks and Best Regards,
Michael Bach

[1] http://comments.gmane.org/gmane.editors.lyx.general/75012
[2] http://comments.gmane.org/gmane.editors.lyx.general/71456



Re: Layout: ERT alignment yet again

2012-07-29 Thread Jürgen Spitzmüller
2012/7/29 Michael Bach:
> Dear LyX Users and Developers,
>
> this is my first post, so to begin with: Hi to All!

Welcome!

> I have got the following in my Document > Settings > Local Layout:
>
> Format 35
> InsetLayout ERT
> Align left
> Font
> Size Small
> EndFont
> End
>
> The 'Font' part works as expected, the 'Align' bit does not. I am at a loss.
> I already tried capitalisation and other ad-hoc trial-and-errors.
>
> Any hints?

Try this:

---

InsetLayout ERT
Font
Size Small
Color latex
Family typewriter
EndFont
End

Style Plain_Layout
Align Left
End

---


HTH
Jürgen


Re: Layout: ERT alignment yet again

2012-07-29 Thread Michael Bach

On 7/29/2012 2:16 PM, Jürgen Spitzmüller wrote:

Try this:

---

InsetLayout ERT
Font
 Size Small
 Color latex
 Family typewriter
EndFont
End

Style Plain_Layout
 Align Left
End

---



This worked well for my ERT insets, Thanks!

One last thing though: How can I change the layout (e.g. font size) for 
captions inside float insets?


I tried e.g. for figures:

---

InsetLayout Figure
Font
Size Small
EndFont
End

---

Michael




Re: Layout: ERT alignment yet again

2012-07-29 Thread Michael Bach

For reference, a workaround was suggested by Jürgen Spitzmüller.

Style Plain_Layout
Align Left
Font
   Size Small
EndFont
End

For me this suffices.





Re: Layout: ERT alignment yet again

2012-07-29 Thread curtis osterhoudt
This *may* be what you want: 
http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/LatexTips.html#captfont

As it describes a more "global" way of doing things, it may override (or 
be overridden by?) the local ERT at each inset. It's all a bit of waving a dead 
chicken at it to me, though, and I could be way off base. Still, hope it helps!


From: Michael Bach <pha...@gmail.com>

To: lyx-users@lists.lyx.org 
>Sent: Sunday, July 29, 2012 4:41 AM
>Subject: Re: Layout: ERT alignment yet again
> 
>On 7/29/2012 2:16 PM, Jürgen Spitzmüller wrote:
>> Try this:
>>
>> ---
>>
>> InsetLayout ERT
>> Font
>>      Size Small
>>      Color latex
>>      Family typewriter
>> EndFont
>> End
>>
>> Style Plain_Layout
>>      Align Left
>> End
>>
>> ---
>>
>
>This worked well for my ERT insets, Thanks!
>
>One last thing though: How can I change the layout (e.g. font size) for 
>captions inside float insets?
>
>I tried e.g. for figures:
>
>---
>
>InsetLayout Figure
>Font
>     Size Small
>EndFont
>End
>
>---
>
>Michael
>
>
>
>
>

Re: Layout: ERT alignment yet again

2012-07-29 Thread Michael Bach

On 7/29/2012 6:47 PM, curtis osterhoudt wrote:

This *may* be what you want:
http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/LatexTips.html#captfont

As it describes a more "global" way of doing things, it may override (or
be overridden by?) the local ERT at each inset. It's all a bit of waving
a dead chicken at it to me, though, and I could be way off base. Still,
hope it helps!


Thanks for your input.

As far as I can see, your link points to general LaTeX advice on the 
actual typesetting of the captions. I use the caption package for this.


For me, I wanted to have readable and visually different ERT and caption 
insets within the LyX GUI - thus alignment and font size questions.


Maybe I am missing something, but for me these layout settings do not 
affect the pdf output. Please correct me if that is wrong / should / 
could be different. As I said, new to LyX.


Cheers,
Michael



Re: Layout: ERT alignment yet again

2012-07-29 Thread curtis osterhoudt
You're right! Mea culpa. I didn't read the original stackexchange question, and 
I should have. Apologies for the static.

From: Michael Bach <pha...@gmail.com>

To: lyx-users@lists.lyx.org 
>Sent: Sunday, July 29, 2012 9:17 AM
>Subject: Re: Layout: ERT alignment yet again
> 
>On 7/29/2012 6:47 PM, curtis osterhoudt wrote:
>> This *may* be what you want:
>> http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/LatexTips.html#captfont
>> 
>> As it describes a more "global" way of doing things, it may override (or
>> be overridden by?) the local ERT at each inset. It's all a bit of waving
>> a dead chicken at it to me, though, and I could be way off base. Still,
>> hope it helps!
>
>Thanks for your input.
>
>As far as I can see, your link points to general LaTeX advice on the actual 
>typesetting of the captions. I use the caption package for this.
>
>For me, I wanted to have readable and visually different ERT and caption 
>insets within the LyX GUI - thus alignment and font size questions.
>
>Maybe I am missing something, but for me these layout settings do not affect 
>the pdf output. Please correct me if that is wrong / should / could be 
>different. As I said, new to LyX.
>
>Cheers,
>Michael
>
>
>
>