public class NewCommandMacro extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static HashMap<String,String> |
macrocode |
protected static HashMap<String,String> |
macroreplacement |
| Constructor and Description |
|---|
NewCommandMacro() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addNewCommand(String name,
String code,
int nbargs) |
static void |
addNewCommand(String name,
String code,
int nbargs,
String def) |
static void |
addReNewCommand(String name,
String code,
int nbargs) |
String |
executeMacro(TeXParser tp,
String[] args) |
static boolean |
isMacro(String name) |
public static void addNewCommand(String name, String code, int nbargs) throws ParseException
ParseExceptionpublic static void addNewCommand(String name, String code, int nbargs, String def) throws ParseException
ParseExceptionpublic static boolean isMacro(String name)
Copyright © 2014–2018. All rights reserved.