* How to underline Given Name Used on Diagram

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
avatar
psinacio
Diamond
Posts: 51
Joined: 11 Jun 2012 02:17
Family Historian: V6

How to underline Given Name Used on Diagram

Post by psinacio » 24 Jun 2017 00:49

Hello Everyone.

I am working hard to improve my Diagrams on Family Historian adding Test Scheme, backgrounds, etc.

But I am not getting one important thing for me.
In Germany it is very usual for people to receive many given names.
But only one of them as the actual given name used during their lifes.
So Johann Wilhelm Friedrich Schmitt could be konly know as Wihelm during his life.
To make this clear genealogists usually add a underline to the Wilhelm keeping the bapstim full name.

How can I add this underline to Names in Diagrams?
As a rule I always add full name as "Primary Name": Johann Wilhelm Friedrich Schmitt
And in the "Given Name Used": Willhelm
Can I create a formula (logic) to search for this "Given Namen" and underline it in Diagrams?
I manage so far to check if there is a Given Name used. If so it is displayed first, than I add the surname after it.
And on the next line I add full name. It looks terrible in my opinion... :?
I really would appreciate underlining the Given Used Name within the Full Primary Name...

Thanks a lot ;)
Family Historian Version 6

User avatar
LornaCraig
Megastar
Posts: 2996
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: How to underline Given Name Used on Diagram

Post by LornaCraig » 24 Jun 2017 11:44

I have moved this from the General forum to the General Usage forum, because the General forum is for discussions of matters not directly connected with Family Historian.

Unfortunately I don’t think it is possible to selectively underline a name like that. (Someone else might come up with an ingenious solution!)

I use a text scheme in which the Given Name Used is shown in brackets on the line below the full name, as shown below. The code for this is (%INDI.NAME._USED%)
given name.JPG
given name.JPG (11.71 KiB) Viewed 5589 times
Another possibility is to enter the Given name Used in capital letters to make it stand out, but then of course it would appear in capitals throughout reports and in all other contexts.
Lorna

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: How to underline Given Name Used on Diagram

Post by tatewise » 24 Jun 2017 12:14

You can underline specific text in a Text Scheme by using the <Font Change> item.

Place a <Font Change> item with Underline selected prior to the %INDI.NAME._USED% item.
Place a <Font Change> item without Underline after that item and prior to a %INDI.NAME:SURNAME% item.

In the settings for that %INDI.NAME:SURNAME% item, untick Start on New Line so it follows on the same line.

Then it will display GivenName SURNAME

However, I have not yet worked out how to embed the GivenName within the Full Primary Name, but perhaps with the above ideas you can work it out.

In your example the %INDI.NAME._USED% is Wilhelm and that name also appears amongst the %INDI.NAME:GIVEN_ALL% but that might not be the case. e.g. %INDI.NAME._USED% is Tony and %INDI.NAME:GIVEN_ALL% is Anthony Edward. So how would Tony be shown with Anthony Edward?

This is a good example of where a Plugin called from an Expression would be useful, as requested in Wish List Ref 547 Run Plugins via Expressions. i.e. The Text Scheme Item Expressions would call a tiny Plugin that examined all the NAME fields and returned appropriate name parts.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
LornaCraig
Megastar
Posts: 2996
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: How to underline Given Name Used on Diagram

Post by LornaCraig » 24 Jun 2017 14:04

tatewise wrote: In your example the %INDI.NAME._USED% is Wilhelm and that name also appears amongst the %INDI.NAME:GIVEN_ALL% but that might not be the case. e.g. %INDI.NAME._USED% is Tony and %INDI.NAME:GIVEN_ALL% is Anthony Edward. So how would Tony be shown with Anthony Edward?.
Mike, in this case I would regard Tony as a Nickname rather than Given Name Used, because it is a diminutive of the (first) given name. I think the original question is probably about selecting one name from the list of unabbreviated Given Names, to indicate that the one used is not the first in the list.

Like you, I can't think of a way of embedding the underlining within the full primary name.
Lorna

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: How to underline Given Name Used on Diagram

Post by tatewise » 24 Jun 2017 15:01

Lorna, I agree in general, but there is nothing in FH that forces the Given Name Used to be one of the Given Names.

It is a pity that =TextPart(...) only allows comma separators, because if it allowed a choice, and space was chosen, then each Given Name could be extracted as a separate item and compared with the Given Name Used.
The items must be in pairs, one returning the Name if it does match, and the 2nd returning the Name if it does NOT match.
The 1st item would be preceded with an Underline <Font Change> item and the 2nd with a normal <Font Change> item.
All but the very first item would untick Start on New Line so they all sit on the same line.

I have tested it with commas instead of spaces separating Given Names and it works well.
UnderlineGivenNameUsed.png
UnderlineGivenNameUsed.png (2.12 KiB) Viewed 5538 times
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
psinacio
Diamond
Posts: 51
Joined: 11 Jun 2012 02:17
Family Historian: V6

Re: How to underline Given Name Used on Diagram

Post by psinacio » 24 Jun 2017 17:34

A lot of good suggestions here.
Nevertheless as long as I have understood, there is currently no option to pick up one of the given names to be underlined.

I agree with Lorna, I see Tony more as a nickname. I agree sometimes the nickname is so strong that I could even consider it as a given name, but it is not how I deal it.

My Great-grandfather was named Alexander Rudolf Franz Schröder. He used Alexander as the Given Name Used.
Everybody knows him as Alex Schroeder. He signed always like that, documents show Alex, but I still consider this as a "strong" nickname.
Family Historian Version 6

avatar
psinacio
Diamond
Posts: 51
Joined: 11 Jun 2012 02:17
Family Historian: V6

Re: How to underline Given Name Used on Diagram

Post by psinacio » 26 Jun 2017 17:26

Hi Mike,

Following your suggestion, I have voted for Wish List.

Thanks,
Pedro
Family Historian Version 6

Post Reply