What is the font? Does it actually have tabular lining figures?
The font is called Dosis and, yes, it would appear so because after choosing "tabular lining" the numbers suddenly get a serif.
Dosis appears to be a .ttf font with proportional lining figures (and an alternate glyph available for the digit 1). It is not suitable for tabular work where you want figures to line up vertically.
Hi can you explain me how you align the second dot for decimals ? you using TAB option ?
If you use the minion pro font then all you need to do is select all the numbers and choose align right. If it's not working then it's because is not suitable for tabular work where you want figures to line up vertically as Spier said.
It seems you were right; I just did a quick test with Dosis and Minion Pro font. Thanks for your help... I can finally stop obsessing about the issue then!
I changed minion pro font and as you said first I selected through "OpenType > Tabular Lining" but second dot not aligning, can you explain from the starting process onwards ?
Sure! If you look at the examples above, I've tried three different options and settings using the Minion Pro font. Selecting "OpenType > Tabular Lining is not even necessary as I've come to learn.
Example A: a normal textbox in which I've selected all the numbers and then chosen "Align right". The numbers then align perfectly on the second dot.
Example B: a normal textbox with several columns and different tabs options. You can see which one I've used on the individual columns by the title above. Notice how the decimal option is not aligning the numbers by the second dot? The only solution to the problem is to choose the "Right-justfied Tab" in the tab options, as shown in the last column. Aparently you can't make the decimal tab align on the second dot like this in InDesign yet but perhaps they'll make it possible in another version.
Example C: I've inserted a table into a textbox and and then used different tabs options on the columns; notice how the decimal tab is working like it should in this case? In order to insert a tab in a table you need to place your curser right in front of the number and then right-click your mouse, choose Insert special character > Other > Tab. You can also choose to make the row and column stroke invisible in the table Table options if need be, which will make it look exactly like a normal textbox.
This won't work with fonts like Dosis as it's not suitable for tabular work where you want figures to line up vertically like Spier said, so you need to choose a font like Minion Pro or something similar to it.
I'm not sure if that solves your problem. If not then please attach a picture of the issue you're having and I'll try my best to help you.
If you want to align numbers on the second dot and you don't always have the same number of digits after the dot you can use two tabs instead of one, then press the tab key twice before typing the number. ID has no idea how may dots are in your number when you start, so a decimal aligned tab will always work based on the first dot encountered.
I must say your numbers are unusually formatted. What do they represent?
Hi Spier please see above request
My apologies to both of you. I was completely wrong in my post above about the two tabs. Can I plead that I was still asleep at 4 a.m.?
As far as I know, there is absolutely no way to use the second or subsequent occurrence of the "align on" character instead of the first. The only thing I can thik of that would work is to manually adjust the tab position for each line.
Hi spier thanks for the reply, take care
I found a work-around that may be of some help. It involves using GREP to find the last dot in each number, and replacing it with a dot plus a hair space. You can then align on the hair space. Not perfect, but it could work.
the grep is
then copy one of the thin spaces, and paste it into the Align on box in the tab bar.
Hi SRiegel yes its nice idea, thanks for the initiative.
You're welcome, donvinoth; my pleasure. I enjoy working on this kind of puzzle.
"If you want to align numbers on the second dot and you don't always have the same number of digits after the dot you can use two tabs instead of one, then press the tab key twice before typing the number. ID has no idea how may dots are in your number when you start, so a decimal aligned tab will always work based on the first dot encountered.
I must say your numbers are unusually formatted. What do they represent?"
I'm a bit confused after all these replies; where you talking to me just now?
@snotknud, yes, I was asking you what the numbers represent. It's very unusual to find numbers formatted with multiple decimal points or dots other than some sort of address in my experience, and these don't look like addresses.
Ah! Well nothing, actually. I just picked random numbers as part of an experiment in order to make the decimal tab work for a design manual that I am currently working on. The multiple decimal dots is what we use when we write large numbers in Denmark.
We use the dots like so
And that's why it's important to make the decimal tab work properly on the second dot when the company that I'm creating this design manual for will use it for their financial reports etc.
OK. But then you would use some other separator for the actual decimal portion, the . being the thousands separator and a , perhaps, as the decimal separator, I think.
If you are using large numbers with no decimal portion (whole numbers) only, then you would not want to use a decimal aligned tab. You would use the right aligned tab as you discovered. On the other hand if you use a mixture of whole and decimal fraction numbers, then you would use the decimal separator character for the decimal aligned tab. That character can be anything you set, and if you use the . as a thousands separator it would not be appropriate as the alignment character unless your numbers range from 1.000 to 999.999
I just gave this a go for the hell of it and failed miserably; the numbers align differently allthough they should be aligning to the same hair space which I inserted in the Align on box in the tab bar.
Hehe yes, that's what I've come to realise and the right-justified option is definitely the way for me to go about this. I really appreciate all your help and pointers on the subject!
This works only because your numbers will never anything except 3 digits to the right of a dot.