• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit Search
0

How to: Table Cell (Form) - Digit Separator Lines?

New Here ,
Nov 23, 2017 Nov 23, 2017

Copy link to clipboard

Copied

I'm trying to get those little vertical lines to separate digits in a (printed), they are only half the height of the table cell.

Does anybody know how to do this (without drawing little lines and copying them)?

in%20digits.png

Views

946

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 23, 2017 Nov 23, 2017

Copy link to clipboard

Copied

What you want is called a "comb."

Are you trying to create a field for a PDF form? Or is it only for a printed form?

If for a PDF form, here's a link to the Help file describing PDF  form files. Look in the section on Text Fields > Comb of Characters:

PDF form field properties, Adobe Acrobat

If for only a printed form you would probably need to draw and duplicate the lines of a comb either in InDesign or Illustrator. In InDesign, for example, you could use Edit > Step and Repeat.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 23, 2017 Nov 23, 2017

Copy link to clipboard

Copied

Hi,

I am sure there must be easier ways but i think you could try "Step and Repeat". All you would need to do is create one small line and then equally distribute it across the cell width for all rows...as a grid...

Enable the preview so you see the changes on the go. I did a quick try and it worked. As you can see below the small line is distributed as a grid of 4 rows and 5 columns. Once created you can manage the small lines by grouping them or adding them to a separate layer.

-Aman

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 28, 2017 Nov 28, 2017

Copy link to clipboard

Copied

LATEST

I am sure there must be easier ways but i think you could try "Step and Repeat".

Seems like 's pipe version is the most flexible solution. You can get even spacing of the pipe glyph via center alignment and tracking, and manipulate the height and thickness via horizontal and vertical scaling

Here tracking is 160, Vertical scale is 50%, and the baseline is shifted 1pt to align with the cell bottom. The cell's text is set to Align Bottom.

Screen Shot 2017-11-28 at 9.09.01 AM.png

Then global adjustments could be made via a style sheet. Here I've changed the color and height of the comb.

Screen Shot 2017-11-28 at 9.10.23 AM.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 23, 2017 Nov 23, 2017

Copy link to clipboard

Copied

Hi

you can insert vertical line from glyphs, and align them from the table panel, and from character panel amend the baseline shift and you can fix there hight as you like. also you can save them in the character style so you can amend the style simply.

Screen Shot 2017-11-23 at 22.11.40.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 23, 2017 Nov 23, 2017

Copy link to clipboard

Copied

Hi, cc_user_1,

depending on your version of InDesign I see two ways of doing this.
In this post I'll present an option you can do with all versions (that support tables):

Split a cell vertically to 6 cells and do a custom line style for the comb.

Some screenshots:

Table-CellsWithComb-UsingCustomLineStyle-1.png

Table-CellsWithComb-UsingCustomLineStyle-2.png

Some details:

Table-CellsWithComb-UsingCustomLineStyle-3.png

Download the IDML file from my Dropbox account:

Dropbox - TableWithCellsAsComb-UsingCustomLineStyle-CS6.idml

Regards,
Uwe

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 23, 2017 Nov 23, 2017

Copy link to clipboard

Copied

And a little trick: You have to do the splitting of the cell and formatting the inner strokes only one time per column with a single cell.
Then you copy the 6 cells and paste them in easily in all cells of the column in one go.

Regards,
Uwe

//EDITED

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 28, 2017 Nov 28, 2017

Copy link to clipboard

Copied

Laubender  wrote

Hi, cc_user_1,

depending on your version of InDesign I see two ways of doing this.

I said, I see two ways. 🙂

Now I will present that option. But be forwarned, it is a bit more complicated. But you are rewared with a super easy way to copy/paste the result to other cells without splitting them.

It involves graphic cells, the power of grouped elements and on it's way to the final solution also a button inside a graphic cell.
Also involved a custom stroke style like I described in my first solution.

Without further explanation here a set of screenshots where I described the steps.

I hope you can follow with my German InDesign CC 2018:

TableCell-GraphicCell-Comb-CC-2018-1.png

TableCell-GraphicCell-Comb-CC-2018-2.png

TableCell-GraphicCell-Comb-CC-2018-3.png

TableCell-GraphicCell-Comb-CC-2018-4.png

TableCell-GraphicCell-Comb-CC-2018-5.png

TableCell-GraphicCell-Comb-CC-2018-6.png

TableCell-GraphicCell-Comb-CC-2018-7.png

TableCell-GraphicCell-Comb-CC-2018-8.png

Note:
Obviously InDesign's UI does not like groups with one member.
That's the reason you cannot remove the Magenta rectangle by menu command Cut or by dragging it out of the group through the Layers panel. By script that's no problem.

If you keep the Magenta rectangle inside the outer group of the graphic cell you will have a hard time to align it to the inner group.

Or you will have a hard time to align the inner group to the Magenta rectangle. Once the Magenta rectangle is removed the graphic cell's dimensions snap to the dimensions of the inner group.

Also: Do not try to move any of the strokes out of the inner group to the group with the Magenta rectangle. You'll end in chaos regrading cell dimensions. That will lead to an overset text frame where you have trouble to align the graphic lines with the Magenta rectangle in the outer group of the graphic cell.

Regards,
Uwe

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 28, 2017 Nov 28, 2017

Copy link to clipboard

Copied

do you need it for the printed forms?

Then you can create an additional row with exact height and split it into 6 cells with needed stroke settings. Them your main cell will change its height as you need and the "comb" line will keep the same appearance in any situation.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines