Copy link to clipboard
Copied
How can I make a table like this one ?
Copy link to clipboard
Copied
Hi,
I know of only one way that is little time consuming and not at all efficient.
Am sure people here can suggest you simpler and better ways or maybe scripts to achieve the desired look.
So what i did was to write the text of the table cells in separate text frames. Rounded those text frames and then pasted them into the table cells. You can then adjust the row width and height for suitable spacing.
As you can see here each cell has a text frame inside it as an anchored frame. You will need to adjust the spacing between cells to achieve the desired look.
Or aother way to do this will be to first create a table and have a cell stroke set to each cell for the purpose of spacing. Convert each cell to graphic cell.
Now the text you need in each cell needs to be added in a separate text frame and then placed inside these graphics frames.
As you can see above i have placed the image separately in each cell of the text frame. This will give you somewhat easier adjustment of cell spacing.
-Aman
Copy link to clipboard
Copied
Doesn't anyone have any other way?
Copy link to clipboard
Copied
Yeap!
1 click to treat all the doc (or a story or a text frame or a text selection including table(s) or just a selected table)!
If a tables layout moves or just for a particular one, just launch the script again, it will treat again only the selection!
That's the good news!
The bad news: by script and not for free!
FI, I don't use Aman's method!
(^/)
Copy link to clipboard
Copied
Do you have this script?
Copy link to clipboard
Copied
Yeap! in beta version! … [not totally tested!]
Pretty cool! … After the script, the table always plays as a "normal" table!
(^/) [Script not for free! If interested, contact me in private!]
Copy link to clipboard
Copied
Can I play?
I place a bet on anchored inverted rounded corner frames...
If I'm wrong, I'd be glad to explain the technique, but not sure it's less tedious than amaarora's one...
If I'm right, no doubt a fully automatic script would be helpful since, as I said above, it's a tedious technique...
Copy link to clipboard
Copied
L'arrogance proprement française serait de ne pas aller jusqu'au bout du raisonnement !
… en tout cas, dans une telle approche !
Allez Vinny, un petit effort !
(^/)
Copy link to clipboard
Copied
Euuuh... je suis censé aller jusqu'où dans le raisonnement ?
Expliquer le placement des blocs ancrés ? Ça OK, mais seulement si l'OP le demande, histoire de pas y passer des heures si la technique ne l'intéresse pas...
Ou expliquer comment la requête Grep (car là où il y a un jedi, il y a une requête Grep bien sûr ) va identifier la position des cellules dans le tableau pour y rajouter le(les) blocs y afférents ? Pour ça, je passe mon tour... Bien largement au-delà de mes trèèèès maigres capacités en termes de scripting.
Je suis peut-être français, mais je n'ai pas l'arrogance de penser que je peux décrypter ton script ligne par ligne, cher maître (au fait, ma vieille allusion à l'arrogance française, ce n'était pas franchement du premier degré, mais ça tu l'as compris bien sûr...)
Au fait :
Par ailleurs, je ne sais pas comment INDD ME gère les tableaux... de droite à gauche ?
Copy link to clipboard
Copied
Oh! … Que c'est laid tous ces petits blocs ancrés dans tous les sens !
On dirait que les concepteurs de "Tetris" sont passés par là !!!
… et franchement "ingérable", même avec un script !!!
Arrogance à part, Tu es presque !!!! … Le Roi du Bac À Sable ! Juste un petit effort ! Un indice : 4*
[comme les 4 "Mousquetaires", les 4 "Fantastiques", les 4 Points cardinaux ou … les 4 "coins" d'un rectangle !!!! ]
Pour ce qui est des fusions de cellule ! …
(^/)
[ * … et après, y'en a qui diront que je n'aide pas !! M'enfin ! ]
Copy link to clipboard
Copied
Vinny,
L'arrogance, c'est de laisser penser ici que la solution est "hors-de-portée"! …
Écrire qu'elle peut se résoudre à "un simple clic", c'est … de l'"humilité pure" ! Tout moi !
(^/)
Copy link to clipboard
Copied
… et franchement "ingérable", même avec un script !!!
Voyons, voyons... un petit effort s'il te plaît !
Obi-wan KenobiOh! … Que c'est laid tous ces petits blocs ancrés dans tous les sens !
Moi j'aime bien.
Après on peut faire autrement si tu préfères :
Bon évidemment, ce sont les 4 yens qui sont un peu ennuyeux.
Mais bon, j'ai pas trouvé mieux (et puis je ne pas passer ma journée devant ma console de jeu non plus ^^)
Copy link to clipboard
Copied
Vinny est maintenant le Nouveau Roi du Bac À Sable ! …
(^/)
[ * Quand je disais "… Que c'est laid …", je faisais référence à l'utilisation de 9 différents éléments ancrés ! Ici, on se limite à 4 !
… Et dans ce cas, la question de la "fusion" se trouve accessoirement réglée [même si blocs ancrés inutiles] !
Ceci dit, je préconise le lancement de la regex [quelque peu différente] tout à la fin.
Reste la construction du "pattern" [le petit bloc] et ses "4" variantes, que, personnellement je laisse aux bons soins d'un script.
Le "côté" de ce pattern [carré] sera bien évidemment basé sur l'épaisseur du contour de cellule [>= 1,058mm].
Copy link to clipboard
Copied
Copy link to clipboard
Copied
A simple, and free, way is to just use a paragraph style for the text that has a thick, rounded cap rule style with the rule offset to sit behind the text.
Or you could achieve much the same thing with a character style that uses a thick, rounded cap underline style.
Both very easy!
Copy link to clipboard
Copied
Funny! I let you show us! … with screenshots and for free of course!
(^/)
Copy link to clipboard
Copied
OK Obi-wan - here is my version.
First the VERY simple option. Use a paragraph rule or underline in your paragraph style - one click and you're done.
But, it doesn't give you the ability to have smaller radius rounded corners.
But, if you combine the two - paragraph rules and underline - then you can achieve the effect that the OP asked for, for free, and still just with one click of a paragraph style.
The trick to getting the underline to fill the column width is to add a flush space at either end of the text. Not ideal, but fairly easily added with GREP. There are still limitations as although it will expand to the width of the cell automatically, the height of the rules will not automatically expand the height of the cell, in my testing at least.
If the table cells are all a uniform height though then with a little work up front it will work perfectly, for free, and I got to have fun playing around with this.
Copy link to clipboard
Copied
Please send the script or template for this document
Copy link to clipboard
Copied
Hello,
Another alternative solution is:
1) draw a simple text frame > fill it with a certain colour and round corners
2) Draw a bigger text frame and set the inset to a certain space
3) Important: set your text leading to Auto in the main text frame
4) Copy and paste that frame (from step 1) previously created as a anchored text frame.
3) The anchored frame is like a single characters; you can justify them abroad margins.
PS: It's very useful to make an object style of step 1, so you can adjust the roundness of the frame.
PS 2: Every single row and column has as to be a multiple of the header or the first row/column.
Good luck.
Patrick
Copy link to clipboard
Copied
Please send the script or template for this document
Copy link to clipboard
Copied
News! …
True InDesign [no plugin] tables in the current text-flow [not inserted in a text frame, itself anchored in the flow] and rounded corners cells without anchored "corner" frame, transparency fill color [not text], no stroke [image background!]!
[of course, corner size modifiable!]
… just in 1 click!
(^/) [by script]
Copy link to clipboard
Copied
Hi,
Uhmm check this out...[Not by script, and not as good as yours expecially not with transparency]
-Aman
Copy link to clipboard
Copied
Confirmed that we will probably be able to do this soon with paragraph shading.
Paragraph shading with rounded corners – Adobe InDesign Feedback
Copy link to clipboard
Copied
Stay tuned... Adobe makes their big software releases during Adobe MAX, scheduled for next week.
Copy link to clipboard
Copied
Not sure it will be included in the next release!!
I mean, even if InDesign devs are going to implement a shading + borders, it won't be enough to manage what I show (previous post) in all situations: e.g., see cell with "ppp" text (other case: vertical cells merging)!
To do what I actually do by script, you'll always need … a script to make calculations!!!
(^/)
Find more inspiration, events, and resources on the new Adobe Community
Explore Now