$Num~/[0-3][0-9][0-9]/ : "\\rm" : $Num : $Sec # Roman type for undergrad course/section numbers $Num~/[4-9][0-9][0-9]/ : "\\bf" : $Num : $Sec # Boldface for graduate course/section numbers # Courses colored by location and type. More specific tests first. $Loc$Type=="WTCLab" : "\\color{CornflowerBlue}" $Loc=="WTC" : "\\color{Blue}" $Loc$Type=="LSCLab" : "\\color{CarnationPink}" $Loc=="LSC" : "\\color{Red}" $Loc=="ONL" : "\\color{ForestGreen}" $Loc=="X" : "\\color{PineGreen}" # 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 get sans # serif type beyond course and section number. joiN~/[4-9][0-9][0-9]}*\\_\\node{/&&joiN~/[0-3][0-9][0-9]}*\\_\\node{/ : "\\sf" # Boldface/Roman for other entries of courses that are solely grad/undergrad $Num~/[4-9][0-9][0-9]/ : "\\bf" $Num~/[0-3][0-9][0-9]/ : "\\rm" # Slightly larger than default size type for plot ploT==1 : "\\scriptsize"