Page 1 of 1

Font in diagrams

Posted: 17 Nov 2009 10:38
by vimira
How can I change the font for individuals at the head of a chart, for eg in upper case/ bold, to use as a heading? I know I can add a title in a text box, but I have enough of those elsewhere on my charts, & think it may look better in print this way.

Vimira

ID:4148

Font in diagrams

Posted: 17 Nov 2009 12:14
by PeterR
Vimira,
Jane may well be able to advise a better way, but I think you could edit the diagram text scheme to include an additional conditional font entry above the name. You would have to set a flag for the relevant 'header' individual(s) and specify that flag must be set for the new font to be active. The font itself could easily be bold and a larger size, but to get all capitals, you would have to find an all-caps font, depending what you have available on your PC.

Font in diagrams

Posted: 18 Nov 2009 12:01
by Jane
I am not sure it's better, but seeing as it took me an hour to work out here you go.

You can change fonts using a font change line so what you need to do is to condition the output on if the box is the Root, but there is not an option for this so you can use a function to work around this.

Replace the first line for Name on the text scheme with the following function

Code: Select all

=TextIf(Not(RecordId(%INDI%) = RecordId(Individual(['<root>']))),%INDI.NAME:FULL%,'')
Then add a font change line to the font you want and add another 'normal' Name line

Code: Select all

%INDI.NAME:FULL%
after the font line and condition it's output on the previous line being blank.

Out of interest you could use

Code: Select all

=TextIf(IsTrue(RecordId(%INDI%) = RecordId(Individual(['<root>']))),%INDI.NAME:FULL%,'')
Replacing the data reference at the end with the one you want to condition any output text on the fact it's the root box.

Font in diagrams

Posted: 18 Nov 2009 12:08
by Jane
Image

Font in diagrams

Posted: 18 Nov 2009 12:10
by Jane
I have just noticed this is in the V3 Issues, I suspect some of the functions I am using are V4 only

Font in diagrams

Posted: 21 Nov 2009 18:13
by vimira
Thanks both for advice - it all looks quite complicated - a bit like reprogramming to me, but I'll have a go at the suggestions.

Vimira