Skip to content
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

Subsection header bigger than section header #50

Closed
simoncozens opened this issue Apr 15, 2020 · 2 comments
Closed

Subsection header bigger than section header #50

simoncozens opened this issue Apr 15, 2020 · 2 comments
Assignees
Labels

Comments

@simoncozens
Copy link
Member

My generated .sil file has:

\Header[id=potential-solutions,level=1,type=section]{Potential solutions}

\Header[id=business-as-mission,level=2,type=subsection]{Business as Mission}

The output:

Screenshot 2020-04-15 at 08 06 31

@alerque alerque added the bug label Apr 15, 2020
@alerque alerque self-assigned this Apr 15, 2020
@alerque
Copy link
Member

alerque commented Apr 17, 2020

Wow. I looked at some of my projects and most of them have custom templates, so I wasn't giving the default CaSILE layout template much of a workout.

I rehashed the font sizes across the default template using bits I liked best from some other projects. In the end more than just the header levels got fixed, the title / halftitle / chapter font settings are a little bit more flexible now so you can tweak the relative size of from the font style functions while still displaying some things at different scales (e.g. the title page and halftitle page use the same font for the title, but the halftitle page will be smaller. Both can be changed on a relative basis from cabook:font:title.)

Let me know if that works for you. It would still be nice to overhaul the entire default template with a full on book design, but at least the header levels should have sane descending sizes now.

@simoncozens
Copy link
Member Author

Yes, that's nice, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants