is there a function to apper text in bold
Moderators: chulett, rschirm, roy
is there a function to apper text in bold
Hi, In transformer am writing down a text, but i want some of the strings of teh text to be bold? is there a fucntion to taht?
sameer
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
There is only a single typeface choice in the client tools.
If you know the target's technique for handling "bold on" and "bold off" you could include those in the generating expression, for example
svBoldON <-- Char(27) : "[5"
svBoldOFF <-- Char(27) : "[0"
Expression: "I am very " : svBoldON : "emphatic" : svBoldOFF : " about this".
But beware that such sequences are very terminal/printer specific.
A better, though more complex, approach would be to get the values out of something like a termcap database.
If you know the target's technique for handling "bold on" and "bold off" you could include those in the generating expression, for example
svBoldON <-- Char(27) : "[5"
svBoldOFF <-- Char(27) : "[0"
Expression: "I am very " : svBoldON : "emphatic" : svBoldOFF : " about this".
But beware that such sequences are very terminal/printer specific.
A better, though more complex, approach would be to get the values out of something like a termcap database.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.