-
Notifications
You must be signed in to change notification settings - Fork 844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added new font theme for thicker, easier to read letters. #75
Conversation
I used the following
Looking at your screenshot the font theme looks very similar to
It's probably better than nothing, but personally I don't understand why people cling to the old pdfTeX.
As I wrote the hsrmbeamertheme I looked a lot into the problem of sans-serif math. And at the time, there was no satisfying solution. The main problem is, that there are very few fonts with full math support. So most of the time you end up replacing some symbols with the ones from a different font. And this always looks more or less strange. But it's probably worth using at least a package like |
Another thought: I think before we start to add new font themes, we should revise the
But I have to think about that again and test some things if they work the way I remember it. |
Concerning this issue and to avoid unnecessary work, I'd wait until #74 is merged. |
Bibliography: Thanks @benjamin-weiss, that worked fine for me. I was trying really hard to use
Yeah, it's super similar, just an increase in font-weight across the board. I'm fine with
I agree with the spirit of this, but I don't think we can get it down to nearly as low a number as two commands. While this is only the first time I've really played with Furthermore, we have a lot of targeting for assigning fonts to specific Beamer sections (
Definitely. I was looking into it yesterday, and it's really hard to find a sans-serif choice for math. I was pretty pleased with |
I think the
I would actually suggest we change |
This is most of the reason I wanted to bring the As a caveat, though, I'd recommend extensive testing with the |
I'm generally in favour of the option option — it goes against the beamer way but should be easier to maintain. I'm working on overhauling the options system using |
Nevertheless
Ok, I didn't see that you are actually using 4 different font weights and forgot that we are using 3 (thought it were only 2). So I thought about it again. Maybe it's a good idea to adapt the CSS font weight naming scheme:
in addition to the monospaced font family.
Could that be the starting point for our font themes?
I haven't seen that at first. Then we definitely should use it.
I'm on board with renaming to
Good idea. |
👍 |
I think this PR is now obsolete after #145 has been merged. @ChipmunkMath, @mlubin can you please check if a simple \setsansfont[BoldFont={Fira Sans SemiBold}]{Fira Sans Book} after loading the theme satisfies your needs now? |
Apologies for taking so ridiculously long to get back to you on this, @benjamin-weiss. Putting
For me, none of the above are real issues, so I'm happy to use that as a fix. Other people might care about some of those mismatches, though. Regardless of any further changes, I think some way to implement heavier weight characters should be included as an option in the package or at least the above If anybody wants to see them, here are sample images showing Fira Sans |
Yes, math is always a problem. The Fira Font is not a complete math font. So some of the characters are replaced. I personally prefer to typeset my math in plain old Computer Modern because of that.
In section 3.3 the manual mentions how to change the fonts. Ok, it uses the Ubuntu font as an example, but from my point of view this is clear enough, but I am quite familiar with fontspec. So fell free to rephrase it and make a PR. About your other issues. Unfortunately I cannot reproduce any of them. Are you sure you are working at least with the CTAN version? It looks to me like you are still using an older version. Please check your texmf folder. Here is my minimal example I tested with. \documentclass[10pt]{beamer}
\usetheme{metropolis}
\title{Metropolis}
\subtitle{A modern beamer theme}
\date{\today}
\author{Matthias Vogelgesang}
\institute{Center for modern beamer themes}
\begin{document}
\maketitle
\begin{frame}{Literaturverzeichnis}
\begin{thebibliography}{10}
\bibitem{Oppenheim2009}
Alan~V.~Oppenheim
\newblock Discrete-Time Signal Processing
\newblock Prentice Hall Press, 2009
\end{thebibliography}
\end{frame}
\setsansfont[BoldFont={Fira Sans SemiBold}]{Fira Sans Book}
\maketitle
\begin{frame}{Literaturverzeichnis}
\begin{thebibliography}{10}
\bibitem{Oppenheim2009}
Alan~V.~Oppenheim
\newblock Discrete-Time Signal Processing
\newblock Prentice Hall Press, 2009
\end{thebibliography}
\end{frame}
\end{document} And the output I get. |
Checking the log files after compiling with metropolis and I believe I am up to date (2015/12/04). I also see that version date when I manually look at the style files in my texmf directory. Running @benjamin-weiss most recent MWE, both pairs of slides (lower font weight and higher font weight) are identical. Not sure what the differences in our setups could be. |
@ChipmunkMath, did my answer to #169 fix your problems here? I can confirm that |
@rchurchley Yes, it did! Thank you! (Sorry I didn't respond to #169: you posted your solution, but I didn't get the chance to test it before the issue was closed, so I wasn't sure if I should mention anything.) Since I used the theme in the summer of 2015, my old files were getting in the way of things working properly. I cleaned them out, tried the MWE that @benjamin-weiss posted above (Jan 30), and everything works like a charm. That said, I still think the theme's default font weight is a little too light for easy readability. While it's simple enough to put |
That's a good idea. Although we demonstrate I have added a note in the documentation as part of pull request #195. Would you have anything to add to it, @ChipmunkMath? |
Put together a new Beamer font theme:
dailyplanet
. Use with\usefonttheme{dailyplanet}
sometime after\usetheme[<options>]{m}
in the document header. This changes the normal font from Fira SansLight
to primarily using Fira SansBook
. Similar changes were made to the rest of the supporting font choices.This font theme was made with high readability in mind. While I prefer the aesthetic quality of the default
metropolis
font theme, my use case necessitates readability on phone screens. The new theme also helps guarantee readability in other challenging situations, like large auditoriums and/or small projectors.Some minor issues to deal with before this is ready to be merged:
dailyplanet
an acceptable name? It's a fun call back to the theme's name, but it isn't very descriptive. Then again, that issue might be mitigated in the future if we have documentation showing illustrations of each theme.dailyplanet
and leave it at that?Finally (and I'm not sure if this is the proper GitHub etiquette or I should open an Issue for these things), the research I wound up doing prior to creating this new font theme led me to the discovery of these two packages. I thought they might be of interest if you didn't already know of them:
metropolis
with using Greek symbols, since they feel so different from Fira Sans. While this is less of an issue when usingFira Sans Light
, it becomes especially noticeable if you're using thedailyplanet
font theme (Take a look at \sin(\theta) in the image above). Using thenewtxsf
package gives a much more pleasing match to my eye.Both of the above packages seem to be quite new (released after
mtheme
was posted), so I wanted to make sure I pointed them out.