* Font in diagrams

Older V3 Queries please post for any version in the General Forum
Locked
avatar
vimira
Platinum
Posts: 40
Joined: 28 Nov 2008 16:43
Family Historian: None

Font in diagrams

Post by vimira » 17 Nov 2009 10:38

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

User avatar
PeterR
Megastar
Posts: 1129
Joined: 10 Jul 2006 16:55
Family Historian: V7
Location: Northumberland, UK

Font in diagrams

Post by PeterR » 17 Nov 2009 12:14

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.
Peter Richmond (researching Richmond, Bulman, Martin, Driscoll, Baxter, Hall, Dales, Tyrer)

User avatar
Jane
Site Admin
Posts: 8441
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

Font in diagrams

Post by Jane » 18 Nov 2009 12:01

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.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."

User avatar
Jane
Site Admin
Posts: 8441
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

Font in diagrams

Post by Jane » 18 Nov 2009 12:08

Image
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."

User avatar
Jane
Site Admin
Posts: 8441
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

Font in diagrams

Post by Jane » 18 Nov 2009 12:10

I have just noticed this is in the V3 Issues, I suspect some of the functions I am using are V4 only
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."

avatar
vimira
Platinum
Posts: 40
Joined: 28 Nov 2008 16:43
Family Historian: None

Font in diagrams

Post by vimira » 21 Nov 2009 18:13

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

Locked