Comments (9)
As far as I remember the additional space is not there anymore. But you can still increase/decrease the space, if you want:
\documentclass{beamer}
\usetheme{metropolis}
\addtobeamertemplate{frametitle}{}{\vspace{1em}} % increase
\addtobeamertemplate{frametitle}{}{\vspace{-1em}} % decrease
\begin{document}
\begin{frame}[t]{Title}
Lorem ipsum ...
\end{frame}
\end{document}
from mtheme.
The margin is caused by this vspace. I added that in order to center "normal sized" content vertically. I would also like to fix this with Beamer tools but as you noticed it is not possible to change vertical frame margins.
Now, I don't know how to proceed. The margin definitely looks bad but on the other hand overly full slides also don't leave the best impressions.
from mtheme.
Thank you very much, that was helpful. It didn't spot the \vspace{2em}
straight away but now I removed it I feel my slides already look much better. If I come across a more general solution I'll let you know. And thanks again for this very nice style.
from mtheme.
I gave a presentation this week using this theme and I too found the vspace odd looking. LaTeX/Beamer do a nice job of placing content without this. Was there another reason for adding it, other than forcing less content per slide?
from mtheme.
I am not forcing less content but centering vertically. For example, if you just set one line of text it looks oddly out of place, maybe also due to the vast amount of available whitespace. If this is a serious problem for most of the users, I might add an option which adds the \vspace
on an optional basis.
from mtheme.
Could you give an example on how to use the optionally added vspace? I don't see it described in the documentation anywhere.
from mtheme.
Thanks for the example on how to manually change the spacing.
In the commit referenced above, there is a nooffset option that changes something called voffset that looks like it is a variable of some kind. However, I don't understand enough about what is going on in that code to use the nooffset or choose a user defined voffset.
Were you aware of that code change? If not, can you now understand it enough to provide an example to use that new option? I'm thinking it may be a little cleaner than what you have suggested above.
Thanks.
from mtheme.
Again: there is no additional space anymore and therefore no theme option to disable it. And I don't think it is necessary to add an option to the theme to change the space.
Be aware that the commit referenced is over a year old. Really a lot has changed over the last year. Just use my example code if you need to reduce the space. It is a clean solution.
from mtheme.
Thanks for the clarification, and apologies for not realizing that the changes in the commit referenced above were overwritten at a later time.
Thanks.
from mtheme.
Related Issues (20)
- Dead Link to Paul Tol's technical note for SRON
- Not sure how to use Fira Fonts HOT 7
- mtheme license HOT 1
- In knitr, can't get metropolis theme to work with \mathbf and greek letters, or with \bm from the bm package HOT 2
- includeonlylecture and subsectionpage are not compatible HOT 1
- Supported range / Fallback setup with XeLaTeX? HOT 3
- Italic in verbatim environment
- Tikz node color changes to black after \color{} HOT 1
- Fix make demo
- How can I change the font of this theme?
- Create a whiteboard sidebar when aspectratio=169
- page number in frame title
- Change mtheme license
- allowframebreaks breaks frame very strange
- Don't include appendix pages in progress bar without use of appendixnumberbeamer
- Switch sectionpage and subsectionpage to standout mode HOT 1
- .
- Issue with texlive 2023 HOT 8
- The manual contains outdated pandoc instructions
- Make word color Green HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtheme.