Using nets paragraph (or something?) in a character style

Hi all

I am trying to create a character style that will basically 2 things:

-make a white Word

-place a blue box around the word

It's easy to do with paragraph nets, but those who do not seem to work with character styles (?)

I want to style several instances of a word in a document to look like the picture as an attachment. Any suggestions?

Thank you!

Screen Shot 2016-09-07 at 9.01.24 AM.png

Yes, you can do it with a custom underscore and save it as a character style:

https://www.rockymountaintraining.com/Adobe-InDesign-highlighting-text/

Tags: InDesign

Similar Questions

  • Character style shortcut window does not work

    Finally getting around to really using InDesign CS4, I decided to define character styles. Everything went as planned except that when I click in the shortcut window, it flashes, but that's all. Nothing I go to salons and the cursor does not move.

    What should I do to fix this? It's really love to work without the keyboard shortcut.

    May be what you are defined. Styel shortcuts are limited to the use of a modifier key in the drop-down list with a key on the numeric keypad.

  • Use GREP to apply paragraph styles, character styles not only

    I have a body of text, and in it, I would like to apply a specific style to the paragraphs corresponding to a model. I did a GREP style that applied some changes formatting of paragraphs, I tried that it affects, but in doing so, I found that I couldn't Center these lines using a character style. (The corresponding lines should be centered, and the rest should be left aligned.)

    I was thrilled to learn that the GREP function, then completely disappointed with this limitation. InDesign offers the possibility to automate this, so I must not cross and Center each paragraph corresponding to the hand?

    Thank you!

    InDesign provides a way to automate this so?

    Yes and no. There is no dynamically linked paragraph styles to a paragraph about his boss, but he has at least two alternatives:

    (1) use Grep-F/C

    (2) use the script FindChangeByList or MultiFindChange which is basically automate operations F/C

    HTH

    Loïc

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

  • 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

  • best judgment for paragraph styles, object styles and character styles

    I want to learn the criteria difference and use of paragraph styles, object styles and character styles. I know how to use them, but know about the best judgment and context, when you use would be better. Can anyone recommend links? I've been using adobe. Please don't suggest books.

    Paragraph styles are whole paragraphs.

    Character styles are letters or isolated words. Do not use the long of an entire paragraph. Do not set all the attributes, only those who are different for the properties of the paragraph Style. Unlike Quark Xpress, in InDesign are character Styles used only for the difference of isolated words.

    Paragraph styles can include the character automatically Style: Styles, GREP, nested Styles, initial letters, chips automatic & numbers and line styles.

    Object styles , set the frame of the object. They include separate definitions of all of the object, the stroke and fill.

    Object styles can also be applied to images in a frame and groups.

    Object styles may also include in the following paragraph Style and a style of paragraphs in automatic way.

    Object styles have several categories, you can choose which category is relevant to apply. For example, it is possible to apply the first style object to give the stroke and fill and apply a different object style to format the corners only and then apply the next. (With this method last only the applied object Style is linked).

    Styles of the opportunity to make global changes in a document. If you build in a smart way, they are a huge time saver. They can be stored in the CC libraries or libraries with objects that are applied to them. If you have created once these styles, you can use them again, and with one or two clicks, you can make their own to new document.

    My recommendation: the habit of Styles, name them always with the same names that it helps you to be accustomed to them and to work faster, much faster.

    There are more models: Table Styles, Styles of cell, the Master Pages and color chart.

  • My paragraph styles have disappeared and are now appearing as the character styles

    Working on a new site because my old site muse become buggy...

    and now, my paragraph styles have disappeared and are now appearing as the character styles

    Screen Shot 2015-10-13 at 5.07.55 PM.png

    Thank you for sending the files. One of the files does not contain any character or paragraph Styles. In the other, I see the character styles named as paragraph styles. All indications from within the file are that they were created as character styles. The file format includes indications of the type of the style as well on everything that they are applied and in the list displayed in the palette. All of these styles are indicated by styles of characters in both places. The attributes that are in the styles are limited to what is allowed in a character style.

    In some places where the styles are applied, they are applied to the blocks of text or widget and replacements parts for paragraph-level attributes (i.e. h1 tag, space before and after, etc.). This leads me to suspect that they have can be created from blocks of text pointer tool selections (or other elements of text in widgets) and it was perhaps accidental that they have created using character Styles where paragraph Styles Panel rather than the Panel?

  • The different paragraph of distinct character style formatting

    Hello

    In my paper, I have bunch of paragraphs and each begins with the name (two or three words). Character style is applied to each name. Now, I want to add the paragraph after each name of each mark is so in its own paragraph. Of course, I can do it manually, hitting enter after each name, but I was wondering if there is a more efficient way through search/replace or perhaps GREP.

    Thank you!

    m

    Try this on a copy to be sure, but I think finding ^. + and set the format to find the character style, and then change to $0, you can also set the change of any character Style Format and a new paragraph Style that is applied by the character style formatting.

    This will probably leave you with a space at the end of the paragraph, or the beginning of the next. The location will depend on if the style is applied to the space. If this is the end of the paragraph, you can use find find ^(.+) (\s) and change to $1

    If it's at the beginning of the next paragraph, in my opinion, you need a second query, Find ^ /s (leave find it empty format or the value initially attributed the paragraph style) and do not fill the field exchange.

  • How to effectively use character Styles

    Hello, I am fairly new to InDesign, but have extensive experience with FrameMaker. I can't know how better to use character styles to card of identity, because of the difference between her and FM.

    Lets say I have two text styles different bodies that use different fonts or different sizes, each is saved as a paragraph style.

    In Framemaker, when you go into the character Style Editor, for each value you can select the value "such what." So if I want to do a character style "BOLD", I leave the police and set size attributes on "like what" and I change only the weight to the "BOLD" attribute.

    Now, I can choose the body text 1 or 2 for the paragraph style body text and if I want to "BOLD" one word, I just highlight the word and select the character style "BOLD". The text is bold, but everything else that is unique for what remains of paragraph style. If ever I need unbold the word, I can just select it and then select No Style in the character Style catalog

    But in the ID, it looks to set the value of each attribute in the character Style Editor. So I would need to create two styles "BOLD" separate, one for each paragraph style, because if I set the font and size, it will pass these values as well as the weight. And if I need to create a separate "BOLD" character style for each paragraph style in which the default font is not bold, what is the advantage of using character styles? Why don't just highlight the text and select the value "BOLD" to the character palette, which then changes the paragraph style just for these words in bold you?

    In InDesign, leaving an empty frame is the equivalent of "as-is." A character style "BOLD" can function as you want; Simply set the Style of font for "BOLD" and leave everything else intact.

  • Apply the character Style to a few characters in a paragraph

    Hey,.

    Me again - I feel like I'm dumber than a shoe trying to script InDesign

    I have a block of text with several paragraphs, which I am adding one by one.

    When adding these paragraphs, sometimes I need to apply a character style to some of the characters in the paragraph (I have the clues start and end of these characters to the text of the paragraph).

    Using the Guide of the script and the object reference, I cooked up this code below, but not only it doesn't seem to find the character style, she also told me the. itemByRange() is not a function...

    What's wrong?

    var line_styles = [{
        'start': 22,
        'end': 33,
        'style': 'Price - SKU'
    }];
    
    frame.contents += "\r" + line_text;
    frame.parentStory.paragraphs[-1].applyParagraphStyle(style);
    
    for ( var j = 0, k = line_styles.length; j < k; j++ ) {
        var char_style = doc.characterStyles.item(line_styles[j].style);
        frame.parentStory.paragraphs[-1].itemByRange(
            line_styles[j].start,
            line_styles[j].end
        ).applyCharacterStyle(char_style, true);
    }
    

    frame.parentStory.paragraphs[-1].itemByRange(...

    does not compute. "paragraphs [-1]" points to a single paragraph and is not an itemByRange method. You must think of sth like

    frame.parentStory.paragraphs[-1].characters.itemByRange(...

    (Have you used another programming language Javascript front?) A matter of concern for the future: pay attention to your statements 'var '. They do not follow the block scope, as they do in other languages, and therefore persisted in this notation is very likely to bite you back somewhere in the future. Summer, done this, released as well the hair).

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

  • That part of my character style will apply when it is used in a number format.

    I created a NOTE: format. I used a numbering format to create it in the balls and the section number of the paragraph styles dialog box as follows:

    Type from the list: Numbers of

    Format: None

    Number:   NOTE: ^ t

    Character style: My Style of special character

    And here's my character style:
    Stress: WE
    Weight: 15 pt
    Offset:-4
    Color: Black
    Tint: 20%
    And here's the problem:
    Underscore does not show upward when the character style is used since then in the bullets and numbering section of the paragraph style. I can apply the character to plain old text and t style will work fine. But the part of the character style does not appear upward when it is referenced on the bullets and numbers of the screen. Curiously, bar has the same problem. The rest of my work of style attributes (font, color, etc.) of fine character. But underscore does not apply.
    Any ideas as to why?
    Screen shot 2010-03-24 at 2.42.42 PM.png

    Kelly Vaughn wrote:

    I created a NOTE: format. I used a numbering format to create it in the balls and the section number of the paragraph styles dialog box as follows:

    Type from the list: Numbers of

    Format: None

    Number:   NOTE: ^ t

    Character style: My Style of special character

    And here's my character style:
    Stress: WE
    Weight: 15 pt
    Offset:-4
    Color: Black
    Tint: 20%
    And here's the problem:
    Underscore does not show upward when the character style is used since then in the bullets and numbering section of the paragraph style. I can apply the character to plain old text and t style will work fine. But the part of the character style does not appear upward when it is referenced on the bullets and numbers of the screen. Curiously, bar has the same problem. The rest of my work of style attributes (font, color, etc.) of fine character. But underscore does not apply.
    Any ideas as to why?

    In my view, it is a bug known; Notes does not work in this situation, although other attributes of text, such as "BOLD", color, italic, do.

    This forum and Google search terms as to highlight auto-numbering indesign paragraph style to see some beyond the discussions on this topic.

    HTH

    Kind regards

    Peter

    _______________________

    Peter gold

    Know-how ProServices

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

  • Generate list of a document text paragraph/character styles?

    Hello. Does anyone know how to generate a list from a text paragraph/character styles?

    Nothing at all? Use a script! This JavaScript does the trick:

    myFile = File.saveDialog("Store this data, where?", "Plain text:*.txt");
    if (myFile == null)
     exit(0);
    myFile = File(myFile.fsName);
    myFile.open("w");
    myFile.writeln ("Character styles");
    myFile.writeln ("================");
    for (a=1; a
    

    Copy, paste it into a text editor (the editor ESTK which accompanies your InDesign is good). Save it as "storeStyles.jsx" in your Script file. When recording in the right place, it appear automatically in the actions panel. Double-click it to run it.

    Both character and paragraph style tables start the counter to 0, but the first character style is always "[None]", and the first paragraph of the styles are always "[None]" and "[standard paragraph].

Maybe you are looking for