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

Data Merge and Anchored objects

Community Beginner ,
Mar 05, 2025 Mar 05, 2025

Hello InDesign Experts,

I’m trying to produce a series of logos using the Data Merge function in InDesign. I have attached an example below to help illustrate the issues. The first issue is with having two lines of text (a Bold font line and a Regular font line). I need them to stay center to the logo regardless of how much text is loaded on each line from the .csv file. I have tried to use an Anchor Object function to push the text up. However, I can not find an option that works. The second issue is with the ability to mass adjust similar text box widths on all pages at once (all the bold lines of text or all the Regular lines of text). Can I universally change these text box size without adjusting the font size from page to page? In my case a script like Fit Text to Frame will not work because it adjusts the size of the font.

Thanks kindly, Kevin

EXAMPLE.jpgexpand image

TOPICS
Experiment , How to , Scripting
184
Translate
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 ,
Mar 05, 2025 Mar 05, 2025

For issue 1, set vertical alignment of the text frame to centered. Set it in an object style, which can solve the second issue.

Translate
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 ,
Mar 06, 2025 Mar 06, 2025

Hi @Kevin33194884x0zc Brian's idea of using basic vertical alignment of the text frame seems to work. Also maybe using auto-size width will also help.

 

See my attached demo.indd document and .csv for the datamerge. I tried it with some random lines and it doesn't do too bad a job, at least as a starting point.

 

Or are we missing the point? If so, please clarify.

- Mark

 

P.S. There is further scope for a script to adjust the width based on the text, but we'd need to know much more about your actual data and other requirements to do that.

 

Screenshot 2025-03-06 at 20.32.21.pngexpand image

Translate
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 Beginner ,
Mar 10, 2025 Mar 10, 2025

Thank you so much for getting back to me. I think that this method will help the problem immensely. I will test this out. Thanks

Translate
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 ,
Mar 06, 2025 Mar 06, 2025

Might be misunderstanding the issue here 

 

But a table would allow for resizing automatically at least vertically - seems like it would be an easy solution.

 

I take it all logos will be the same width, for consistency on the page(s). 

 

 

Translate
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 Beginner ,
Mar 10, 2025 Mar 10, 2025

Hi Eugene, thanks for getting back to me.  I did not know that data merge will work in a table. I will look into this also.

Translate
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 ,
Mar 10, 2025 Mar 10, 2025
LATEST

You might need some sorcery in a table - sorry forgot to mention

https://creativepro.com/using-data-merge-to-create-a-table-for-a-directory/

 

 

Translate
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