How to change enumerate label font size in beamer?

2013-06-13 Thread Csikos Bela
Hello:

I have a frame in beamer with an enumerated list where I increased the font 
size of the text.
How can I adjust the font size of the label accordingly?
The font size was changed to Larger (\Large in the latex source).
I don't want to change the font for all lists, only for this specific one.

Thanks,

bcsikos



Re: How to change enumerate label font size in beamer?

2013-06-13 Thread Jürgen Spitzmüller
Am Donnerstag 13 Juni 2013, 13:27:13 schrieb Csikos Bela:
 I have a frame in beamer with an enumerated list where I increased the font
 size of the text. How can I adjust the font size of the label accordingly?
 The font size was changed to Larger (\Large in the latex source).
 I don't want to change the font for all lists, only for this specific one.

I suppose you use the ball enumerate item theme, since plain scales by 
default.

The ball items are hardcoded in size, so you have to set up a new template 
for large balls. In preamble, something like

\defbeamertemplate{enumerate item}{largeball}
{
  \begin{pgfpicture}{-1ex}{-0.65ex}{1.5ex}{1.5ex}
\usebeamercolor[fg]{item projected}
{\pgftransformscale{3.25}\pgftext{\Large\pgfuseshading{bigsphere}}}
{\pgftransformshift{\pgfpoint{0pt}{0.5pt}}
  \pgftext{\usebeamerfont*{item projected}\Large\insertenumlabel}}
  \end{pgfpicture}%
}

Then in the document, right before the list:

\setbeamertemplate{enumerate item}[largeball]

HTH
Jürgen


Re: How to change enumerate label font size in beamer?

2013-06-13 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Donnerstag 13 Juni 2013, 13:27:13 schrieb Csikos Bela:
 I have a frame in beamer with an enumerated list where I increased the font
 size of the text. How can I adjust the font size of the label accordingly?
 The font size was changed to Larger (\Large in the latex source).
 I don't want to change the font for all lists, only for this specific one.

Thanks for the super fast answer!

I suppose you use the ball enumerate item theme, since plain scales by 
default.

No. I use the default beamer theme/template loaded with lyx.
It has a white background, and the label number has no any background.
An it is not scaled.

The ball items are hardcoded in size, so you have to set up a new template 
for large balls. In preamble, something like

\defbeamertemplate{enumerate item}{largeball}
{
  \begin{pgfpicture}{-1ex}{-0.65ex}{1.5ex}{1.5ex}
\usebeamercolor[fg]{item projected}
{\pgftransformscale{3.25}\pgftext{\Large\pgfuseshading{bigsphere}}}
{\pgftransformshift{\pgfpoint{0pt}{0.5pt}}
  \pgftext{\usebeamerfont*{item projected}\Large\insertenumlabel}}
  \end{pgfpicture}%
}

Then in the document, right before the list:

\setbeamertemplate{enumerate item}[largeball]


This works. As I don't need the ball background I modified the code to:

\defbeamertemplate{enumerate item}{large}{\Large\insertenumlabel.}

This works too. 

Thanks again,

bcsikos



Re: How to change enumerate label font size in beamer?

2013-06-13 Thread Jürgen Spitzmüller
Am Donnerstag 13 Juni 2013, 14:37:51 schrieb Csikos Bela:
 No. I use the default beamer theme/template loaded with lyx.
 It has a white background, and the label number has no any background.
 An it is not scaled.

It scales if you put \Large in ERT before the list (instead of selecting the 
fontsize via the dialog).

Jürgen


Re: How to change enumerate label font size in beamer?

2013-06-13 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Donnerstag 13 Juni 2013, 14:37:51 schrieb Csikos Bela:
 No. I use the default beamer theme/template loaded with lyx.
 It has a white background, and the label number has no any background.
 An it is not scaled.

It scales if you put \Large in ERT before the list (instead of selecting the 
fontsize via the dialog).


I did not know that. Thanks.

bcsikos




How to change enumerate label font size in beamer?

2013-06-13 Thread Csikos Bela
Hello:

I have a frame in beamer with an enumerated list where I increased the font 
size of the text.
How can I adjust the font size of the label accordingly?
The font size was changed to Larger (\Large in the latex source).
I don't want to change the font for all lists, only for this specific one.

Thanks,

bcsikos



Re: How to change enumerate label font size in beamer?

2013-06-13 Thread Jürgen Spitzmüller
Am Donnerstag 13 Juni 2013, 13:27:13 schrieb Csikos Bela:
 I have a frame in beamer with an enumerated list where I increased the font
 size of the text. How can I adjust the font size of the label accordingly?
 The font size was changed to Larger (\Large in the latex source).
 I don't want to change the font for all lists, only for this specific one.

I suppose you use the ball enumerate item theme, since plain scales by 
default.

The ball items are hardcoded in size, so you have to set up a new template 
for large balls. In preamble, something like

\defbeamertemplate{enumerate item}{largeball}
{
  \begin{pgfpicture}{-1ex}{-0.65ex}{1.5ex}{1.5ex}
\usebeamercolor[fg]{item projected}
{\pgftransformscale{3.25}\pgftext{\Large\pgfuseshading{bigsphere}}}
{\pgftransformshift{\pgfpoint{0pt}{0.5pt}}
  \pgftext{\usebeamerfont*{item projected}\Large\insertenumlabel}}
  \end{pgfpicture}%
}

Then in the document, right before the list:

\setbeamertemplate{enumerate item}[largeball]

HTH
Jürgen


Re: How to change enumerate label font size in beamer?

2013-06-13 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Donnerstag 13 Juni 2013, 13:27:13 schrieb Csikos Bela:
 I have a frame in beamer with an enumerated list where I increased the font
 size of the text. How can I adjust the font size of the label accordingly?
 The font size was changed to Larger (\Large in the latex source).
 I don't want to change the font for all lists, only for this specific one.

Thanks for the super fast answer!

I suppose you use the ball enumerate item theme, since plain scales by 
default.

No. I use the default beamer theme/template loaded with lyx.
It has a white background, and the label number has no any background.
An it is not scaled.

The ball items are hardcoded in size, so you have to set up a new template 
for large balls. In preamble, something like

\defbeamertemplate{enumerate item}{largeball}
{
  \begin{pgfpicture}{-1ex}{-0.65ex}{1.5ex}{1.5ex}
\usebeamercolor[fg]{item projected}
{\pgftransformscale{3.25}\pgftext{\Large\pgfuseshading{bigsphere}}}
{\pgftransformshift{\pgfpoint{0pt}{0.5pt}}
  \pgftext{\usebeamerfont*{item projected}\Large\insertenumlabel}}
  \end{pgfpicture}%
}

Then in the document, right before the list:

\setbeamertemplate{enumerate item}[largeball]


This works. As I don't need the ball background I modified the code to:

\defbeamertemplate{enumerate item}{large}{\Large\insertenumlabel.}

This works too. 

Thanks again,

bcsikos



Re: How to change enumerate label font size in beamer?

2013-06-13 Thread Jürgen Spitzmüller
Am Donnerstag 13 Juni 2013, 14:37:51 schrieb Csikos Bela:
 No. I use the default beamer theme/template loaded with lyx.
 It has a white background, and the label number has no any background.
 An it is not scaled.

It scales if you put \Large in ERT before the list (instead of selecting the 
fontsize via the dialog).

Jürgen


Re: How to change enumerate label font size in beamer?

2013-06-13 Thread Csikos Bela
Jürgen Spitzmüller sp...@lyx.org írta:
Am Donnerstag 13 Juni 2013, 14:37:51 schrieb Csikos Bela:
 No. I use the default beamer theme/template loaded with lyx.
 It has a white background, and the label number has no any background.
 An it is not scaled.

It scales if you put \Large in ERT before the list (instead of selecting the 
fontsize via the dialog).


I did not know that. Thanks.

bcsikos




How to change enumerate label font size in beamer?

2013-06-13 Thread Csikos Bela
Hello:

I have a frame in beamer with an enumerated list where I increased the font 
size of the text.
How can I adjust the font size of the label accordingly?
The font size was changed to Larger (\Large in the latex source).
I don't want to change the font for all lists, only for this specific one.

Thanks,

bcsikos



Re: How to change enumerate label font size in beamer?

2013-06-13 Thread Jürgen Spitzmüller
Am Donnerstag 13 Juni 2013, 13:27:13 schrieb Csikos Bela:
> I have a frame in beamer with an enumerated list where I increased the font
> size of the text. How can I adjust the font size of the label accordingly?
> The font size was changed to Larger (\Large in the latex source).
> I don't want to change the font for all lists, only for this specific one.

I suppose you use the "ball" enumerate item theme, since "plain" scales by 
default.

The "ball" items are hardcoded in size, so you have to set up a new template 
for "large" balls. In preamble, something like

\defbeamertemplate{enumerate item}{largeball}
{
  \begin{pgfpicture}{-1ex}{-0.65ex}{1.5ex}{1.5ex}
\usebeamercolor[fg]{item projected}
{\pgftransformscale{3.25}\pgftext{\Large\pgfuseshading{bigsphere}}}
{\pgftransformshift{\pgfpoint{0pt}{0.5pt}}
  \pgftext{\usebeamerfont*{item projected}\Large\insertenumlabel}}
  \end{pgfpicture}%
}

Then in the document, right before the list:

\setbeamertemplate{enumerate item}[largeball]

HTH
Jürgen


Re: How to change enumerate label font size in beamer?

2013-06-13 Thread Csikos Bela
"Jürgen Spitzmüller"  írta:
>Am Donnerstag 13 Juni 2013, 13:27:13 schrieb Csikos Bela:
>> I have a frame in beamer with an enumerated list where I increased the font
>> size of the text. How can I adjust the font size of the label accordingly?
>> The font size was changed to Larger (\Large in the latex source).
>> I don't want to change the font for all lists, only for this specific one.

Thanks for the super fast answer!

>I suppose you use the "ball" enumerate item theme, since "plain" scales by 
>default.

No. I use the default beamer theme/template loaded with lyx.
It has a white background, and the label number has no any background.
An it is not scaled.

>The "ball" items are hardcoded in size, so you have to set up a new template 
>for "large" balls. In preamble, something like
>
>\defbeamertemplate{enumerate item}{largeball}
>{
>  \begin{pgfpicture}{-1ex}{-0.65ex}{1.5ex}{1.5ex}
>\usebeamercolor[fg]{item projected}>
{\pgftransformscale{3.25}\pgftext{\Large\pgfuseshading{bigsphere}}}>
{\pgftransformshift{\pgfpoint{0pt}{0.5pt}}>
  \pgftext{\usebeamerfont*{item projected}\Large\insertenumlabel}}>
  \end{pgfpicture}%
>}
>
>Then in the document, right before the list:
>
>\setbeamertemplate{enumerate item}[largeball]
>

This works. As I don't need the ball background I modified the code to:

\defbeamertemplate{enumerate item}{large}{\Large\insertenumlabel.}

This works too. 

Thanks again,

bcsikos



Re: How to change enumerate label font size in beamer?

2013-06-13 Thread Jürgen Spitzmüller
Am Donnerstag 13 Juni 2013, 14:37:51 schrieb Csikos Bela:
> No. I use the default beamer theme/template loaded with lyx.
> It has a white background, and the label number has no any background.
> An it is not scaled.

It scales if you put \Large in ERT before the list (instead of selecting the 
fontsize via the dialog).

Jürgen


Re: How to change enumerate label font size in beamer?

2013-06-13 Thread Csikos Bela
"Jürgen Spitzmüller"  írta:
>Am Donnerstag 13 Juni 2013, 14:37:51 schrieb Csikos Bela:>
> No. I use the default beamer theme/template loaded with lyx.>
> It has a white background, and the label number has no any background.>
> An it is not scaled.>
>
It scales if you put \Large in ERT before the list (instead of selecting the >
fontsize via the dialog).>
>

I did not know that. Thanks.

bcsikos