$Num~/[0-3][0-9][0-9]/ : "\\color{Blue}" : $Num : $Sec # Blue for undergrad course/section nos. $Num~/[4-9][0-9][0-9]/ : "\\color{Red}" : $Num : $Sec # Red for graduate course/section nos. $Loc~/WTC/ : "\\bf" # Boldface for courses located at WTC $Loc~/LSC/ : "\\rm" # Roman for courses located at LSC 1 : "\\sf" # Sans serif for all other courses # Define consolidation conditions and actions keY=$daY$Beg$End$Loc$Type$Cred$Instr if (keY!=prevkeY) joiN=""; else joiN=joiN"\\\\" joiN=joiN$Num"\\_\\node{"codeplaiN$daY"}{"$Sec"}" corE="\\\\"$Type"("$Cred")\\\\"$Instr # Consolidated courses that are crosslisted grad/undergrad are Magenta # (additive combination of red and blue) beyond course and section no. joiN~/[4-9][0-9][0-9]}*\\_\\node{/&&joiN~/[0-3][0-9][0-9]}*\\_\\node{/ : "\\color{Magenta}" # Red/Blue for other entries of courses that are solely grad/undergrad $Num~/[4-9][0-9][0-9]/ : "\\color{Red}" $Num~/[0-3][0-9][0-9]/ : "\\color{Blue}" # Slightly larger than default size type for plot ploT==1 : "\\scriptsize"