I'm trying to use NumberLinePlot and Manipulate to visualize how the interval $[t-1, t] \cap [0, 1]$ changes as the value of $t$ changes. My code is:
Manipulate[NumberLinePlot[{Interval[{0, 1}], Interval[{t - 1, t}]}, PlotRange -> {-3, 3}], {t, -3, 3}]
which gives a result that looks like this: My question is: how can I make Mathematica tell me explicitly what the intersection is? For example, with the slider positioned as in the picture, I would want it to print something like $[0, 0.6]$