0

I'm using org-reveal to make a slide presentation. Several of the reveal themes appear to force headings to be shown on the html slides with all letters in uppercase.

Instead, I'd like the case in the html slide to be the same as in the .org file. Is there a straightforward way to do this (ideally as a configuration option rather than a custom css file)?

2
  • What themes do that?
    – NickD
    Oct 12, 2021 at 13:13
  • Most, e.g. beige, black, moon. I think the only theme that doesn't is serif.
    – Matt Nolan
    Oct 12, 2021 at 14:05

1 Answer 1

0

Since the exporter does not change the case (at least in my simple experiments, there is no difference in the headings when I look at the HTML file), then it must be the JS or CSS that does that, so I suspect you will indeed have to modify the theme: I don't think you can do it with options on the Org mode side.

When I look into e.g. moon.css, I see this:

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  margin: 0 0 20px 0;
  color: #eee8d5;
  font-family: "League Gothic", Impact, sans-serif;
  line-height: 0.9em;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: none; }

I would try getting rid of that text-transform in the CSS file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.