User Tools

Site Tools


latex_macro_single_optional_argument

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
latex_macro_single_optional_argument [2019/07/24 14:34]
60.240.96.191 created
latex_macro_single_optional_argument [2021/02/02 01:24] (current)
Line 1: Line 1:
 ====== Single Optional Argument for a LaTeX Macro ====== ====== Single Optional Argument for a LaTeX Macro ======
  
-I recently ​need to create a new macro for a User manual. The macro was to output a defined character, but in a colour specified by the author. Therefore, I needed a macro that accepted a single optional argument.+I recently ​needed ​to create a new macro for a User manual. The macro was to output a defined character, but in a colour specified by the author. Therefore, I needed a macro that accepted a single optional argument.
  
 After doing a lot of searching around, I could only find advice on two or more arguments. I needed this: After doing a lot of searching around, I could only find advice on two or more arguments. I needed this:
latex_macro_single_optional_argument.txt ยท Last modified: 2021/02/02 01:24 (external edit)