Omni Systems, Inc. |  | Mif2Go User's Guide, Version 55 |  |  |  |  |

> 28 Working with macros > 28.2 Accessing Mif2Go macro libraries > 28.2.2 Modifying Mif2Go-supplied macro definitions

### 28.2.2 Modifying Mif2Go-supplied macro definitions

You can modify the macro definitions included in the macro libraries supplied with your Mif2Go distribution, located in %OMSYSHOME%\m2g\macros. However, if you change anything in those files, whenever you update Mif2Go you will need to run a file comparison program to see if anything has been added or changed by Omni Systems developers; see §1.3.8 Obtain a file comparison tool (optional).

An alternative is to create your own macro library file and copy into it any macros you want to alter; see §28.2.4 Including macro definitions in your own macro library.

One sample macro is a proposed definition for a spacer for indenting graphics and tables. A macro variable is suggested for use with this macro (see §28.3 Using macro variables):

[Spacer]

<img src="1p.gif" height="10" width="<$$spacerwidth>" alt="[spacer]">

[MacroVariables]

spacerwidth=80

You can copy these definitions into your own macro library file, and modify them as you wish.

> 28 Working with macros > 28.2 Accessing Mif2Go macro libraries > 28.2.2 Modifying Mif2Go-supplied macro definitions

| Mif2Go User's Guide: 28.2.1 Understanding Mif2Go-supplied macro libraries |  | Mif2Go User's Guide: 28.2.3 Storing a macro definition in a separate file |