$Num~/[0-3][0-9][0-9]/&&$Type~/Lec/ : "\\color{Blue}" : $Num : $Sec # Blue for undergrad course/section nos. meeting in lecture rooms. $Num~/[0-3][0-9][0-9]/&&$Type~/Lab/ : "\\color{CornflowerBlue}" : $Num : $Sec # CornflowerBlue for undergrad course/section nos. meeting in labs. $Num~/[4-9][0-9][0-9]/&&$Type~/Lec/ : "\\color{Red}" : $Num : $Sec # Blue for undergrad course/section nos. meeting in lecture rooms. $Num~/[4-9][0-9][0-9]/&&$Type~/Lab/ : "\\color{CarnationPink}" : $Num : $Sec # CarnationPink for undergrad course/section nos. meeting in labs. $Loc~/WTC/ : "\\rm" # Roman for courses located at WTC $Loc~/LSC/ : "\\bf" # Boldface 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 # After course and section no., consolidated courses that are crosslisted grad/undergrad are PineGreen and # Forest Green for lectures and labs. joiN~/[4-9][0-9][0-9]}*\\_\\node{/&&joiN~/[0-3][0-9][0-9]}*\\_\\node{/&&$Type~/Lec/ : "\\color{PineGreen}" joiN~/[4-9][0-9][0-9]}*\\_\\node{/&&joiN~/[0-3][0-9][0-9]}*\\_\\node{/&&$Type~/Lab/ : "\\color{ForestGreen}" # Colors as at top of file for other entries of courses that are solely grad/undergrad $Num~/[0-3][0-9][0-9]/&&$Type~/Lec/ : "\\color{Blue}" $Num~/[0-3][0-9][0-9]/&&$Type~/Lab/ : "\\color{CornflowerBlue}" $Num~/[4-9][0-9][0-9]/&&$Type~/Lec/ : "\\color{Red}" $Num~/[4-9][0-9][0-9]/&&$Type~/Lab/ : "\\color{CarnationPink}" # Slightly larger than default size type for plot ploT==1 : "\\scriptsize"