How do I insert a double underline in Mathematica?
Can I make it the default to put it on the last line of a "TraditionalForm"?
|
|
|||
|
|
|
I don't think that Mathematica can do double underlined. It's not one of the font variations that it supports. What you can do is use an iterated underscript. Select the text that you want and press Ctrl-4 (Ctrl-= in versions < 7) then enter the underscore character
But this is not what you probably want. I'm guessing that the second part of your question means that you have some long TraditionalForm outputs and you want the last line underlined to indicate/emphasize the end? This is tricky for a couple of reasons.
Firstly, I don't think that there's any (easy) way of modifying the typesetting procedure to detect and style the final line. Also, the wordwrapping is probably independent of what You could put a CellFrame on the bottom of the output cells (either manually, or by modifying the "Output" style or by making your own "FramedOutput" cell style that you can use whenever you want), but this will not distinguish between To modify an existing "Output" cell, select its bracket and press Ctrl-Shift-O to open the option inspector. Then go to the Cell > CellFrame section and set the CellFrame to
To modify the stylesheet of a notebook go menu item Format > Edit Stylesheet. Click on the parent style sheet "Default.nb" and copy the Output subsection (from the "Styles for Input and Output Cells" section) into the stylesheet of the notebook you're working on. Then select the output subsection's cell bracket and use the option inspector (or modify the Cell Expression) to change the CellFrame as in the example above. Now all output cells will have a line beneath them. You can modify the frame styling and size to suit your preferences. Hope that helps! |
|||

