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

latex_macro_single_optional_argument [2019/07/24 14:34]
60.240.96.191 created
latex_macro_single_optional_argument [2019/12/09 21:58] (current)
210.18.207.206
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.1563978858.txt.gz ยท Last modified: 2019/07/24 14:34 by 60.240.96.191