Skip navigation
Currently Being Moderated

Diagonals

Nov 16, 2012 2:13 PM

I have a calendar set up for a client. Some months have two dates in one cell with a diagonal line. I was asked to make the diagonal line half as long but still in the center of the cell. Is there a way to do this, but keep it in the cell? I thought of a stroke style, but have little experience doing that. Any thoughts?

 

-Underdog

 
Replies
  • Currently Being Moderated
    Nov 16, 2012 3:26 PM   in reply to UnderDog

    Half as long but still in the center? .. (I would insert an image here but apparently It Is Not Allowed Using Safari. .. Not that many people using Macs, eh?)

     

    Try this:

    let a = your column width

    let b = your row height

     

    Create a new Dash stroke style; the pattern length should be sqrt(a² + b²). Drag out the dash marker to half. Make sure "Adjust Corners" is set to None, 'cause else InDesign will attempt to draw two segments.

     

    (I actually tried to make the dash just appear in "the center" of the pattern, but you have to start with a filled segment. So I did the inverse and tried Line in Paper Color, Gap in Black; but then I got an ugly outlined line. .. Again, sorry, no image today.)

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 18, 2012 4:49 AM   in reply to [Jongware]

    Hi,

     

    Dont give up so quick, Jongware

     

    It is working your way:

    cell.png

    Custom diagonal line:

     

    diagonal.png

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points