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

Changing chapter title position #52

Closed
ulyngs opened this issue May 22, 2022 · 1 comment
Closed

Changing chapter title position #52

ulyngs opened this issue May 22, 2022 · 1 comment

Comments

@ulyngs
Copy link
Owner

ulyngs commented May 22, 2022

From haohua:

Can I change the chapter title position from the "Top Right" corner with a big number, to the "Top Left" corner?

@ulyngs
Copy link
Owner Author

ulyngs commented May 22, 2022

This is addressed in #8

Solution: add the following to template.tex after \usepackage{titlesec}:

\titleformat{\chapter}[display]
  { }
  {\flushleft { \fontsize{60}{60}\selectfont  \thechapter }} 
  {10 pt} % spacing before chapter title
  { \huge } % command after chapter number (this will make the chapter title size huge) 

This will give you

image

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

No branches or pull requests

1 participant