this post was submitted on 17 Jun 2023
4 points (100.0% liked)

LaTeX

246 readers
1 users here now

A community for the LaTeX typesetting language.

founded 2 years ago
MODERATORS
 

I have recently found that I don't have to alter my base .tex files when I write a report, take notes etc like I use to. I'd like to upload them on a repo since at this point I think they might actually be of help to somebody.

I have been using LaTeX for a few years started on Lyx, moved on to Overleaf and finally I now use Texmaker. All this to say I am not overly familiar with styles/classes etc. Is there any standard practices I sould know when sharing a template? Do i need to seperate the preable for example? Is there anything like a requirements.txt file for the packages? Or is a single .tex file the norm? I'd like to have something usable up for anyone that might run into the same issues.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 years ago

I am thinking of just just having a repository with the "templates" I find myself using, so not sharing on Overlead right now. What seems a bit off to me is that I would expext style files to drastically impact the appearance of the document whereas most of what packages I have used, mainly, adds functionality that may be useful in math/cs/statistics. Or in some cases makes using my native language easier with some latin focused packages.

Right now I have mainly what you describe as gutted files with comments. If I understand correctly, typically I would to use a .sty file in which I would I just move everything over, ideally with \RequirePakcage{foopack}[version used]. Thanks fot taking the time to write this out, I had read the overleaf intro but dismissed most of it as more package centric.