BBE Posted August 15, 2011 Share Posted August 15, 2011 I am looking for a way to underline a variable field. I need to have control over the line properties such as distance from the text, line weight and so on. The width of the line needs to flex with the width of the text in the variable field. Anybody have any ideas how to do this? Thanks. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted August 15, 2011 Share Posted August 15, 2011 You can simply click the "I" button on the Variable Text Editor dialog to underline the selection, or output a <u> tag from a rule. However, you can't control the position or weight of the underline. Although you may be able to do some tricks with table cell borders and text measurement, depending on how the underlined text flows with other text. Quote Link to comment Share on other sites More sharing options...
GreggRusson Posted August 29, 2013 Share Posted August 29, 2013 I have also tried to find work-arounds for the underling placement and thickness. A recent problem was underlines and superscripts on date day postfixes (23rd, 1st, 17th etc...). The client wants a phrase with the superscripts included to be underlined as well. Unlike most applications, when FP superscripts, and it is underlined, the underline is also superscripted... not good. Especially when the paragraph contains variables. The only work-around I could come up with is attached. It uses 2 text boxes. The first is the 'top' layer, which contains one paragraph with a variable (first name) and part of the text underlined... but NOT the superscriped part. Then made a copy of this text box and called it 'underlined layer'. The key was changing the font color of everthing but the underline at the superscript portion to white and making it the bottom layer. Seems to work. Thanks to all the regulars and hope this helps someone else in a similar situation. Greggtest_Underline.pdftest.txt Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.