I want to recreate my current makros to work in every document. Currently I am working on the task, if a package is loaded, the command will be provided as desired.
Look at the following MWE, which ...

I made the following code to add a revision number to my latex header. I rely on a .txt file, which is assumed to
exist in the same directory.
always have a number. Anything else will probably make ...

I refer to my question and the solutions in String comparison in \ifthenelse I hope I can make my question clear enough, I am not a technician.
I use a kind of database file (simple text file) with ...

I'm using Spundun's method for automating inputing the entries in a diary, in turn inspired by Peter Grill (Using LaTeX to keep a diary), and I would like to add section dividers by year. This should ...

I am using the ifthen package for some conditional formatting. I am storing state in some booleans, but it seems that there is an issue with lexical scope. In particular, when a boolean is set within ...

In a bigger context, I need to check whether an integer parameter is contained in a set of numbers. I decided to encode sets as strings; elements are separated by !. I don't know whether this is the ...

In the following code, I have one problem with the test \ifthenelse{\equal{\pageref{#1}}{\thepage}}{...}{...}. Why doesn't this detect the equality hoped if the reference is in the same page where it ...