Hamza Abbad Hamza Abbad - 5 months ago 23
LaTeX Question

How can I redefine a starred LaTeX command that take parameters?

I am trying to redefine

command like this


These instructions were working before I start using the starred version
, but now I get compilation errors. I have searched a lot and found some guides (like this one) and answers but I can't get my code to work. Please tell me how I can edit this code to make it work, I have seen a lot of examples but I couldn't figure the right way to redefine starred commands.


Finally, I have found the solution from this old topic. My working code is now :