‎2007 May 17 2:08 PM
Hi Experts,
We have developed a script which contains texts in different FONT SIZES.
I have created a paragraph format wiht COURIER and font size as 6 and applied it to the particular window.
Now my problem is we are not getting the output as required.
The output is getting displayed in a single font.
<b>How to change a font size for a particular line in SAP Script</b>
Thanks
AK
‎2007 May 17 7:47 PM
Hi,
You can have different font on the same line by defining a character format.
For example B for bold text and U for Underline.
In your SAPScript apply like this :
<U>Underline Text</> <B>Bold Text</>
Regards,
Bhaskar
‎2007 May 17 2:14 PM
Hi,
Define different character formats & code for different lines.
e.g. <C1> line1....</>
<C2> line2.....</>
Hope this helps.
Reward if helpful.
Regards,
Sipra
‎2007 May 17 2:19 PM
Hi,
In the Script Editor,
write like
/:P1 And the corresponding text here of P1 paragraph format.
/:P2 And the corresponding text here of P2 paragraph format.
.
.
.
That is in single window you can have as many paragraph formats as you needed.
Regards,
Rama chary.Pammi
‎2007 May 17 2:20 PM
hey kumar
if u want to display different font size for aline ,create a new paragraph with ur required font family and size for that clk on font button at paragraph formats.
give that paragraph name at text editor.
like
z1 :'type ur text '
reward points
kiran
‎2007 May 17 2:32 PM
Hi Kumar,
goto t-code SMARTSTYLES
create a character format with font size and font name as per ur requirement.
in Scripts: character format tab use this character format.
and in command line editor
P1 <C1> &FLD1&</>
P1 <C2> &FLD2&</>
where P1, P2: paragraph format
and C1, C2 : Character format ( created in SMARTSTYLES)
Regards
SAB
‎2007 May 17 7:47 PM
Hi,
You can have different font on the same line by defining a character format.
For example B for bold text and U for Underline.
In your SAPScript apply like this :
<U>Underline Text</> <B>Bold Text</>
Regards,
Bhaskar
‎2007 May 17 8:03 PM
Look at Paragraph format and charcter format in se71 transaction code.
if they are using standard text in layout then se72 transaction