Q-Lingo for Linebreak

294 views
Skip to first unread message

tay...@benefitz.co.nz

unread,
Sep 30, 2015, 7:56:40 PM9/30/15
to XMPie Interest Group
Hello have run into this a couple of times and wondering what the resolve would be.

Part of a business card in indesign that looks like this with supressed trailing spaces on empty content activated.

M +64 21 123 1234
T +64 9 123 1234

e...@example.co.nz


And in the plan for both of those is, ( Mobile & Telephone )
if ( @{varMobile} <> "")
{
"M +64 " & @{varMobile}
}
else
{
""
}

When there is no Telephone present it appears to be deleting the line break with it (I'm guessing) so it looks like this

M +64 21 123 1234
e...@example.co.nz

But i want

M +64 21 123 1234

e...@example.co.nz

How would i go about this? Some way to force a line break? Is there any q-lingo for cold hard linebreak? E.G

if ( @{varTelephone} <> "")
{
"M +64 " & @{varTelephone}
}
else
{
"(LINEBREAK)"
}


couch

unread,
Sep 30, 2015, 8:13:50 PM9/30/15
to XMPie Interest Group
You can use:

"\t"   for a tab
"\r"   for a return
"\n"   for a new line


Reply all
Reply to author
Forward
0 new messages