How to Define a Custom Text Variable in Adobe InDesign

See Adobe InDesign: Tips and Tricks for similar articles.

Text variables are dynamic text content that can change with context. There are some standard text variables in InDesign that can be used for job-tracking, such as File Name and Modification Date. Custom variables can also be created by users. In this example, I'll create a variable based on a paragraph style to be used as a running footer.

  1. In the Type menu, go to Text Variables and choose Define. Text Variable in Type Menu
  2. The dialog box shows the standard variables listed on the left. Click Running Header and then click New.Text Variable Dialog Box
  3. Running Header is a variable that's already set up to be based on a paragraph style. In the next dialog box, it's simply a matter of naming the variable, selecting the paragraph style, and setting the options. Once you have done so, click OK. New Text Variable Dialog Box
  4. The new variable is now listed in the Text Variables dialog box. Click Done. Custom Text Variable in Dialog Box
  5. To use the variable, I've created a text frame on a master page with the text cursor inserted. Go to the Type menu, scroll down to Text Variables, then to Insert Variable, and choose the custom variable.Insert Variable in File Menu
  6. In the text frame on the master, only the variable name will appear. Text Variable on Master Page
  7. On document pages that have text with that paragraph style applied, that text content appears. Text Variable on Document Page

Related Articles

  1. Control the Indent of a Bulleted List in InDesign
  2. How to Convert Text to Outlines in Adobe InDesign
  3. How to Create a Check Box Form Field in Adobe InDesign
  4. How to Change Page Margin and Column Settings in Adobe InDesign
  5. How to Use the Scissors Tool in Adobe InDesign
  6. How to Create a Table of Contents in Adobe InDesign
  7. How to Make Custom Shapes Using the Pathfinder Panel in Adobe InDesign
  8. How to Fit Graphics to Frames in Adobe InDesign
  9. How to Add a Background to an Image in Adobe InDesign
  10. How to Print a Booklet File in Adobe InDesign
  11. How to Use Liquid Layout When Creating an Alternate Layout in Adobe InDesign
  12. How to Add a Pull Quote to a Layout in Adobe InDesign
  13. How to Use the Scale Tool in Adobe InDesign
  14. How to Create a Basic Animation in Adobe InDesign
  15. How to Use Special Characters in Adobe InDesign
  16. How to Create a Hyperlink in Adobe InDesign
  17. How to Find and Change Text Formatting in Adobe InDesign
  18. How to Export a Color-Managed PDF File in Adobe InDesign
  19. How to Make Custom Shapes Using the Polygon Tool in Adobe InDesign
  20. How to Create an SWF File from Adobe InDesign
  21. How to Create a Custom Text Wrap in Adobe InDesign
  22. How to Create a Multi-State Object Slideshow in Adobe InDesign
  23. How to Create a Stylized Numbered List in Adobe InDesign
  24. How to Place Images in Master Frames in Adobe InDesign
  25. How to Use the Rotate Tool in Adobe InDesign
  26. How to Use the Gap Tool in Adobe InDesign
  27. How to Define a Custom Text Variable in Adobe InDesign (this article)
  28. How to Insert a Microsoft Excel Table in Adobe InDesign
  29. How to Use the Shear Tool in Adobe InDesign
  30. How to Apply a Primary Text Frame in Adobe InDesign
  31. How to Add Manual Frame Breaks in Adobe InDesign
  32. How to Find and Change Object Attributes in Adobe InDesign
  33. How to Autoflow Text in Adobe InDesign
  34. How to Import Master Pages in Adobe InDesign
  35. How to Create a Combo Box Form Field in Adobe InDesign
  36. How to Edit a Style Definition in Adobe InDesign
  37. How to Create a Custom Glyph Set in Adobe InDesign
  38. How to Control Text Wrap on Different Layers in Adobe InDesign
  39. How to Apply Optical Margin Alignment in Adobe InDesign
  40. How to Create a Text Frame in Adobe InDesign
  41. How to Create Master Pages in Adobe InDesign
  42. How to Manage a Table as an Anchored Object in Adobe InDesign
  43. How to Save a Custom Workspace in Adobe InDesign
  44. How to Synchronize Book Files in Adobe InDesign
  45. How to Use the Articles Panel for Exporting to HTML in Adobe InDesign
  46. How to Add Common Elements to a Master Page Layout in Adobe InDesign
  47. How to Create a Slideshow Caption in Adobe InDesign
  48. How to Enter Special Characters in Dialog Boxes in Adobe InDesign
  49. How to Create a Clipping Path in Adobe InDesign
  50. How to Navigate the Document in Adobe InDesign
  51. How to Set Display Performance in Adobe InDesign
  52. How to Define Color Swatches in Adobe InDesign
  53. How to Import a Microsoft Word File Into Adobe InDesign
  54. How to Import Object Styles in Adobe InDesign