[texhax] TeX underline & \hfill question

Amber K skubesch at yahoo.com
Sun Dec 4 07:40:07 CET 2011


When I create lesson plans, I like to make handouts with lines that fill the page as well a solutions keys where I put text on the lines.  I've been manually adjusting the widtch value in inches one line at a time until they line up, and I'm really hoping there is an easier way.  
Right now, if the handout looks like: 
Conclusion: \hrulefill
I am typing this for the key:


Conclusion: \underline{\makebox[4.94in][s]{\color{red}{Answers will vary but should be based on evidence collected}{\hfill}}}
Where the 4.94in part was the value I needed to manually adjust.  When I want to have everything underlined, I found a suggestion online to do something like this: 

\underline{\makebox[5.7in][s]{Choice 2: \color{red}{Students should select a second choice from one of the five options below. They }{\hfill}}}
This works extremely well for those cases, but I'm hoping there is way to do something like that without having to either have everything underlined or nothing at all.  I searched for a way to remove underlining from part of the command (like \textnormal) but I haven't found anything to work for removing underlining.  Any suggestion would be very greatly appreciated.
Thanks,Amber
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20111203/4ef07066/attachment.html>


More information about the texhax mailing list