Following an answer on my previous question about creating a default preamble, I tried to create a custom template in TexStudio using the commands file
-->make template
.
Even though the template is saved in .config/template subfolder (I am using Ubuntu 14.04), I cannot load it by using the commands file
-->new from template
.
In other words, TexStudio finds only default templates (article, book, koma-script, etc).
So my question is how to say to TexStudio to load my custom template?
~/.config/texstudio/templates/user
and should be onetemplate_yourtemplate.tex
and onetemplate_yourtemplate.json
. – Fran Dec 23 '15 at 10:39template_yourtemplate.json
and anothertemplate_yourtemplate.sty
. I don't know if.sty
causes the problem. I will try to convert it in.tex
file – Yorgos Dec 23 '15 at 10:46.sty
format caused the problem. – Yorgos Dec 23 '15 at 10:52.sty
and.tex
files that may cause problems for someone else. if a file contains any command name in which an@
sign appears, the.sty
file will automatically recognize it, but in a.tex
file, the affected code must be surrounded by\makeatletter ... \makeatother
to be handled properly. so, in general,.tex
and.sty
files are not interchangeable. – barbara beeton Dec 23 '15 at 14:59