Comments (6)
I've had my eye on this too 👍
Even if \usepgfplottheme
doesn't exist, we can still bundle off the pgfplots code into a little sub-package and include it with \RequirePackage
. We can then call the package only when pgfplots
is available, much like we currently \usefonttheme
only under XeLaTeX or LuaLaTeX. This answer appears to show how to do that.
from mtheme.
From #88:
Right now the pgfplot theme is tied to a particular color. Ideally we would have a pgf color theme, which could actually come from the color theme itself in order to provide consistency, and a structural theme, i.e. all those axes, legend and grid customizations.
I think it would be sufficient to define the set of colors in the plotcyclelist
. Axes, legend, grid and so on seems to be working just fine already.
Screenshot created using the following color adjustments:
\definecolor{mBloodRed}{HTML}{FF0000}
\definecolor{mYellowBastard}{HTML}{EAF02C}
\setbeamercolor{normal text}{%
fg=white,
bg=black!90
}
\setbeamercolor{alerted text}{%
fg=mBloodRed
}
\setbeamercolor{example text}{%
fg=mYellowBastard
}
from mtheme.
Axes, legend, grid and so on seems to be working just fine already.
Which version of the theme are you working under? I briefly broke the behaviour of mbarplot
on my branch, so if you have that checked out you may be seeing the default beamer
colour-choosing behaviour. Perhaps this is a sign to drop the Tol colours from the theme altogether?
from mtheme.
That was the current Master with your first patch in #88 applied. As I was focusing on the axis, and grid color I didn't recognize that it was broken.
So, what I wanted to show is that with respect to the axis, grid and legend colors it is already dependent on the beamer color normal text
. So here is a new Screenshot (without broken mbarplot
behavior):
from mtheme.
I think after we split the pgfplotstheme into a separate file this is essentially solved and can be closed, right? Or are there still pending issues?
from mtheme.
Or are there still pending issues?
Nope, absolutely right.
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
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.