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

Is that any way to edit the round corner in rules

Community Beginner ,
Feb 13, 2017 Feb 13, 2017

Hi All,

I have the square with round corner option in every H1. Is that any way to fix that in paragraph rule option by creating the new strokes. See below the screenshot for the output needed for every h1. And i know it can be doable by fixing the object style and using the anchor option. My question is is it possible to fix by rule option....?

Screen Shot 2017-02-14 at 1.25.46 pm.png

Thanks in advance,

Kasi

1.2K
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
Guide ,
Feb 14, 2017 Feb 14, 2017

Hi

Does your square have to be a frame? Do you want to place graphic into it?

If not, you can simply use a custom bullet, here's an example using Fontawesome (Unicode F0c8):

bullet.jpg

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 ,
Feb 14, 2017 Feb 14, 2017

Hi Vinny,

Thanks for the reply. But,

  1. i need to fix the bullet in out of the Margin frame. Is that possible to fix that. If we fix it in inside the marginal, we need to fix the indentation for all the remaining styles. See below the screenshot.
  2. Also i have font restriction to use the different fonts. It will show the error in pitstop. Is there any way to use without other type of fonts.

Screen Shot 2017-02-14 at 1.13.39 pm.png

Thanks in advance,

Kasi

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
Enthusiast ,
Feb 14, 2017 Feb 14, 2017

An anchor option will help you.

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
Guide ,
Feb 14, 2017 Feb 14, 2017

Yes you can do with anchor.. but not with paragraph rule because it dont have rounded corner options..

Vinny said the shortcut method...

if you still need to do with anchor method use find and replace method to place the object for every H1 test.. hope you aware about the method

Screen Shot 2017-02-14 at 2.57.44 PM.png

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
Guide ,
Feb 14, 2017 Feb 14, 2017

Hi

I would use anchored box.

However, here's a workaround using paragraph rules (your text frame width MUST be fixed!).

The idea is to use the paragraph following the H1 to get the 3rd rule that you need:

rules.gif

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 ,
Feb 14, 2017 Feb 14, 2017

Thanks for the reply. Yes, if we have the standard style below head mens it working fine. But we don't have that following style in all the times. We have H1 under H2, H1 under BL, H1 under Extract..... Is that any way to fix it in own style.

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
Guide ,
Feb 14, 2017 Feb 14, 2017

Well, you create a specific paragraph style that will always follow the H1:

following.jpg

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 ,
Feb 14, 2017 Feb 14, 2017

If your heads are always a single line and if you are flexible on the rounded corners, you could have a one-click solution with shading:

InDesign CCss_009.png

But that's a lot of "ifs", so just throwing it out there.

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
Guide ,
Feb 14, 2017 Feb 14, 2017

I would add a new if

IF you use at least CC 2015...

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
LEGEND ,
Feb 14, 2017 Feb 14, 2017

Hi,

… So simple with a para style if only H1 with 1 line! 

Capture d’écran 2017-02-14 à 18.27.28.png

(^/)

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
LEGEND ,
Feb 14, 2017 Feb 14, 2017

… and just 1 click if more lines! … everywhere!

Capture d’écran 2017-02-14 à 18.33.38.png

… but Vinny is right! You'll need ID CC 2015! 

(^/)

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
LEGEND ,
Feb 14, 2017 Feb 14, 2017

… More obvious in color! 

Capture d’écran 2017-02-14 à 18.47.16.png

(^/)

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
LEGEND ,
Feb 14, 2017 Feb 14, 2017
LATEST

Only for slackers! 

1 year I write scripts! … My [official] number 100, version B, as gift!

/*

    0100_RoundedCornersParaRules_MichelAllio.jsx [version B]

    Script written by Michel Allio (aka Obi-wan Kenobi)  [2017/02/14]

    See:  https://forums.adobe.com/thread/2277481

    Object:  As said in the script name!  😉

*/

app.doScript("main()", ScriptLanguage.javascript, undefined, UndoModes.ENTIRE_SCRIPT, "Rounded Corners Para Rules! …");

function main() {

    var

        myDoc = app.activeDocument,

        myParas = myDoc.stories.everyItem().paragraphs.everyItem().getElements(),

        myParaStyle = myDoc.paragraphStyles.item("Title"),

        P = myParas.length;

       

        for ( var p = 0 ; p < P; p++) {

            if (myParas

.appliedParagraphStyle == myParaStyle) {

                var

                Y0 = myParas

.lines[0].endBaseline,

                Y1 = myParas

.endBaseline;

                myParas

.paragraphShadingBottomOffset -= (Y1 - Y0);

                myParas

.ruleBelowOffset -= (Y1 - Y0);

            }

        }

}

(^/)

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