Comments (5)
Yes it is meant to cover the whole width. The problem here is, that this is sometimes hard to track down.
As a first example, my talks do not have that, cf. https://ronnybergmann.net/talks/2022-JuliaCon-Manoptjl-extended.pdf.
Ah but I see mine have that on the right -.-
Usually this happens, when some end of a line is not “escaped” properly, i.e. when you look at the code of the style you have a lot of lines ending in %
, since without that, some definitions / text within fields might introduce this.
And yes, I spent quite some time to reduce these from happening, so with them not happening in my talk, it would be great to have a (as small/short as possible) example that reproduces this (on your machine and hopefully also on mine).
Then it might be still a matter of a few hours trying to find the culprit. For both your bug as well as mine.
from beamerthementnu.
Hmm, that's curious that you don't have them in your slides. I already have it for the code snippet below where there's no %
-s at all.
\documentclass[aspectratio=169]{beamer}
\usetheme[slogan=english,frametotal=true,style=horizontal]{NTNU}
\begin{document}
\begin{frame}
content...
\end{frame}
\end{document}
from beamerthementnu.
As I said it is probably missing %
and most probably somewhere in the style files.
from beamerthementnu.
Sorry for not realising you meant the .sty-file which I assumed would be identical for the both of us.
In beamerouterthemeNTNUhorizontal.sty I added %
after the first curly brace of the \hbox{}
below
\hbox{
\begin{beamercolorbox}[wd=.666666\paperwidth,ht=\footlineheight,dp=0.4\footlineheight,left]{palette tertiary}%
\hspace*{3em}%
\vspace*{.1\footlineheight}%
\usebeamercolor[fg]{page number in head/foot}%
\usebeamerfont{page number in head/foot}%
\insertframenumber{}%
\ifntnu@displayTotalFrameNumber%
\ /\ \inserttotalframenumber%
\fi%
\end{beamercolorbox}\hspace{-1pt}%Hacked up to now
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=\footlineheight,dp=0.4\footlineheight,right]{palette tertiary}%
\hfill%
\vspace*{-.1\footlineheight}
\includegraphics[height=.8\footlineheight]{ntnu_uten_slagord_neg.png}
\hspace*{2em}%
\end{beamercolorbox}
}%
which led to what you describe, the gap appearing on the right-hand side.
Reducing the length of the \hspace{-1pt}%Hacked up to now
reduces the size of the gap on the right, but leads to a gap between the boxes, and removing it completely yields a very thin, but visible, gap between them.
So the issue seems to be to find appropriate sizes for the colorboxes and the negative \hspace
to ensure there's no gap between them.
from beamerthementnu.
Thanks for narrowing that down – as you can also see, the \hspace
is already a hack to remove one of the lines, maybe also just -0.1pt
is enough?
But yes, in general fixing these by finding the right dimensions would be very welcome (and probably quite some experimenting).
from beamerthementnu.
Related Issues (13)
- "simple" not localised HOT 1
- Default math font aestethics HOT 7
- Why making a one-file template? HOT 12
- Move repository to new org
- Upgrade repository: Documentation, Examples, name of the theme HOT 2
- In example(s): \tableofcontents perhaps needs wrapped in frame HOT 3
- Compilation fails when adding biblatex in the package list HOT 1
- Beamer theme not found when using texlive. HOT 1
- Title is too wide in title page if style=horizontal is used HOT 3
- Problems with tikzexternalize HOT 5
- Title shadowed by logo when using ntnu style 16:9 format HOT 3
- Using columns in 169 vertical format breaks left margin HOT 3
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 beamerthementnu.