Handle multiple versions for user-defined macros in LaTeX
Run one of the following commands in order to generate the
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 TeX distribution. In order to do it you have to know where your distribution stores all the user-installed packages, for example:
- if you use
MiKTeXyou can follow these steps: https://tex.stackexchange.com/questions/2063/how-can-i-manually-install-a-package-on-miktex-windows
- instead if you have
TeXLiveon Linux system go inside the
styledcmdsubfolder and move in the preceding file.
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 (371.2k).
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. This includes expandable and protected commands.
|Licenses||GNU General Public License, version 3 or newer|
|Copyright||2021–2022 Paolo De Donato|
|Maintainer||Paolo De Donato|
|Contained in||TeX Live as styledcmd|
MiKTeX as styledcmd