I want to make a few changes to the styling of the document-class tufte-book - Change the headings typeface, customize section numbering, bibliography style etc.
As correctly stated in this answer, one can achieve that by changing the definitions file inside tufte-common.def.
I made the desired changes to this file, and explicitly refered to the changes.
It worked perfect when the document class was tufte-handout, but not tufte-book.
Why?
Suppose my project structure is as follows:
root folder
├ main.tex
├ latexmkrc
└───figures
| │ figure01
│ │ figure02
│ │ figure03
└───template
│ └───tufte
│ │ │ tufte-book.cls
│ │ │ tufte.bst
│ │ │ tufte-handout.cls
│ │ │ tufte-common.def
Following this, I created a new latexmkrc file that contains the following information:
$ENV{'TEXINPUTS'}='./template/tufte//:' . $ENV{'TEXINPUTS'};
$ENV{'BSTINPUTS'}='./template/tufte//:' . $ENV{'BSTINPUTS'};
So we now search the ./template/tufte/ folder first before searching the system TEXINPUTS to locate package files.
What changes should be amended so that what I propose here works.
tufte-common.defdirectly, you can save your changes in a new file and load it explicitly or you can even make the changes in your document. – DG' Nov 23 '20 at 19:48tufte-latexor you leave the name as it is and remove the originaltufte-latexfrom your installation. I'd recommend the first. – DG' Nov 24 '20 at 16:01