Search found 2 matches

by estirodri
Tue Oct 19, 2010 1:09 am
Forum: General
Topic: Parsing through arguments in a macro
Replies: 1
Views: 1103

Parsing through arguments in a macro

Hi Everyone:

I modified the if statements so they make more sense and so they are more readable. Here is the code:


\documentclass[11pt]{article}
\usepackage{ifthen}

%%%%%%%%%%%%%%%%%%%%%% Begin macro definition %%%%%%%%%%%%%%%%%%%%%
\def\macrotesting#1{\getPairs#1}
\def\getPairs#1-#2,#3 ...
by estirodri
Tue Oct 19, 2010 12:30 am
Forum: General
Topic: Parsing through arguments in a macro
Replies: 1
Views: 1103

Parsing through arguments in a macro

Hi Everyone:

I am new to this forum, and obviously a first time poster. I have used Latex for a while, but generally just for typesetting easily done documents. However, I am writing a macro (first time as well) where I need to send pairs of arguments. I know there is a limit of nine for the number ...