Hello,
Just a couple of quick questions. Will you be making templates (or build in options to include them) that would have the title page and ToC in the vein of Tufte’s “The Visual Display of Quantitative Information”?
Also, I prefer numbered section headings, so I’ve enabled them. However, I can’t seem to find how to get (chapter number) and (chapter name) in the same line. I tried searching within tufte-common.def file but was unable to find anything. How would I go about modifying this?
Thank you for making this beautiful template available!
Theses, Books, Title pages ⇒ How do I get the chapter number and name on the same line?
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
NEW: TikZ book now 40% off at Amazon.com for a short time.
How do I get the chapter number and name on the same line?
Hi Filip,
No, I won’t be adding anything to this template myself. I suggest you contact the developers of the template here. If you would like to add this functionality to the template yourself I can incorporate it into the template if you send me the changes.
Regarding your question of putting the chapter number and title on the same line, first, enable chapter/section numbering with:
with this:
You can do something similar for sections and subsections if you like. Good luck!
Cheers,
Vel
No, I won’t be adding anything to this template myself. I suggest you contact the developers of the template here. If you would like to add this functionality to the template yourself I can incorporate it into the template if you send me the changes.
Regarding your question of putting the chapter number and title on the same line, first, enable chapter/section numbering with:
\setcounter{secnumdepth}{1}
then go to tufte-common.def
and replace:Code: Select all
\titleformat{\chapter}%
[display]% shape
{\relax\ifthenelse{\NOT\boolean{@tufte@symmetric}}{\begin{fullwidth}}{}}% format applied to label+text
{\itshape\huge\thechapter}% label
{0pt}% horizontal separation between label and title body
{\huge\rmfamily\itshape}% before the title body
[\ifthenelse{\NOT\boolean{@tufte@symmetric}}{\end{fullwidth}}{}]% after the title body
Code: Select all
\titleformat{\chapter}%
[block]% shape
{\relax\ifthenelse{\NOT\boolean{@tufte@symmetric}}{\begin{fullwidth}}{}}% format applied to label+text
{\itshape\huge\thechapter\hspace{10pt}}% label
{0pt}% horizontal separation between label and title body
{\huge\rmfamily\itshape}% before the title body
[\ifthenelse{\NOT\boolean{@tufte@symmetric}}{\end{fullwidth}}{}]% after the title body
Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Re: How do I get the chapter number and name on the same lin
Hi Vel,
Thanks for your reply, it was very helpful. Although, once I changed it, I realized the default style had been better. However, thanks to you, now I know how to change it, should the need arise.
As for the ToC, if I find the time to edit the default ToC, I will certainly let you know.
Thank you,
Filip.
Thanks for your reply, it was very helpful. Although, once I changed it, I realized the default style had been better. However, thanks to you, now I know how to change it, should the need arise.
As for the ToC, if I find the time to edit the default ToC, I will certainly let you know.
Thank you,
Filip.