second line to the paragraph indented using styles?

made anyone know if its possible in Indesign to do the second line of the paragraph indented using styles?

I'm working on a book and I put the first word of each paragraph to be slightly larger and a different font to the rest of the paragraph. I did it using a style nested with the paragraph style. I also want to do what the second line is indented from the amount of space to the first word on the first line. This isn't problem doing this maunally but I want to find a way to define a style for this so that I can compose the book like this.

any help is appreciated!

Looks like you're talking to "drop words".

On this page: http://in-tools.com/plugin.php?p=24

In addition to the commercial product, there is a (simpler) free script on the page to create using drop caps.

Substances

Tags: InDesign

Similar Questions

  • How to use GREP to apply the character style just for the first and the second line of the paragraph?

    as the title, I just want to ask how to apply the style of character just for the 1st and 2nd line of the paragraph. Help me pls, tks!

    Can you show the screen shot with the invisible market, looks like you feedback after each line.

    So, something like this would work where I have a return forced for the linebreak (shift + return). The example on the right does not work because the line break is a return:

  • Paragraph style with a net of paragraph after adds a second line through the type!

    CS 5.5

    Mac OS Snow Leopard 10.8.6

    OK, so what is happening here?

    I have more than 150 color plates, that I need to caption.

    • The title for the legend should have a regle.5 under him.
    • The rule comes under the title of legend, where it should be, AND that there is a second rule by the type itself!


    Here is what I get:

    Screen shot 2011-08-26 at 12.17.17 PM.png

    Here are my settings.

    Screen shot 2011-08-26 at 12.21.52 PM.png

    THANK YOU FOR YOUR HELP. (she screams!)

    You click where it says rule below to access the settings of the above rule? the lag on the rule below is great, it is the bottom of the image, and it resembles that on the base line is a rule above with offset 0.

  • How do you start a new line in the paragraph style?

    New user of the trial and cannot understand why a seemingly simple operation does not...

    How do you start a new line in a paragraph block?  When I hit the Enter key, it returns to the front of the same line, overwriting the same line over and over again.

    1. click on the text tool.

    2 hang out in a paragraph block.

    3A started typing and noticed that when it reaches the end of the paragraph block, he just finished at the beginning.

    Frustrated to could use more help.

    In the set of main characters in Auto Panel. It seems by default is 1.25 pt that makes it behave as you describe.

  • Withdrawal of the first two lines of the paragraph?

    Hello

    I want to have a dash on the two first lines of my paragraph, how do we make this happen? I don't seem to be possible.

    The only way I know how is the second line indented manually. But as you can imagine is not a very effective way, if it produces more than 200 hundred times

    PS: I use Indesign CS 5.5

    Thank you

    Hamid

    Schermafbeelding 2014-07-31 om 10.33.32.png

    AHA! Heymit, here's the trick that I use to do a little of the drop cap. Very simple: use a tank style!

  • [JS] Copy or move the paragraph and character style style

    Hello
    I try to transfer paragraphs a the document to a block a second document but I have hugs the style of paragraph et style character applied.
    I use this command line:


    o.leBlocLegendes.contents = o.leBlocLegendes.contents + leDocument.stories.firstItem().paragraphs[leConteurPara].contents;
    
    


    How do I do not lose anything?

    Thank you


    Original message

    Hello

    I am trying to transfer of the paragraphs in a document to a block of a second document but I loses all the style of paragraph and style of applied character.

    Plug-in this command line:

    o.leBlocLegendes.contents = o.leBlocLegendes.contents + leDocument.stories.firstItem().paragraphs[leConteurPara].contents;
    

    Comment do pay nothing lose?

    Thank you

    Hi Liphou,

    .silence is indeed a property of type string only disregardingly of styles, anchor frames and other animals.

    You prefer the use of object methods and duplicate stories. However styles can be substituted with the target document. If you can load styles before the duplication of the text.

    var main = function() {
        var doc, st, tempDoc, f, tf;
        if (!app.documents.length
            || app.selection.length!=1
            || !app.selection[0].properties.parentStory) {
            alert("You need to select text or text frame");
            return;
        }
    
        doc = app.activeDocument;
    
        if ( !doc.properties.fullName ) {
            alert("Please save file first !");
            return;
        }
    
        st = app.selection[0].parentStory;
        f = File ( doc.fullName );
        tempDoc = app.documents.add();
        tempDoc. importStyles ( ImportFormat.TEXT_STYLES_FORMAT, f, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE );
    
        tf = tempDoc.textFrames.add();
        st.duplicate(LocationOptions.AT_BEGINNING, tf.insertionPoints[0]);
        tf.fit(FitOptions.FRAME_TO_CONTENT);
    
    }
    
    main();
    

    HTH,

    Loïc

    www.ozalto.com

  • CS3: need script to replace spaces with underscores in the paragraph and character style names

    Help! I am very new to scripting.

    I managed to find and tweak existing javascripts to search through all my paragraph styles to disable hyphenation and off balance the jagged lines, but I need help with this one.

    I work on Mac OS 10.4.11 using Indesign CS3.

    I need a script that will search all my paragraph and character styles in my open Active document and replace spaces by underscores.

    Can someone help me with this? It would be greatly appreciated!

    1. I don't know, but I think you can use all the regular GREP inside this function codes. Do not use the quotation marks around of the expression, use slashes! (Why? Just a curiosity of Javascript... maybe a hack that goes back to the gray mist of JS development...)

    This work should - but rather the code above, this is not tested:

    .. Replace (/ [-\ / ()-. _] + / g. '_');

    The GOLD group inbetween the brackets contain all the characters you want to replace with an underscore: the hyphen (this has to be the first character in the group, else it will be interpreted as a range of characters from each side!), space, slash (this one is 'special' inside the function replace JavaScript, so I think he needs to escape with a backslash)! in parentheses, a period (not sure if it should escape - into ordinary GREP, it's the wildcard character for any character, but maybe he loses his magic within a group of GOLD) and finally... the underscore character. Why?

    Well, this replacement string comes with a free bonus. Note the sign after the installment of GOLD +. This means that a whole sequence of these characters is replaced by a simple underscore: "it's / a - / test" will become "This_is_a_test". Adding the underscore line itself to the string of research means that it will also find the whole chain 'space space (stroke underscore)' in 'This style (_)' and, oh magic!, replace it immediately with a single underscore.

    Just FYI, the tiny "g" after the closing slash is abbreviation of 'global', i.e. at the global level, replacing in this string. replace the default values for a replacement only (why? see above...), and adding the 'g' ensures he keeps replacing until it is not find matches more.

    2 see point 1.

    3. uh, yes it's true, but you will need to check very carefully if nothing inside one of these basic models is substituted. You can apply a base style and add substitutions to make look like a subtitle, but that isn't making it a. And to the next paragraph, you can apply a base style and add substitutions to make it look like a paragraph of plain text (etc.). It's a signature of witness to bad formatting...

  • Help about the paragraph and character styles scriptting

    Hi all

    I'm working on a project with many files, I change change on all styles of paragraph with multiple processes

    for ex, change the font for all styles of paragraph on all open documents

              var docs = app.documents;  
                     
              for (var d = docs.length-1; d >= 0; d--) {  
                      var doc=docs[d]; 
                      
    var pstyles = doc.allParagraphStyles;  
    for (var a = 1; a < pstyles.length; a++) {    
                              if (pstyles[a].appliedFont.name=="Arial\tBold")    
                                   pstyles[a].appliedFont = "Arial\tBold Italic";    
                         }
                     }
    

    but I found a text inside frames (the locked position) my find/replace a not to apply to this topic

    so, is there anyway to do this process for all chassis from locked position?

    or at least make the lock of the United Nations to all open documents, but I can only do this for the active doc

    app.activeDocument.pageItems.everyItem (.locked = false)

    Another thing, I tried to change it on all styles of character on the files and I wrote the code with my little knowledge script but it seems does not, any hint please?

              var docs = app.documents;  
                     
              for (var d = docs.length-1; d >= 0; d--) {  
                      var doc=docs[d]; 
                      
    var cstyles = doc.allCharacterStyles;  
    for (var a = 1; a < cstyles.length; a++) {    
                              if (cstyles[a].appliedFont.name=="Arial\tBold")    
                                   cstyles[a].appliedFont = "Arial\tBold Italic";  
                         }
    }
             }  
    

    Thanks in advance

    Maybe your consolidated text block... Try this

    docs var = app.documents.

    for (var docs.length - 1; d = d > = 0; d-) {}

    var doc = docs [d];

    var pgItems = doc.allPageItems;

    for (var a = 0;< pgitems.length;="" a++)="">

    If (pgItems [a] instanceof TextFrame) {}

    While (doc.groups.length > 0)

    doc.groups.everyItem () .ungroup ();

    pgItems [a] .locked = false;      }

    }

    }

  • Change the paragraph by Script Style

    Hello!

    I don't know if this is the right place for this question but since its related to scripting, I'll ask here.

    Is it possible to change the paragraph Styles InDesign with a Script?

    For example, I need set Format1 hyphenation to specific values properties without changing the other properties. For Format2, I need to change other properties such as the Glph scaling.

    Like I need to do this with a lot of files, I suppose that the best way to archive it could be a script.

    Is there someone who had an idea on how to do it?

    Thanks in advance

    Thomas

    You're right, this can be done very effectively with a (relatively) simple script. This is an excerpt from a longer script of mine which covers a changing choice of design of end minutes documents open at once:

    for (i=0; i
    

    For a list of all paragraph properties that you can change, look in the ESTK help or (in a more user-friendly way to read and search) in an online version of these same data: InDesign ExtendScript API (10.0).

  • How to put a new line in the text block using jsx?

    Hello guys,.

    I am concatenating the content of the text block using two JSX, but I want separator as a new line. I have tried \n but does not work please help how to do that.

    var  seperator = "\n" 
    frame1.textItem.contents + seperator + text;
    

    Hi UpendraSengarr,

    Try this:

    var frame1 = app.activeDocument.activeLayer;
    var  seperator = "\r";
    frame1.textItem.contents = frame1.textItem.contents + seperator + "text";
    

    Have fun

  • Create a line for the new entity using createInstance2 with AttributeList


    I use JDeveloper 11.1.2.3.

    I am creating a method in the Module of the Application to create a new entity row in a child table.

    I think I'm to provide the value of the foreign key for the parent table in the AttributeList argument.

    I have search the Forum and carried out a large number of "Googling", but have not been able to find an example where AttributeList is not null.

    Can you point me to an example?

    Thank you

    I created a method in bean managed to add a line through the iterator for the "join table", passing the primary key for each parent table.

    protected void createHistoryForProblem (String or activity, long fkProbrcptReceiptDtl)
    {
    Get the link for the page container
    BindingContainer bindingContainer = this.getBindingContainerByPath("com_gac_apps_receiving_view_requestConformityPaperworkPageDef");
                                                                           
    DCIteratorBinding dcib = (DCIteratorBinding) bindingContainer.get("AllDetailForAProblemForAReceiptIterator");
       
    RowSetIterator rsi = dcib.getRowSetIterator ();

    Insert a new line
    Line newContactRow = rsi.createRow ();

    disable data validation
    newContactRow.setNewRowState (Row.STATUS_INITIALIZED);

    initialize the columns in the row.
    newContactRow.setAttribute ("FkProbrcptReceiptDtl", fkProbrcptReceiptDtl);
       
    newContactRow.setAttribute ("FkProbrcptReceiptActvy", 2);
      
    Insert the new line
    rsi.insertRow (newContactRow);
    rsi.setCurrentRow (newContactRow);
       
    OperationBinding operationBinding = bindingContainer.getOperationBinding ("Commit");

    Object result = operationBinding.execute ();
    If (! operationBinding.getErrors () .isEmpty ())
    {
    StringBuffer sb = new StringBuffer();
         
    List errors = operationBinding.getErrors ();
         
    for (object error: errors)
    {
    SB. Append (error + "/ n");
    }
         
    throw new RuntimeException ("error occurred during the Commission of the data in createHistoryForProblem-" + sb.toString ());
    }
    }

  • Adding anchors based on the paragraph in Javascript Style

    I've read over the documentation for days and just trying to understand how to add an anchor point to a paragraph in javascript style. That's what I have so far:

    main() {} function

    myDoc var = app.activeDocument;

    var num_pars = myDoc.stories [0].paragraphs.length;

    for (i = 0; i < num_pars; i ++) {}

    If (myDoc.stories [0].paragraphs.item (i).appliedParagraphStyle.name == "Title") {}

    aText = app.activeDocument.stories [0] .paragraphs [0];

    aDest = app.activeDocument.hyperlinkTextDestinations.add(aText,{name:aText.contents});)

    }

    }

    }

    What I am doing wrong?

    I thought about it! Thanks for your help! Here is the final code for anyone who could find that I couldn't find before:

    main() {} function

    myDoc var = app.activeDocument;

    var anchorsAddedCnt = 0;

    app.findGrepPreferences.appliedParagraphStyle = "Title";

    app.findGrepPreferences.findWhat = "^."

    var myTitleResult = myDoc.findGrep ();

    for (i = 0; i< mytitleresult.length;="" i++="" )="">

    var anchor = myDoc.hyperlinkTextDestinations.add (myTitleResult [i]);

    Anchor.Name = "A00.01.00";

    Anchor.label = "A00.01.00";

    anchorsAddedCnt += 1;

    }

    Alert ("Added" + anchorsAddedCnt + "anchors");

    $.writeln ("Added" + anchorsAddedCnt + "anchors");

    }

    main();

  • How can I take an anchored frame and return the paragraph tag used?

    I need to analyze through anchored frames and return the tag of paragraph that it is spotted. I can't find a property which returns the paragraph tag. Anyone have any ideas?

    Try this on the anchored frame selected:

    #target framemaker
    
    var doc = app.ActiveDoc;
    var aFrame = doc.FirstSelectedGraphicInDoc;
    var pgf = aFrame.TextLoc.obj;
    
    alert (pgf.Name);
    

    Rick

  • Go to the second picture in the SWF loaded using Adobe AIR

    Hello

    I am a beginner to Adobe AIR. That I am charged an external SWF file in the AIR.

    But I can't go straight to the second image of this external SWF file of the AIR.

    How to load the second image of the external swf file. ?

    Thanks in advance.

    You must wait for function Event.COMPLETE the Loader to trigger to ensure that it is fully charged. After access the content of the loader property to access the MovieClip inside, for example:

    swfloader.addEventListener (Event.COMPLETE, onComplete);

    function onComplete(e:Event):void

    {

    var mc:MovieClip is MovieClip (e.target. content);.

    go to section 2

    mc.gotoAndPlay (2);

    }

  • Retrieves the paragraph formatting with style name

    All the

    kindly help me how to extract the name of definition with example.txt formatting:

    FOR EXAMPLE:

    Name of the style: "Body".

    Font = "15".

    head = "" 18"" "

    Aligh = "Left".

    etc...

    Concerning

    Hurix

    Change by Dave Saunders: something prevents the work answer button. I hope that this edition will reactivate it.

    Hi Hurix,

    Welcome.

    Please indicate the question as answered

    Add the properties you need by following the instructions in the 3rd line.

    Trevor

    // Export Specified Details of Documents ParagraphStyles By Trevor
    // http://forums.adobe.com/thread/1445961?tstart=0
    exportParagraphStyleDetails ("appliedFont pointSize spaceAfter spaceBefore"); // add property names separated by a space - The Style Name is included automatically
    // see http://jongware.mit.edu/idcs6js/pc_ParagraphStyle.html for a list of properties you can add
    
    function exportParagraphStyleDetails (props /* A string list of the desired properties */) {
        doc = app.activeDocument,
        ps = doc.paragraphStyles.everyItem().getElements().slice(0),
        l = ps.length,
        c = 0;
        props = props.replace(/\s+/g, " ").split(" ");
        pl = props.length;
            var styleDetails = [];
        while (l--) {
            var  myStyle = ps[l];
            styleDetails[c++] = "******************************************************************\rParagraph Style Name: " + myStyle.name + "\r******************************************************************"
            for (var n = 0; n < pl; n++) {
                styleDetails[c] = props[n] + ": " + myStyle[props[n]].toString();
                if (myStyle[props[n]].hasOwnProperty ("name")) styleDetails[c] = styleDetails[c].replace (/:.+/, ".name: " + myStyle[props[n]].name);
                c++;
            }
        styleDetails[c++] = "\r";
        }
    
        temp = new File (Folder (Folder.temp) + "/" + doc.name + " Paragraph Style Properties " + ("" + new Date).replace(/:/g,"\xB7").replace(/G\S+$/,"")+ ".txt");
        temp.encoding = "UTF-8";
        temp.lineFeed = ($.os[0]=="M") ? "Macintosh" :" Windows";
        temp.open('w');
        temp.write("\uFEFF" + styleDetails.join("\r"));
        temp.close();
        $.sleep(300);
        temp.execute();
    }
    

Maybe you are looking for

  • Big problem in the finder then the copy of the file trought different drivers

    For my work, I download and archive about 100 GB of photos every time. After upgrading to Mac OS sierra I meet big difficult. 1 copy a lot of files require a lot of time more instead of last osx (about 4-5 times more) 2 - from multiple instances of c

  • Turn Off or sleep?

    I have a macbook air 11 '' and my question is: is better turn it off when you don't use it or leave standby mode?

  • My photo stream

    Hello world... I recently started using icloud and wonder, if I choose to turn off to my pictures, how can I download the pix that are in my photo stream? I pick up these things pretty easily, but don't fear off and lose them! If I turn, then again (

  • I downloaded adobe flash and still does not...

    I have updated my Firefox and Google Chrome and Adobe Flash 3 times but the plug ins don't always work.

  • ct550w - transmitter says "no device".

    Unable to get the sub wireless to work. menu amp--> wireless--> "no device".