i always use tikz anyway, so i can as well use it for something like this:

\tikz[baseline=(start)]\draw (0,0) coordinate (start) edge[label=below:Your Name here] (4cm,0);

untested, tell me if it doesn’t work.

it should do the following: name a coordinate “start” and draw a line horizontally 3cm with “
Your Name here” as label below.