Synthesis and liquid-crystalline properties of methacrylate monomers carrying a p-terphenyl laterally substituted with one or two cyano groups