Hello everyone,
I want to change the title block size and its background color in beamer. Also, I want to change the vertical spacing between the title, author name and date. I searched but no luck. Any suggestions?
Thanks.
Document Classes ⇒ Size of Title Block in Presentation
NEW: TikZ book now 40% off at Amazon.com for a short time.
Size of Title Block in Presentation
hi manojg,
here is some basic example for you
for the block widths see http://tex.stackexchange.com/questions/ ... -in-beamer.
tommytex
here is some basic example for you

Code: Select all
\documentclass[12pt]{beamer}
\usepackage[english]{babel}
\usetheme{Berlin}
\usecolortheme{orchid}%crane
\title{How to use blocks in \LaTeX~Beamer}
\author{Tommytex}
\date{\today}
\defbeamertemplate*{title page}{customized}[1][]
{
\centering
\begin{beamercolorbox}[wd=\paperwidth,ht=3.8ex]{palette primary}
\centering \usebeamerfont{title}\inserttitle
\end{beamercolorbox}
\vspace{1.4cm}
\bigskip
\insertauthor\par
\insertdate\par
}
\begin{document}
\begin{frame}
\maketitle
\end{frame}
\begin{frame}{Example}
\begin {block}{Blue block} this is the blue block \end{block}
\begin {alertblock}{Red block} this is the red block \end{alertblock}
\begin {exampleblock}{Green block} this is the green block \end{exampleblock}
\end{frame}
\end{document}
for the block widths see http://tex.stackexchange.com/questions/ ... -in-beamer.
tommytex

- Attachments
-
- beamerblock.pdf
- (43.56 KiB) Downloaded 642 times
Size of Title Block in Presentation
Thank you very much tommytex for you reply.
I encountered another error in latex (not beamer) and have a question about it. I am using mdframed package to make frame around the long text. Before, I got error about pgf, so I installed new version of pgf. Now, I am getting different error like this:
Any suggestion?
Thanks.
I encountered another error in latex (not beamer) and have a question about it. I am using mdframed package to make frame around the long text. Before, I got error about pgf, so I installed new version of pgf. Now, I am getting different error like this:
Code: Select all
hs.code.tex))) (/usr/share/texmf/tex/latex/mdframed/md-frame-1.mdf))
(/usr/share/texmf/tex/latex/lipsum/lipsum.sty)
(/usr/share/texmf/tex/latex/geometry/geometry.sty)
LaTeX Warning: Unused global option(s):
[letter].
(./main.aux) (/usr/share/texmf/tex/latex/psnfss/ot1ptm.fd)
ABD: EveryShipout initializing macros
! Undefined control sequence.
\mdfsetup ->\kvsetkeys
{mdf}
l.42 test text
? x
No pages of output.
Thanks.
Size of Title Block in Presentation
hi manojg,
maybe you should make this be a new topic...
have you already tried the examples on http://www.tex.ac.uk/CTAN/macros/latex/ ... /mdframed/
(mdframed-example-default.pdf)?
mdframed
tommtex
maybe you should make this be a new topic...
have you already tried the examples on http://www.tex.ac.uk/CTAN/macros/latex/ ... /mdframed/
(mdframed-example-default.pdf)?
mdframed
tommtex