I want to create my own latex package with a .sty file in it, and install it via tlmgr command.
I've looked it up in Google, and found only this page https://tug.org/texlive/pkgcontrib.html, where I found no detailed procedure to create a new package.
Is there any document about this kind of things?
/usr/local/texlive/xxxx/texmf-local/tex/latexand runsudo mktexlsrin the terminal. Then you can invoke the package file in your main document directly. – Stephen Jul 25 '23 at 06:45tlmgr. – OrthoPole Jul 26 '23 at 08:01