Superconductivity in the hexagonal-layered nanolaminates Ti2InC compound