Tagged Questions
3
votes
1answer
43 views
Passing arguments to a .sty-file - a specific case
After having plowed through (i.e. read and trimmed down the given examples in an attempt to apply them to my case) these documentations and guides:
Implementing key-value input: An introduction
The ...
5
votes
1answer
54 views
How to add optional arguments to a package I'm writing?
I want to build a package that can optionally typeset line in double-space.
Something like this:
\ProvidePackage{mypackage}
% actual functional codes
Then I can use the package in this way:
...
18
votes
1answer
1k views
How can I make a package that accepts an optional argument?
I am writing a package that has a bunch of values that are going to be the same most of the time, but that I might want to change in select cases. I want to do this by giving this package an optional ...