[Tex/LaTex] How to change the size of the institutional logo on Lyx- breamer

beamerlyx

I tried to use the following codes to insert logo in to my beamer, but they dont work with LyX.

If you have a file called "institution-logo-filename.xxx", where xxx
is a graphic format that can be processed by latex or pdflatex, resp.,
then you can add a logo by uncommenting the following:

%\pgfdeclareimage[height=0.5cm]{institution-logo}{institution-logo-filename.JPG}

I end up by using \titlegraphic{\includegraphics{uni-logo-filename}}

How to change the size of the institutional logo on LyX/beamer using above codes?

Best Answer

\includegraphics takes an optional argument where you can specify width and/or height, as in the \pgfdeclareimage code. Hence you can write

\titlegraphic{\includegraphics[width=3cm]{uni-logo-filename}}