I wanted to change the style of one single folder. That is : all pages in the Research folder would be formatted in a certain way, in a style that I created myself. Because for notes taking, the « No Style » default option is unpractical.
I don’t know if it’s possible to automatically apply a style to any new document added to a particular folder, like the Research folder ? (for now I dot it manually for each file)
You can do that via a document template.
And you can set the folder to always use a specific document template when creating a new document/child, triggered by the normal New Text function – via menu or shortcut.
⮚ Select your folder:
. . . . . . .
The catch is that the document template needs to be created while the default formatting is as you want it. In the current case that would mean changing it in the options or for your project directly. Once the template is created, you can select text that is formatted to your previous default formatting, and reapply that as the default formatting.
It works on paper, but it can cause a certain level of anxiety.
What I personnaly would do is to create a dummy project.
Add a new document and format it as you want your template.
Set that as the default formatting for that dummy project. (Not in the options, in project settings.)
Create a new blank document. (That blank document will be your new template.)
Drag that document as your template in the real project. (-Binder to binder, projects next to each other, sharing the screen.-)
Put it in your templates folder (binder) and assign it as the default template to be used by your specific folder, as I have shown above.
This new template will spawn new documents for which “no style” will be formatted as you want it for that one folder. If you’ve set your folder to properly use that as a template for new documents, as shown above, any time you are within that folder and create a new document, that’s what you’ll get.
You will later have to tweak a set of sectiontype/sectionlayout so that you can preserve that formatting at compile.
Those documents will have to go through a different “no style = this formatting” at compile, otherwise they’ll come out formatted just like any other documents in your project.
. . . . . . . .
The other option is to simply use styles.
But whatever simplicity you’d gain now you’d pay for at compile. (And it is not 1:1)
. . . . . . .
P.S. The way it looks in the editor is for you only. If it is not a problem, skip all of the above except the “diffrerent set of sectiontype/sectionlayout” that you will later use to that avail. (In short, you can make it look just like you want at compile. If it is not a problem visually at the moment, you could opt to simply handle it later, comes compile.)
What I did is create a template in the Template Sheets folder with the style I want applied to some blank lines. Then, I did what you indicated to the Research folder (Document > Default Template…) and it works like that ! Any new document in that folder now has the style I wanted.
I’m not sure why I would need to create a dummy project.
NB : these document do not need to be compiled later, as they are not part of the final document. They are only research material or notes to organise my thinking.