Trucos de diseño para diseñar como locos
There are some types of documents, primarily catalogs, guides or similar that require the incorporation of repetitive graphic elements. To edit these texts does could become a real puzzle. To adjust the graphic elements with their corresponding texts is possible to anchor in the text container object, so that the graphic element move and flow with the text. In order to make it easier to understand the process to be followed and the various problems that may involve elements anchored i’ll illustrate with simple example.
Imagine that instead of the usual square box or capitulate you want to use a design that merges both principles, like maybe a rounded rectangle that could incorporate, or not, is not important for the example, a character.
To anchor the graphic elements within a text object simply cut or copy (cmd-x/cmd-c) and paste (cmd-v) within the text object in the desired insertion point.
So far it seems very easy, right? The first problem that arises is that, usually, the graphic element is not placed exactly as you have in mind because text and paragraph parameters enter the fray as body text used, spacing, hanging indents, etc… In this example the linked element has a height proportional to three lines of text object, which is why when you anchored it, its composition is the same as would be obtained by increasing the body of the first character in the paragraph to a height of three lines. With the exception that the graphic element will automatically align the upper edge of the text object while ascending feature of the character does not behave similarly.
To place it properly is necessary to edit the vertical alignment of the anchored object. Select the anchored object and click right-click or ctrl-click to call the context menu and select Anchored object/Options…
The options box that opens below provides the ability to accurately place the item into the box. To do this offers two ways to define the location of the item:
When the element is properly aligned you must take into account its behavior in those cases in which its height is greater than line height. In these cases, although the contoured element has activated anchored, as in this example, the first line of the paragraph, in which the element is anchored is not properly contoured.
Text objects that contain anchored objects can be distinguished by the anchor symbol that appears in the text frame
The best thing to do in these cases is to determine the value of hanging indent for the first line so that it fits correctly to the item’s wrap. In this way you prevent the contouring to adopt a random appearance.
Last, Stephen Fox in a debate from Linkedin seems to have noticed that version 7 of Indesign, that is CS5 Suite, contains a bug that causes the involuntary closing of the application when dealing with text boxes whose contains anchored objects. I have not been able to verify the information, I tried again and again but it doesn’t happens to me, as Stephen says “Indesign would crash when attempting to resize or move a recursive anchored object”, meaning an object anchored inside another anchored object (no, It wouldn’t have never crossed my mind the need to do that), to another page. It also explains that the application would involuntary close by selecting two or more text objects with anchored objects and try to move them. I posted the comment in case someone happens.