{package-writing} is about writing packages. If your question is about choosing, installing, or using packages, choose {package} instead.

learn more… | top users | synonyms

6
votes
0answers
269 views

Appending options to hyperref

I am trying to append options to hyperref inside a package (say append.sty) I'm writing. More precisely, in the package I load the hyperref package and I tune it: ...
3
votes
0answers
41 views

Tikz version history information

I'm working on a package that works on top of tikz. It needs certain libraries (the tikz libraries quotes, positioning and intersections and the pgf library arrows.meta). Is there any way I can ...
3
votes
0answers
422 views

load tikz library from relative path

I recently externalized some of my often used TikZ commands into a library. This is as simple as writing the commands to a dedicated file and naming it tikzlibraryname.code.tex. Then it can be ...
2
votes
0answers
32 views

List of package requests?

I have recently entered the realm of package development and uploaded my first package to CTAN. Is there a master crowd-sourced list somewhere of issues/abilities that people would like to see ...
2
votes
0answers
147 views

Throw error if font is not defined

I need to throw an error, should a certain font not be installed. I have a font in a subfolder: /font/NinjaFont.ttf. This must be installed via certain commands (not important for this - but here: ...
2
votes
0answers
62 views

Creating an .sty file that is equivalent to \input{file}?

I'm trying to get the flashcard program Anki to accept my LaTeX shortcuts that I always include in the preamble through \input{...}. It seems like the software has now forbidden this practice as you ...
2
votes
0answers
52 views

Installation of LaTeX package: fetch external resources

I am writing a LaTeX class and aim to bundle it as .dtx. My problem is that the class uses graphics that are available for download on the internet, but the license doesn't allow me to spread them ...
2
votes
0answers
72 views

Is there a `sty2dtx` for LaTeX3 syntax?

sty2dtx is a CLI tool to convert a commented style file into a Documented TeX file (dtx). It was written and works wonderfully for LaTeX2e packages, but expl3 offers a lot of happy times for package ...
1
vote
0answers
87 views

Writing modular classes

As an OOP programmer, I am very attracted to the idea of making separate files for independent features within a class definition, where each feature I feel is too long to be included inline in the ...
1
vote
0answers
28 views

standalone: subprambles inverse

When splitting a document with the standalone class and package, the option subpreambles causes the main document to include all the preambles of the sub-files. The other way around is more difficult. ...
1
vote
0answers
208 views

How to make a package using sagetex and sage-commands

I am trying to make my own package building on sagetex. It starts with \RequirePackage{sagetex} and I want it to execute some 'sagesilent' code as for instance \newcommand{\loadsagefunction}{ ...
0
votes
0answers
74 views

ComplexTable of Contents

Id like to create a table structure within my document based upon a \newlesson command for example. \newcommand{\newlesson}[1]{ \newpage \addtocounter{LessonNumber}{1}\subsubsection{{Lesson ...