Comments (5)
I have tested cc24402 with the default beamer colour themes: albatross
, beaver
, beetle
, crane
, default
, dolphin
, dove
, fly
, lily
, orchid
, rose
, seagull
, seahorse
, sidebartab
, structure
, whale
, and wolverine
. It works essentially as expected, with the following quirks:
- Several themes do not define some colours, expecting to inherit them from
default
; for example, they may intend to have redalerted text
as per the default but do not specify this. When used with our theme, these styles will fall back tomtheme
's colours instead of the defaults. We may want to provide some option forbeamercolorthememetropolis
to not set the base coloursnormal text
,alerted text
, andexample text
to allow users to let users revert to the default colour scheme. - The
\plain{...}
command does not work with thefly
theme. This is becausefly
has an annoying definition ofpalette primary
which specifically unsets the background. I don't think there's a non-hacky way of fixing this while maintaining the expected behaviour for the other themes.
from mtheme.
I have tested cc24402 with the default beamer colour themes.
Wow. Sounds like a lot of boring work.
We may want to provide some option for
beamercolorthememetropolis
Maybe even go a step further and provide an option not to load the color theme at all. And instead only define the new beamer colors we use?
\if@nocolortheme
\setbeamercolor{title separator}{use=progress bar, parent=progress bar}
\setbeamercolor{progress bar}{%
use=alerted text,
fg=alerted text.fg,
bg=normal text.bg!50!fg
}
\else
\usecolortheme{metropolis}
\fi
If I get it right, this should also fix the problem and an option like this should be easier to understand than notSetBaseColors
.
The
\plain{...}
command does not work with thefly
theme.
It appears to me that this is a bug of the fly
theme. I wouldn't really care about that. Lets just keep it in mind and add it to the documentation as a known issue.
from mtheme.
Maybe even go a step further and provide an option not to load the color theme at all. And instead only define the new beamer colors we use?
After splitting the theme into its inner, outer, font, and colour components, it is now possible to take advantage of the structural parts of the theme without loading the colour theme. However, Beamer colors for (e.g.) progress bar
are not defined if the color theme is not loaded. Should we provide defaults in the inner and outer themes?
from mtheme.
We should provide defaults, but I don't think the inner and outer themes are the right place for it. Actually we already provide sensible defaults, as our color definitions of the progress bar
are dependent on the alerted text
and the normal text
color. So if someone just loads the mtheme
and then a stock color theme, this should work just fine.
So I don't think there is really a need to provide an option to not load the color theme and we can just close this issue.
from mtheme.
That's fine by me.
from mtheme.
Related Issues (20)
- 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
- How to get inverted section slides?
- `pgfplotsthemetol` puts `\pgfplotsset{compat=1.9}` at end of preamble, overriding other settings
- How can I make the title page background dark (inverted colors)? HOT 1
- Metropolis design with typst implementation HOT 2
- How to change color of inverted section pages? HOT 2
- Footnotes in combination with `\fullcite` are very large and their font size cannot be adjusted HOT 2
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.