Analogy for paragraph vs character styles?

Hello

I have a level of proficiency in InDesign, and I'm always confused when I have to use paragraph or character styles. I like to use analogies to help me understand the complicated things. Can someone crafting an analogy to help me understand the difference between the two and when should I use one or the other?

Thank you!

Paragraph styles for formatting paragraphs.

for example

Centered paragraph style

Text tex tex tex hjfkdlshjklf hsdfd

GIS Gisiger sana gfd gfd gfdsgfd

GFD gfd Gisele Gisele Gisele Gisele Gisele giry

Gisèle gf dg fds Gisèle sgfdsgfds Giry Giry.

Character styles to format of words or letters in a paragraph

Character style "BOLD"

Italic character

Text tex tex tex hjfkdlshjklf hsdfd

GIS Gisiger sana gfd gfd gfdsgfd

GFD gfd Gisele Gisele Gisele Gisele Gisele giry

italic Gisiger gf dg fds Gisèle Giry sgfdsgfds.

Tags: InDesign

Similar Questions

  • Apply OverprintFill option for all paragraph and character Styles

    Hello

    How can I request an OverprintFill option in all of paragraph and character styles in javascript. See my code below

    jsx. Coding: -.

    var mypstyle = app.documents.item (0).paragraphStyles.everyItem () .getElements ();

    for (i = 0; i < mypstyle.length; i ++)

    {

    mypstyle [i] .overprintFill = true;

    }

    Alert ("Done")

    Just change the loop as below:

    var mypstyle = app.documents.item (0).paragraphStyles.everyItem () .getElements ();

    for (i = 1; i

    {

    mypstyle [i] .overprintFill = true;

    }

    Alert ("Done")

    Vandy

  • InCopy paragraph and character styles

    Have been upgraded from CS3 to CS5 and our editors have a ton of paragraph and character style pré-séries. I was wondering if there was a way to import these to InCopy CS3 to InCopy CS5. I searched for them in the program files and the folder of application but data had no chance of finding.

    Open paragraph styles menu and choose load all styles. Find the file that has these defined styles.

    Bob

  • Add a suffix to all of paragraph and character styles.

    As the title suggests, first of all I would like to add a suffix to all of paragraph and character styles:

    Title 1 = position 1_p

    Bold_p = "BOLD"

    Also, if possible, replace the space with an underscore:

    Title 1 = Heading_1_p

    Chapter No. 1 = Chapter_Heading 1_p

    You're not sure if this need of a script or two?

    Any help would be fantastic.

    See you soon

    Or use code below to replace all spaces with "_".

    For the paragraph Styles:

    myStyles = myDoc.paragraphStyles;

    for (oneStyle = 2; oneStyle)<>

    {

    myStyles [oneStyle] .name = myStyles [oneStyle].name.replace (/ / g, '_') + "_p";

    }

    For character Styles:

    var mycStyleslen = myDoc.characterStyles.length;

    for (a = 1;

    {

    myDoc.characterStyles [a] .name = myDoc.characterStyles [a].name.replace (/ / g, '_') + "_p";

    }

    Shonky

  • 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...

  • InDesign for Word keeping paragraph and character styles

    Hello

    How can you export an ID document / story in a way that Word will be kept for paragraph styles?

    Is this possible?

    Screen Shot 2016-05-10 at 16.55.26.pngScreen Shot 2016-05-10 at 16.53.30.png

    The screenshots were made by placing the Word document in ID, what I want is the opposite.

    That styles must be created in ID and appear in word.

    Thank you

    Export to RTF Format

  • What happens if I don't use paragraph and character Styles?

    I was told that do not use character and paragraph styles makes the files 'unstable '. So everything we manually change is in danger to be changed apparently at random. I have worked in hundreds of InDesign files for several months and have never seen a problem where this is indeed the case. I did a quick search online and on these forums, but I've not found anything directly related to what will happen if the styles have been changed manually. So, what happens if you do not use character and paragraph styles?

    I don't see that there is nothing "unstable" do not use styles, but as mentioned, they make your life easier by providing a single place to make changes that affect all the text containing the tag with the style.

    An important feature/reason for the use of the character styles is that they take precedence over paragraph styles, if a particular word needs to be styled differently to surrounding text, bolded or italicized, for example, you can add a character style that modifies only the bold or italic style type. Subsequent changes to the paragraph style will affect the face and size, if these attributes are changed, but leave your word in bold or italics, bold or italic. If you use "local formatting" (select the word, and apply the formatting) you may lose when styles to change or remove overrides, which is probably the 'random change' you have heard.

    Peter

  • How to use paragraph and character styles properly?

    I have a document in which the text has two colors (which has no style)

    Black (normal) and Red (to highlight the keywords).

    I needed to put these 2 in a style

    (black) paragraph style

    (red) character style

    Here's my question.

    How can I make sure that when I use the paragraph style, she also uses the style of character but only on the Red words?

    While I need not find/replace every word manually

    I want to do at once.

    If you want to add styles to a document already created:

    (1) create your character style that contains only the color of the characters

    (2) search and replace a text with red color search and replace with the new character style formatting. (Do not type anything in the text portion of the find and Replace dialog box)

    (3) create and apply your paragraph style to all. The text with the applied character Style will stay red.

  • 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;      }

    }

    }

  • Print descriptions of paragraph and character Style...

    InDesign: is it STILL possible to print the specifications of type through the character and paragraph Styles?

    You should not! Essential elements for a cool job!

  • [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

  • [JS InDesign CS3] Style groups, Caprice in colors! (or: how to make the styles of paragraph and character off groups style?)

    Sorry for this question (and my terrible English, incidentally), I'm a javascript noob and I know when I reached my limits.

    Well, I'm taking a set of paragraph and character style groups styles, they are placed in hundreds of InDesign documents (which cannot be regarded as a book). As much as I've tried (thanks to the invaluable help of previous messages in this forum), I was able to move a style to a group and change its position within the group, inside root-level, or between the groups. But it is not matter how I try, I don't know which move reference should I try in case I want to take each style outside the style group and place them after their original level group, folder style [Root].

    I tried:

    var doc=app.activeDocument;
    var pGroups=doc.paragraphStyleGroups;
    
    for (i=pGroups.length-1; i>=0; i--){
         var pStylesInGroup=pGroups[i].paragraphStyles;
         for (j=pStylesInGroup.length-1; j>=0; j--){
    // Here I am, trying to move a style outside the folder that contains it, and failing miserably.
              pStylesInGroup[j].move (LocationOptions.after, pGroups[i]);
         }
    }
    

    He did not, the script has sent an invalid parameter value in the reference field, so I can't use the folder of the group itself as reference.

    Tried (obviously false) alternatives, such as the first available style using as reference. So my second script was

    var doc=app.activeDocument;
    var pStyles=doc.allParagraphStyles;
    var pGroups=doc.paragraphStyleGroups;
    
    for (i=pGroups.length-1; i>=0; i--){
         var pStylesInGroup=pGroups[i].paragraphStyles;
         for (j=pStylesInGroup.length-1; j>=0; j--){
    // Now I try placing the styles after the [Basic Paragraph], that is, the second paragraph style in the document style list 
              pStylesInGroup[j].move (LocationOptions.after, pStyles[1]);
         }
    }
    
    

    It did not work either, another invalid parameter in the reference field. Similar results with my other attempts (I even tried "[Root]" as literal with similar luck).

    So my question is: what command (or script, in case my approach is quite wrong) should I use to accomplish my goal?

    Thanks in advance to those who decide to spend more than a minute thinking about my humble worries and my apologies for some of your lines of code Ripper shamelessly for my purposes.

    Well, tried a few things and I really weird results!

    1. you can move a style within its group.

    2. you can move a style to one group "to" the other, but it will appear "inside" of this style. I got my style of test as a subdivision of [standard paragraph], using index #1. By the index 0 # InDesign ([no paragraph Style]) crashed.

    3. you can duplicate the style, but then you get a copy of the same group. Still no luck.

    4 finally! What is the parent of a paragraph style?

    Document | Request | ParagraphStyleGroup

    'Application' is easy - it's when you do a global style. So, what's the difference between 'Document' and 'paragraphStyleGroup '? Single - well, when you get finally he...

    pStylesInGroup[j].move (LocationOptions.AT_END, doc);
    

    move the style out of the Group and at the end of the list in the document. I don't think it's possible to move directly to a specific position in the main style list - you first need to move a group, then move it around in its own list.

    Fortunately, he returns his new position as a definition once again, if necessary, you can use

    newStyle = pStylesInGroup[j].move (LocationOptions.AT_END, doc);
    newStyle.move (LocationOptions.AFTER, pStyles[1]);
    

    -I haven't really tried this possibility, but it should work.

  • default or any text in a character style sheet

    Hello

    I'm trying to style text using paragraph and character style sheets, I built. When I create a new text box and import text from a Word file, all the text I have import default values to one of my character style sheets. Before importing the text, I have check the cursor inside the empty box and the paragraph style is standard paragraph and character style is 'none '. Yet, when I import text, it is always default to a specific character style I created.

    Any help with this would be greatly appreciated.

    Thank you

    Nick

    Check your paragraph styles to see that you do not use the nested styles or GREP styles except when you need it. You can have a nested style that does not turn off the coast.

    While your description indicates this isn't the problem, it is worth checking. There is a bug in InDesign, where it applies a default character imported text style. You set the default character style by selecting a character style while no text block is selected and that you not change any text. If there is a default character style, click None for the value None as the default character style.

  • find MANUALLY applied character styles

    Hi all

    We switch to an XML stream, and as one of our interim steps we are applying tags to paragraph and character styles in some of our documents. I am aware of the ability to map styles to tags and it should work for paragraph styles well. However, we are looking for a way to map only character styles that were applied manually.

    For example, we have a paragraph style for instructions which has some "BOLD" nestled at the beginning of each paragraph. In other places, the same style of characters may be used for "BOLD" a specific word, but it is applied manually. It is possible to map the tags THAN character styles that were applied manually? We do not want the labels identifying the character styles that have been applied through nested Styles or GREP Styles.

    I guess it would take some kind of script, that's why I write in the forum script. Anyone know if this is possible?

    Thanks in advance,

    Matthew

    Hi Matt,

    Please try to code below, hope this helps.

    applyTag("bold", "b");
    applyTag("italic", "i");
    
    function applyTag(StyleName, TagName)
    {
    app.findTextPreferences = null;
    app.findTextPreferences.appliedCharacterStyle = StyleName;
    list = app.activeDocument.findText();
    app.findTextPreferences = null;
    while (list.length)
    {
         next = list.pop();
         if (next.appliedCharacterStyle == app.activeDocument.characterStyles.item(StyleName))
         {
              next.associatedXMLElements[0].xmlElements.add(TagName, next)
         }
    }
    }
    

    Shonky

  • Convert the local Word to indesign character style formatting

    Hello

    I have a Word doc with local formatting (no paragraph or character style)

    Is there a way I can convert all text which is Times New Roman Italic in a style of character so that I can format everything at the global level?

    Any help in this would be be surprising (250 pages)

    Find > Find format > basic character formats > Font Style > Italic

Maybe you are looking for

  • Firefox crashes at startup, can not run except in safe mode

    When I try to open Firefox, it crashes immediately. I can only run in safe mode. I have not installed just recently I can think that it would affect. Here's the latest crash report 5 IDs: bp-a0f9cb98-1e79-4ade-9313-4b8f32130320 bp-ce2412c3-4611-4586-

  • Tecra A2: Can't get modem to work

    I have a Tecra A2 and I am trying to connect to the internet via the modem, but I get message errorr 633-"the modem is already in use or is not configured properly" I looked in the device under Ports Manager, there "Communication Port (COM3)"Under "M

  • SYNCHRONIZATION with Microsoft Outlook 2003...

    I would also like to sync to Outlook, so I can transfer my data to Date, address and Notepad to my Blackberry Torch 9810. I have the Palm 4.1.4 version and I have Outlook 2003. Do I have to change my settings for Outlook 2003? Can you PLEASE help? I

  • my cursor keeps jumping everywhere when I type. How to stop this.

    My cursor keeps jumping everywhere when I type. How can I stop this?

  • ReadOnly problem

    I just downloaded MS Streets & Trips on a DVD. The files that I create are designated read-only. I've tried right-clicking on the program, go to the general tab uncheck the read-only, but it is NOT checked. Suggestions? Windows 7.