CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/styledcmd



Handle multiple versions for user-defined macros in


Run one of the following commands in order to generate the .sty file

pdflatex styledcmd.ins
xelatex styledcmd.ins
lualatex styledcmd.ins
platex styledcmd.ins

il your distribution is up to date all these options should be equivalent, I personally recommend to use lualatex but is only a personal preference.

Anyway once you've generated the .sty file you've to add to your distribution. In order to do it you have to know where your distribution stores all the user-installed packages, for example:


This file is part of Styledcmd.

Styledcmd is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Styledcmd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Styledcmd. If not, see https://www.gnu.org/licenses/.

Download the contents of this package in one zip archive (346.1k).

styledcmd – Handling multiple versions of user-defined macros

This package allows creating and maintaining different versions of the same command, in order to choose the best option for every document.

Home pagehttps://github.com/Loara/styledcmd
Bug trackerhttps://github.com/Loara/styledcmd/issues
LicensesGNU General Public License, version 3 or newer
Copyright2021 Paolo De Donato
MaintainerPaolo De Donato
Contained inTeX Live as styledcmd
MiKTeX as styledcmd
TopicsDefining Macro
Guest Book Sitemap Contact Contact Author