Slices of the Takagi function