-
Notifications
You must be signed in to change notification settings - Fork 3
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
Options to show/hide particular sections/environment types #27
Comments
I like the idea of adding a class to indicate that the type should be On Wed, 6 Aug 2014, Michael DuBois wrote:
|
K, shall I add a class for all three (i.e. And do you prefer that the class is added to the section/environment or to the heading itself? |
Some people may want to suppress the word "Subsection" but not the word "Theorem" hide-title seems unlikely to be used, because the title is optional so why would you put one in and then hide it? The others are reasonable. And I won't object if you include hide-title for completeness. But why have a specifically named hide-X instead of a class="hide" which lets you hide anything? |
I've wondered the same thing about the section types to be honest. What was the reason for always including them in the HTML again? Screen readers? SEO? Here are a couple of reasons a class like
I'll leave it to your judgement though. |
I agree that .hide is not useful because it would get overwritten. You want the word "Section" in the HTML for screen readers. And some people (like me, |
FWIW, I have been showing/hiding these according to how LaTeX does it. (I think.) I'm fine with a .hide-X suite and I can toss them in as desired. |
This is in develop now. You will now have to add |
What would be the most intuitive/flexible way to specify when a section/environment type should be shown or hidden?
The first thing that comes to my mind is adding a class directly to the environment. So if you wanted the type to show, it would be
<section class="section">
and if you didn't want it to show, it would be<section class="section hide-type">
. I like this becauseBut I want to hear from you guys about what will be intuitive for you.
The text was updated successfully, but these errors were encountered: