Often electronic parts group in a single package. It would be a good idea to set up objects that allow for this. Some schematic capture programs simply draw several privative gates with correct pin numbers surround by a box. Some such as Texas Instruments do it as below,