* Hyphenated Surnames
Hyphenated Surnames
I have a few double-barrelled or hyphenated surnames in some data bases and it is frustrating that they can be treated differently between individuals. In some cases the full name fits a single line and in others it requires two, however, quite often it will split the family name at the hyphen which does not look too nice.
For example: Ian Ken SMITH-JONES many go on one line, whereas, Stephen Lucas SMITH-JONES will split at the hyphen and Stephanie Alexandria SMITH-JONES has the family name on the second line.
Ian Ken SMITH-JONES
Stephen Lucas SMITH
...........-JONES
Stephanie Alexandria
......SMITH-JONES
The first and third are fine and happy to have both however, the second looks awful and unacceptable especially as the full surname would fit on the second line. And on some the box is increased in size to get the first half of the name on the first line rather than putting it all on the second
I could go and tweak box sizes for individuals, doing it globally changes which names appear in which format so not suitable. Is there a way to manage this niggle?
For example: Ian Ken SMITH-JONES many go on one line, whereas, Stephen Lucas SMITH-JONES will split at the hyphen and Stephanie Alexandria SMITH-JONES has the family name on the second line.
Ian Ken SMITH-JONES
Stephen Lucas SMITH
...........-JONES
Stephanie Alexandria
......SMITH-JONES
The first and third are fine and happy to have both however, the second looks awful and unacceptable especially as the full surname would fit on the second line. And on some the box is increased in size to get the first half of the name on the first line rather than putting it all on the second
I could go and tweak box sizes for individuals, doing it globally changes which names appear in which format so not suitable. Is there a way to manage this niggle?
- LornaCraig
- Megastar
- Posts: 3201
- Joined: 11 Jan 2005 17:36
- Family Historian: V7
- Location: Oxfordshire, UK
Re: Hyphenated Surnames
You could edit the text scheme so that the surname always appears on a new line. However this will apply globally to all names.
To do this, use Diagram Options > Text tab and start by making a Clone of the text scheme you are using. Then with the new clone scheme selected, click Edit.
Click the existing Name line on the right and click Edit below. Change the template to %INDI.NAME:GIVEN_ALL% Click OK. This will show the given names on one line.
Now Clone that line, and edit the template in the cloned version to %INDI.NAME:SURNAME% This will show the surname on the next line.
To do this, use Diagram Options > Text tab and start by making a Clone of the text scheme you are using. Then with the new clone scheme selected, click Edit.
Click the existing Name line on the right and click Edit below. Change the template to %INDI.NAME:GIVEN_ALL% Click OK. This will show the given names on one line.
Now Clone that line, and edit the template in the cloned version to %INDI.NAME:SURNAME% This will show the surname on the next line.
Lorna
- Jane
- Site Admin
- Posts: 8514
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Re: Hyphenated Surnames
I don't think there is a switch for this, but I can think of a couple of work arounds.
1. Modify the text scheme to put the Given names on the first line and the surname on the second line as Lorna has already suggested.
2. Replace the hyphen with a tide ~, or an ─ (Alt number key pad 196) neither of which split as they are not hyphens, you can do a search and replace for the diagram and then undo once you have finished printing or saving it.
Edit to add – (Alt num key 8211) works really well as it looks a lot like a hyphen.
Another edit: If you hold down the hyphen key the extended character option pops up and you can select the second character to get the 8211 character.
1. Modify the text scheme to put the Given names on the first line and the surname on the second line as Lorna has already suggested.
2. Replace the hyphen with a tide ~, or an ─ (Alt number key pad 196) neither of which split as they are not hyphens, you can do a search and replace for the diagram and then undo once you have finished printing or saving it.
Edit to add – (Alt num key 8211) works really well as it looks a lot like a hyphen.
Another edit: If you hold down the hyphen key the extended character option pops up and you can select the second character to get the 8211 character.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- tatewise
- Megastar
- Posts: 28414
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Hyphenated Surnames
You can achieve what you want with some conditional Text Scheme items.
This combines the default one line full name with the two lines suggested for hyphenated surnames.
As has been advised, Clone your current Text Scheme and then Edit the copy.
In the Used Items on the right, select the Name item, and click Clone Line below.
Now Edit the 1st Name item and set its Template to:
=TextIf(ContainsText(%INDI.NAME:SURNAME%,"-",STD),%INDI.NAME:GIVEN_ALL%,%INDI.NAME:FULL%)
This tests the Surname for a hyphen, and either shows just the Given names, or the original Full name.
Now Edit the 2nd Name item and set its Template to:
=TextIf(ContainsText(%INDI.NAME:SURNAME%,"-",STD),%INDI.NAME:SURNAME%,"")
This similarly tests the Surname for a hyphen, and shows just that Surname, or nothing.
You may have to replicate that process for other Name items, such as Name (a.k.a.).
This combines the default one line full name with the two lines suggested for hyphenated surnames.
As has been advised, Clone your current Text Scheme and then Edit the copy.
In the Used Items on the right, select the Name item, and click Clone Line below.
Now Edit the 1st Name item and set its Template to:
=TextIf(ContainsText(%INDI.NAME:SURNAME%,"-",STD),%INDI.NAME:GIVEN_ALL%,%INDI.NAME:FULL%)
This tests the Surname for a hyphen, and either shows just the Given names, or the original Full name.
Now Edit the 2nd Name item and set its Template to:
=TextIf(ContainsText(%INDI.NAME:SURNAME%,"-",STD),%INDI.NAME:SURNAME%,"")
This similarly tests the Surname for a hyphen, and shows just that Surname, or nothing.
You may have to replicate that process for other Name items, such as Name (a.k.a.).
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Hyphenated Surnames
I'm not sure if I'm looking at the right kind of list, but while working on a website I came across a non-breaking hyphen among the characters that can be used. I found it useful for preventing a date such as 1800-1810 from splitting.Jane wrote:Edit to add – (Alt num key 8211) works really well as it looks a lot like a hyphen.
Another edit: If you hold down the hyphen key the extended character option pops up and you can select the second character to get the 8211 character.
It's in a UTF-8 list as Dec 8209 or Hex 2011 - see https://www.w3schools.com/charsets/ref_ ... uation.asp
Can that be used and/or added to the pop-up?
- Jane
- Site Admin
- Posts: 8514
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Re: Hyphenated Surnames
Yes you can add any characters, by editing using "Configure Language and Accent Characters" under the gear wheel on the Property 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."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- tatewise
- Megastar
- Posts: 28414
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Hyphenated Surnames
Just a word of warning.
If you use Unicode characters such as no-break-hyphen permanently in Surnames, etc, then there are side-effects.
In Narrative Reports no-break-hyphenated Surnames will force a new line, leaving a large white space at end of previous line.
In all Reports the caption on photos does NOT include those Unicode characters (which must be a bug)!
Those characters will not export satisfactorily to products that do NOT support Unicode (UTF-16 or UTF-8).
If you use Unicode characters such as no-break-hyphen permanently in Surnames, etc, then there are side-effects.
In Narrative Reports no-break-hyphenated Surnames will force a new line, leaving a large white space at end of previous line.
In all Reports the caption on photos does NOT include those Unicode characters (which must be a bug)!
Those characters will not export satisfactorily to products that do NOT support Unicode (UTF-16 or UTF-8).
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Hyphenated Surnames
Thanks, Jane - but can you add characters without invoking the character map? I couldn't find the non-breaking hyphen in there.Jane wrote:Yes you can add any characters, by editing using "Configure Language and Accent Characters" under the gear wheel on the Property box.
Mike - I note your warnings, so maybe this would be something to do on an ad-hoc temporary basis if a chart seemed to need it, much as Jane suggested with the 8211 en-dash?
(This isn't an issue that I've come across myself in FH - I just offered the suggestion as something that I'd found useful in another context. I chose this for my website rather than the en-dash because it's the same width as a normal hyphen and looked better in a date range; the en-dash is wider.)
- tatewise
- Megastar
- Posts: 28414
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Hyphenated Surnames
You can add any characters you like to Configure Language & Accent Characters.
Initially you may want to use the Windows Character Map utility to select & copy, but once added to Configure Language & Accent Characters via its cog icon they are permanently customised for future use.
e.g
Hold down the - key so it repeats to get the extended characters popup.
Click its cog icon to open Configure Language & Accent Characters dialogue.
Scroll down and select - as the Hold Key then if necessary Open Character Map then use Edit to permanently add characters as per Jane's earlier screenshot. It should accept Alt key codes too.
No-break-hyphen is well down the character set for Tahoma, but another snag with this technique is that many character sets do NOT support all Unicode characters. What character set were you trying.
Initially you may want to use the Windows Character Map utility to select & copy, but once added to Configure Language & Accent Characters via its cog icon they are permanently customised for future use.
e.g
Hold down the - key so it repeats to get the extended characters popup.
Click its cog icon to open Configure Language & Accent Characters dialogue.
Scroll down and select - as the Hold Key then if necessary Open Character Map then use Edit to permanently add characters as per Jane's earlier screenshot. It should accept Alt key codes too.
No-break-hyphen is well down the character set for Tahoma, but another snag with this technique is that many character sets do NOT support all Unicode characters. What character set were you trying.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Hyphenated Surnames
Manually typing Alt+2011 just gives me a big black square - the same is true whether I do it in the Configure... dialogue or direct into a text field (eg General Notes).tatewise wrote:You can add any characters you like to Configure Language & Accent Characters.
Initially you may want to use the Windows Character Map utility to select & copy, but once added to Configure Language & Accent Characters via its cog icon they are permanently customised for future use.
e.g
Hold down the - key so it repeats to get the extended characters popup.
Click its cog icon to open Configure Language & Accent Characters dialogue.
Scroll down and select - as the Hold Key then if necessary Open Character Map then use Edit to permanently add characters as per Jane's earlier screenshot. It should accept Alt key codes too.
I tried with Arial, and also Tahoma, Times New Roman and Verdana, all in Unicode and showing all characters. None of them even offered me the non-breaking hyphen. In some of these fonts (not all) there are empty cells in the character map immediately to the left of Alt+2012. Not sure why this is - could it be that I'm using Windows 7 and you aren't?No-break-hyphen is well down the character set for Tahoma, but another snag with this technique is that many character sets do NOT support all Unicode characters. What character set were you trying.
A quick google suggested Alt+0173, but I've just tried this in General Notes and it still broke at the hyphen. And when I try Jane's Alt+8211 I get "!!".
- Jane
- Site Admin
- Posts: 8514
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Re: Hyphenated Surnames
Very strange, have you tried picking the characters from the character map. I don't have Windows 7 available any more to check it on.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
- tatewise
- Megastar
- Posts: 28414
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Hyphenated Surnames
From a Google search there are widespread problems with Unicode characters missing from Windows 7.
But even on Windows 10 the no-break hyphen, and many others, are missing from the Arial font.
This simply emphasises my earlier warning about using such characters. You must choose your fonts carefully.
In Character Map ensure that Character set: says Unicode.
Try the Segoe UI font which is widely used by Microsoft so may have best support for Unicode.
It does have the no-break hyphen on Windows 10.
BTW: In Reports the the reason the caption on photos does NOT include those Unicode characters is because their default font is Arial, so it is NOT a bug but just a feature of Arial.
But even on Windows 10 the no-break hyphen, and many others, are missing from the Arial font.
This simply emphasises my earlier warning about using such characters. You must choose your fonts carefully.
In Character Map ensure that Character set: says Unicode.
Try the Segoe UI font which is widely used by Microsoft so may have best support for Unicode.
It does have the no-break hyphen on Windows 10.
BTW: In Reports the the reason the caption on photos does NOT include those Unicode characters is because their default font is Arial, so it is NOT a bug but just a feature of Arial.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Hyphenated Surnames
I can get an en-dash either by typing Alt+0150 or by copying and pasting from the character map, but this non-breaking hyphen eludes me. I can, as I said, get a hyphen into General Notes by typing Alt+0173, but it doesn't seem to be a non-breaking one. Or is it that General Notes behave differently to what you might see in a diagram, for example?Jane wrote:Very strange, have you tried picking the characters from the character map. I don't have Windows 7 available any more to check it on.
You mentioned before typing Alt num key 8211 to get the en-dash, but that's not working for me.
- tatewise
- Megastar
- Posts: 28414
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Hyphenated Surnames
As was posted 3 years ago in Font standardisation (12882) the fonts used by different FH features vary widely and for no apparent reason. That simply compounds the problem, because it is difficult to get any consistency. As that topic mentions, Diagrams (and Report photo captions) use Arial by default, which supports fewest Unicode characters. That is why Diagrams behave differently to Notes, because the default Property Box font is Tahoma!
It is time Calico Pie sorted this out, as more and more Unicode is getting used, to avoid frustrating users!
The problem was raised during FH V6 Beta testing years ago.
It is time Calico Pie sorted this out, as more and more Unicode is getting used, to avoid frustrating users!
The problem was raised during FH V6 Beta testing years ago.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Hyphenated Surnames
OK, thanks, it looks like I've probably encountered some aspect of that issue.
As I said before, this question of hyphenating surnames isn't one that I've needed to look at in FH, and I was only offering a suggestion based on what had worked for me elsewhere. As it doesn't seem to work in FH at present, I'll duck out of this topic now and leave you to continue discussions with the OP if he/she requires.
As I said before, this question of hyphenating surnames isn't one that I've needed to look at in FH, and I was only offering a suggestion based on what had worked for me elsewhere. As it doesn't seem to work in FH at present, I'll duck out of this topic now and leave you to continue discussions with the OP if he/she requires.