1

I want to add at the beginning of all beamer frame environments some extra commands (for example, \vspace{-0.5cm}) and my trial with

\addtobeamertemplate{frame begin}{}{\vspace{-0.5cm}}

doesn't work at all.

Which line should I add to solve this problem?

1
  • Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – user31729 Jun 19 '14 at 15:44
2

I do not know if this breaks some thing some where!

\documentclass{beamer}
\usepackage{etoolbox}
\AtBeginEnvironment{frame}{\vspace*{-1in}}
\begin{document}
  \begin{frame}
    Some text
  \end{frame}
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.