Wednesday, January 4, 2012

PatternMaker Weave: Chinese Carpet Pattern

Last night, my husband took me to a dinner at a nice Chinese restaurant. On the back wall of the restaurant was a large mural of traditionally-dressed people sitting on a red mat, presumably drinking tea. The mat was red and had a basketweave pattern. I knew I could recreate the pattern using PatternMaker. So let's get started.

I made a frame, filled it with red, and then chose the "Weave" pattern. I then set the angle to 90 degrees.

I wanted the pattern to have a perspective skew, as did the original, so I used the Shear tool to shear the frame. Interestingly, the pattern skewed along with the frame. Cool!



I wanted the mat longer, so I made the frame a bit taller. When you do this, you'll need to reset the pattern so that it fills the frame with a new graphic using the same settings.


So I Reset the Pattern (see the little red arrow in the screenshot below). I fully expected to have the pattern reset to a non-skewed version, but instead, the pattern retained the skew settings. I never really thought about it before, but apparently, you can modify the skew settings of both the graphic and the graphic fill independently. When you Reset the Pattern, the new pattern-graphic (which is an embedded EPS) will automatically reset to not just the settings specified in PatternMaker, but also to the skew settings of the graphic frame.


If you like basketweave pattens, check out one of my other blog posts about this same topic. In that post, instead of PatternMaker, I created the pattern two different ways: one using tables, and one using knitting.  Here's the post: Using InDesign Tables to Design a Geometric Color Block Pattern

Thursday, December 29, 2011

PatternMaker Squares

I love TeaCup PatternMaker, and so I have decided to regularly explore its pattern possibilities and post my findings here. Some people sketch or doodle. I make patterns. Enjoy!

All of the patterns here use the same three colors:
  1. A grey fill on the frame
  2. A medium blue for the fill of the pattern, and
  3. A dark blue for the stroke of the pattern.
In the first example, by making the element gap and Square size very close, we get squares that stack on top of each other, like fish scales, only square.



In the second example, I increased the Element Gap to 47 and adjusted the Pattern and Shape Angles.

The Shape Angle refers to the orientation of each square. The Pattern Angle refers to the angle of the entire pattern (as a whole) within the frame. So in this example, a Shape Angle of 180 degrees has the same effect as a Shape Angle of 0 degrees. And the entire pattern is rotated by the pattern angle, which is 45 degrees.


By expanding the Element Gap, the squares move farther apart. This next example has a shape angle of 90 degrees, but because the shapes are squares, they look visually the same as if they would have a shape angle of 0 or 180 degrees.


Next, I increased the square size quite a bit, and also increased the element gap by just a little. Now the squares are larger, and close together. Also, because the pattern angle and shape angle are in increments of 90, the squares align straight up and down.


Here is the same pattern, only with "Has Fill" UNchecked. Now, it appears as though each square has a double stroke, but that's because the 50 pt squares overlap one another, because they only have a 40 pt Element Gap.

Tuesday, December 13, 2011

How to Avoid Accidentally Auto-Expanding Your "Live Corners"

I've run into some difficulty when trying to edit the shape of rounded rectangles. Let's say that I want a rounded rectangle that looks like it's in perspective. So I start with a rectangle, add the rounded edges, and then start to move the points and edges around so that my rectangle is in the correct perspective.

So let's start with a plain rounded rectangle, before attempting to reshape it.

Rounded Rectangle with Live corners

My first inclination is to simply drag one side of the rectangle using the white arrow tool. But when I do do this, the corners are no longer live. (See how each corner now has two small points near the corners, but no points actually on the corners?) Hey! That's not what I wanted! Undo, undo...


So next I tried just dragging one of the corners to put just that corner where I want to it to go. But, instead, this moves the entire rectangle, PLUS expands the corners.  Again, this is not what I wanted! Undo, undo, undo...

Dragging a corner moves the entire rectangle AND expands the Live Corners

My corners are now dead!


So after a bit of experimentation, I finally figured out the trick to not accidentally expanding Live Corners:
  1. First, select a corner (or a side) with the white arrow.
  2. Then nudge it a bit using your cursor keys.


Once you've nudged part of the rectangle, you can use the white arrow tool to click on any of the corners and any of the sides and drag them wherever you want them to be. The live corners will still stay live.


You might think (as did I), that the act of clicking-on-and-nudging a corner point would have the same effect and clicking-on-and-dragging a corner point. But alas, no.

Now interestingly, the little yellow square indicating "Live Corners" has disappeared. But you can still edit the corners by going to Object > Corner Options.

This rectangle still has Live Corners even without the little yellow square

I'd like to think that this behavior is a bug, and that Live Corners wouldn't automatically expand on accident. If I were to change the behavior of the feature, I would set Live Corners to NEVER auto-expand without me telling them to expand. There really should be a separate command for that in the menus. 

Wednesday, December 7, 2011

The Trick to Getting Column Strokes to Be in Front

Yesterday I was working on a table that needed to have red column strokes and white column rows. The column strokes needed to be on top. I thought it would be easy. I went to the Table Options dialog box (or command+Shift+Option+B...similar to the Text Frame Option dialog box, with a couple other modifier keys thrown in.)

The screenshot below shows the dialog box as it was set initially. I thought, "This should be simple. I just nee to change the stroke drawing order." So I then changed the stroke drawing order to Column Strokes in Front.

Row Strokes in Front

But nothing happened. I attempted it several times, but gave up, thinking I could tackle the problem again after a good night's rest. But the next morning, I came back and the problem was still there. Row Strokes were in front, even though I told them not to be.

I thought maybe it a screen issue. For example, sometimes when viewing a page in Acrobat, if the page has a table with all the same stroke weights, sometimes some of the row strokes seem thicker than others. But I've never seen InDesign display stroke weights incorrectly before, so that couldn't be it. I thought maybe by modifying the weight of the column strokes, I could fatten them up enough visually that they would seem like they were in front. Sort of like visual dot gain. 

Column Strokes should be in front, but they are not!

So I changed the column strokes to 2 pt and they were now magically in front. I changed them back to 1 pt just to see what would happen and they were still magically in front. After a little experimenting, it turns out that InDesign doesn't actually change the drawing order unless you go back and modify the strokes (whichever ones you want on top) again. For example, if you change the settings to be Column Strokes in Front, after exiting the dialog box, you'll need to then go back into the table and modify your column strokes somehow. Change the color, change the stroke weight, whatever you want. But somehow, the act of modifying the column stroke tricks InDesign into doing what you had asked it to do in the first place.

Likewise, if you change your settings to be Row Strokes in Front, you'll then need to go in and somehow edit your row strokes for the setting to actually take. effect.

Now column strokes are really in front


Wednesday, November 30, 2011

A Closer Look at the Sub-Level Sorting When Sorting Comments by Color In Acrobat 9

Let me start of by saying that this article is all about sorting comments by color in Acrobat 9. You may ask, "Why are you writing about features in old software? Acrobat X has been out for over a year now." Well, sadly, Sort Comments by Color (my favorite Acrobat feature) was removed in Acrobat X. So I still use the old software. Lest I digress.

Sort Comments by Color is at the heart of my production workflow. I have a dozen or so colors that I use to color-code pertinent parts of my documents. Each color represents a similar type of information. So when I'm working an a project, I'll start with the pink comments, then go the gray comments, then to magenta, and so on down the line. The Sort Comments by Color feature allows me to group all the similar information together so that I work on it more easily.

So, once my comments are sorted by color, there is another secondary level of sorting that Acrobat uses. It doesn't sort as you think it might. It sorts not by where the comments fall in order of creation, nor where they fall in the page sequence (as you'd think they might), but rather, Acrobat sorts them based on the Y coordinates. Like so:


In the example above, I have two purple comments: the first is on page 1 at the bottom of the page, and the second is on page 2, near the top of the page. In this example, the comment on the second page will appear at the top of the list when sorted by color.

If you'd like to read more about Sorting Comments by Color: check out my other article on the topic: Acrobat Rectangle Tool: Why Do You Disappoint Me So?

Monday, October 17, 2011

When Text Won't Left-Align

I recently came across a bit of text that wouldn't left align. It would center-align and right-align just fine, but it wouldn't left align. (Note that my left-indent was set to zero, and my left-cell padding was set to only 0.08 inches.)


I tried what normally works to fix alignment isues: I went to the Text Frame Options. I figured that maybe there was a mysterious text-wrapping on an object nearby. So I checked the Box "Ignore Text Wrap." I figured that would solve the problem. But no.


So then I went though all the paragraph settings and tried to see what would cause left aligned text to NOT left align. I didn't find anything that would cause weird indent issues. However, I found that this paragraph style (H4) was based upon another paragraph style (H1).


So I applied the H1 paragraph style to the text in my table, and it magically left-aligned as it should.


I then reapplied the H4 style, and tried copying and pasting the offending H4 text into a new text frame, and it left-aligned as one would expect it to.


So then I went back to the H4 paragraph style options and examined the differences between the H1 and the H4. After a little digging, I found that the H4 had an "align to decimal" tab stop.


I removed the tab stop, and presto! The text now left-aligned as it should. (See the fourth row?)


I'm not sure why the "align on decimal" tab stop was there... I most certainly put it there intentionally at some point in time, though I don't know when, nor why. For some reason, I was trying to align digits, and had set the tab to align on a dollar sign. (Click on photo to enlarge.)


Based on the fact that the same text behaves differently when placed in a table, I am inclined to think that there is a bug in inDesign, that when you use an "align on" tab stop within a table, InDesign will not honor your left-align paragraph settings. Though I have used the words "Left Justified" in my screenshots, this issue holds true for both left aligned, as well as left justified text within a table.

Saturday, October 8, 2011

Diamonds, Dots, and Waves: Stroke Style Options for InDesign Tables

For today's episode of Fun With InDesign Tables, I started out by to experimenting with the White Diamonds stroke style.

I made a table 4 columns by 2 rows and gave it a 35 point White Diamond stroke. Just a note: "White Diamond is the name of the stroke, but you can color the diamonds however you want. I suspect that the name "White Diamond" has to do with the fact that the center of the diamonds appear as white (paper-colored)...that is, unless you give the stroke a gap color.

Then I colored the outside border red, and the inside column strokes to yellow.


Next I took the same table and widened it a bit, and then added a black gap color to the table strokes. I thought it was interesting that the gap color stayed confined to the border of the diamond shapes, and made inverse white knockouts in the corners of the table.


Next, I took the same table and gave it a stroke style of Japanese dots. Notice how the black gap color now extends to fill out the rounded corners. This one sort of reminds me of the beaded counting toys that I remember from my childhood


Here are a few more tables, with different stroke styles.

Straight Hash Stroke Style

Think-Thin-Thick Stroke Style

Wavy 
Dashed
Note that the only thing I changed in these 6 tables is the stroke style. The stroke width, stroke colors, and gap color remained the same.