How to apply several styles of one-sentence paragraphs?

I'm using paragraph styles, but is not useful because I am applying 2 different styles in the same sentence that does not work.

To make it work, I selects the sentence, apply the style, for example 'xfont-regular"then I select the word in the sentence that I want to have a different style and I choose in the list perhaps italic police so that it looks like 'something like this'

Of course, in doing so, I lose all the benefits of the use of styles p and of course, it's so your time. Is it possible to break down the sentence, now in the same line, so that I can apply different styles to it? and always keep the benefits to go just to styles and make the changes to the entire document that this style is applied.

Thank you

pchinique wrote:

I'm using paragraph styles, but is not useful because I am applying 2 different styles in the same sentence that does not work.

To make it work, I selects the sentence, apply the style, for example 'xfont-regular"then I select the word in the sentence that I want to have a different style and I choose in the list perhaps italic police so that it looks like 'something like this'

Of course, in doing so, I lose all the benefits of the use of styles p and of course, it's so your time. Is it possible to break down the sentence, now in the same line, so that I can apply different styles to it? and always keep the benefits to go just to styles and make the changes to the entire document that this style is applied.

Thank you

As Diane King mentioned, nested character styles may work for your need. His example was an initial capital of fall (multiline first one or several letters of a paragraph.) Dropped caps are a particular type of nested style - always the very first one or more characters in a paragraph, high on two or more lines.

To use the general type of nested style, you must be able to identify the words in the paragraph which gets the nested character style. For example, the third word, or the first two words after the first semicolon. If there is no model of Word (s) that can be identified by the post office or the sequence, it is possible that a GREP style can be used to find a common pattern of characters and apply a style of character to it, for example a phone number, the date, or the amount of currency that is identified by a dollar sign book, or yuan.

Search Help for InDesign and Google "Style nested InDesign', 'InDesign grep Style' and similar (without the quotes) terms for more details. There has been many discussions of GREP on this forum.

HTH

Kind regards

Peter

_______________________

Peter gold

Know-how ProServices

   

Tags: InDesign

Similar Questions

  • How to merge several layers in one without destroying the layers of origin?

    How to merge several layers in one without destroying the layers of origin?

    joelb2995629 wrote:

    How to merge several layers in one without destroying the layers of origin?

    The solution is a very useful shortcut, but requires a bit of dexterity.

    Of is it: Ctrl + Alt + Shift + e. (Yes, 4 keys at the same time).

    This creates a new layer that is the fusion of visible layers.

    To be on the top layer and don't have ensure that active useful layers.

  • How to apply different styles to several spry accordion panels?

    Hi all

    I have a site I'm building that has several functions that spry accordion.

    I try to apply different styles to each accordion. A problem arises when I try to place an accordion in an another accordion.

    I have style two images of different background for both of the accordians for styles (AccordionPanelTab, AccordionPanelTabHover and AccordionPanelOpen AccordionPanelTabHover) that work very well.

    When I try and place an accordion in an another accordion background image for this Accordion for styles (AccordionPanelTab and AccordionPanelOpen AccordionPanelTabHover) has different style applied that I said in the accordion.css folder, however the style (AccordionPanelTabHover) has the same style as the accordion, it's breast, even if I said a background image in the accordion.css file different.

    I hope this makes sence, below is my source and the CSS Code.

    I appriciate any help that can be given to help solve this issue I'm running too.

    Source code

    < div id = "content" >

    < p > < span class = "first_header_word_packages" > welcome </span > < span class = "header_word_packages" > on our page of packages </span > < / p >

    < class p = "content_txt" > here you can build the package Web site that meets your needs while being able to determine the cost of your site without having to worry about the scary hidden costs at a later date. < /p >

    < class p = "content_txt" > we have two packages available for our clients; < /p >

    < div id = "Accordion1" class = "Accordion" tabindex = "0" >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > < / div >

    < div class = "AccordionPanelContent" >

    Here the text < p > < /p >

    < div id = "Accordion2" class = "Accordion" tabindex = "0" >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > < / div >

    < div class = "AccordionPanelContent" >

    Here the text < p > < /p >

    < / div > <! - end #Accordion2 content - >

    < / div > <!-end #AccordionPanel->

    < / div > <!-end #Accordion2->

    < / div > <! - end #Accordion1 content - >

    < / div > <!-end #AccordionPanel->

    < / div > <!-end #Accordion1->

    < div id = "Accordion3" class = "Accordion" tabindex = "0" >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > < / div >

    < div class = "AccordionPanelContent" >

    Here the text < p > < /p >

    < div id = "Accordion4" class = "Accordion" tabindex = "0" >

    < div class = "AccordionPanel" >

    < div class = "AccordionPanelTab" > < / div >

    < div class = "AccordionPanelContent" >

    Here the text < p > < /p >

    < / div > <! - end #Accordion4 content - >

    < / div > <!-end #AccordionPanel->

    < / div > <!-end #Accordion4->

    < / div > <! - end #Accordion3 content - >

    < / div > <!-end #AccordionPanel->

    < / div > <!-end #Accordion3->

    < / div > <!-end #content->

    CSS

    @charset "UTF-8";

    / * SpryAccordion.css - version 0.5 - Pre - Release Spry 1.6.1 * /.

    / * Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */

    / * This is the selector for the main container of the accordion. For our style by default.

    * draw us left, right and bottom borders. The upper edge of the accordion

    * is made by the first AccordionPanelTab which never moves.

    *

    * If you want to limit the width of the Accordion widget, set a width

    * the accordion container. By default, our accordion expands horizontally to fill

    * a space available.

    *

    * The name of the class ("accordion") used in this switch is not necessary

    * make the widget function. You can use any class name you want to style the

    * Accordion container.

    */

    . Accordion {}

    border-left: 1px solid gray;

    border-right: 1px solid black;

    border-bottom: 1px solid gray;

    overflow: hidden;

    }

    / * This is the selector for the AccordionPanel container which houses the

    * tab panel and panel content area. It is not make it visually, but we

    * ensure that it has zero margin and padding.

    *

    * The name of the class ("AccordionPanel") used in this switch is not necessary

    * make the widget function. You can use any class name you want to style a

    the container of accordion panel.

    */

    . {AccordionPanel}

    margin: 0px;

    padding: 0px;

    }

    / * This is the selector for the AccordionPanelTab. This container houses

    the Panel personnel. It is also the container where the user clicks

    * to open a specific panel.

    *

    * The name of the class ("AccordionPanelTab") used in this switch is not necessary

    * make the widget function. You can use any class name you want to style a

    the container of Accordion Panel tab.

    *

    * NOTE:

    * This rule uses the - moz-user-select and - khtml-user-select properties to prevent the

    * the user to select the text in the AccordionPanelTab. Here is the browser owner

    properties that only work in Mozilla browsers (such as FireFox) and KHTML

    * browsers (such as Safari), so they will not pass the W3C validation. If you want your documents to

    * validate and don't care if the user can select text in an AccordionPanelTab.

    * You can remove these properties without affecting the functionality of the widget.

    */

    . {AccordionPanelTab}

    background-color: #CCCCCC;

    border-top: 1px solid black;

    border-bottom: 1px solid gray;

    margin: 0px;

    padding: 2px;

    cursor: pointer;

    -moz-user-select: none;

    -khtml-user-select: none;

    }

    / * This is the selector for the content area of a Panel. It is important to note that

    * You should never put any padding on the content area of the group if you plan to

    * use the animations of accordion panel. Place padding non-zero on the content

    * area can cause accordion suddenly increase in height, while signs alive.

    *

    * Anyone who styles an accordion * MUST * specify a height on the Accordion Panel

    * Content container.

    *

    * The name of the class ("AccordionPanelContent") used in this switch is not necessary

    * make the widget function. You can use any class name you want to style a

    the container of the accordion panel content.

    */

    . {AccordionPanelContent}

    overflow: auto;

    margin: 0px;

    padding: 0px;

    }

    / * This is an example of how to change the appearance of the tab of the Panel which is

    * currently open. The "AccordionPanelOpen" class is added and removed programmatically

    * to panels as long as the user clicks on the tabs in the accordion.

    */

    . AccordionPanelOpen. {AccordionPanelTab}

    background-color: #EEEEEE;

    }

    / * This is an example of how to change the appearance of the tab of the Panel as the

    * mouse passes over it. The "AccordionPanelTabHover" class is added programmatically

    * and removed containers tab panel as the mouse enters and leaves the tab container.

    */

    . {AccordionPanelTabHover}

    color: #555555;

    }

    . AccordionPanelOpen. {AccordionPanelTabHover}

    color: #555555;

    }

    / * This is an example of how to change the appearance of all the Panel tabs when the

    * Accordion has focus. The class "AccordionFocused" is programmatically added and removed

    * whenever the accordion wins or loses the keyboard focus.

    */

    . AccordionFocused. {AccordionPanelTab}

    background-color: #3399FF;

    }

    / * This is an example of how to change the appearance of the tab of the Panel which is

    * currently open when the accordion is in focus.

    */

    . AccordionFocused. AccordionPanelOpen. {AccordionPanelTab}

    background-color: #33CCFF;

    }

    / * Printing rules * /.

    @media print {}

    . Accordion {}

    overflow: visible! important;

    }

    . {AccordionPanelContent}

    display: block! important;

    overflow: visible! important;

    height: auto! important;

    }

    }

    #Accordion1. {AccordionPanelTab}

    height: 75px;

    Width: 285px;

    Background: url (.. /images/package_spry_tab_bg1.png) ;}

    #Accordion1. AccordionPanelTabHover,

    #Accordion1. AccordionPanelOpen. {AccordionPanelTabHover}

    Background: url (.. /images/package_spry_tab_bg1_RO.png) ;}

    #Accordion2. {AccordionPanelTab}

    height: 44px;

    Width: 469px;

    Background: url (.. /images/packages_spry1.png) ;}

    #Accordion2. AccordionPanelTabHover,

    #Accordion2. AccordionPanelOpen. {AccordionPanelTabHover}

    Background: url (.. /images/packages_spry1_ro.png) ;}

    #Accordion3. {AccordionPanelTab}

    height: 75px;

    Width: 285px;

    Background: url (.. /images/package_spry_tab_bg2.png) ;}

    #Accordion3. AccordionPanelTabHover,

    #Accordion3. AccordionPanelOpen. {AccordionPanelTabHover}

    Background: url (.. /images/package_spry_tab_bg2_RO.png) ;}

    #Accordion4. {AccordionPanelTab}

    height: 44px;

    Width: 469px;

    Background: url (.. /images/packages_spry2.png) ;}

    #Accordion4. AccordionPanelTabHover,

    #Accordion4. AccordionPanelOpen. {AccordionPanelTabHover}

    Background: url (.. /images/packages_spry2_ro.png) ;}


    Good guys.

    I thought about it, if someone had the same problem as me and a look at this thread for the answer, here it is.

    Firstly if you are wanting to separately style two or more Spry accordions that are not on the other example

    Label 1

    Insert content here

    Label 1

    Insert content here

    Do not do this, as long as you have separate ID's for the div (which dreamweaver automatically anyway), you will be fine.

    However if for some reason, you want to put one accordion inside another like I did for example

    Label 1

    Insert content here

    Label 1

    Insert content here

    Too style accordion 1 and 2 so their tabs have different origins and Hover background when the content panel is open and closed you need to style it in CSS that they follow the path;

    CSS

    #Accordion1. {AccordionPanelTab}

    height: 75px;

    Width: 285px;

    Background: url (.. /images/package_spry_tab_bg.png) ;}

    #Accordion1. AccordionPanelTabHover,

    #Accordion1. AccordionPanelOpen. {AccordionPanelTabHover}

    height: 75px;

    Width: 285px;

    Background: url (.. /images/package_spry_tab_bg_RO.png) ;}

    #Accordion2. {AccordionPanelTab}

    height: 44px;

    Width: 469px;

    Background: url (.. /images/packages_spry.png) ;}

    #Accordion2. AccordionPanelClosed. AccordionPanelTabHover,

    #Accordion2. AccordionPanelOpen. {AccordionPanelTabHover}

    height: 44px;

    Width: 469px;

    Background: url (.. /images/packages_spry_ro.png) ;}

    Normally in styling two separate spry accordions, you can simply use the following code

    #Accordion1. {AccordionPanelTab}

    height: 75px;

    Width: 285px;

    Background: url (.. /images/package_spry_tab_bg.png) ;}

    #Accordion1. AccordionPanelTabHover,

    #Accordion1. AccordionPanelOpen. {AccordionPanelTabHover}

    height: 75px;

    Width: 285px;

    Background: url (.. /images/package_spry_tab_bg_RO.png) ;}

    The only difference with the style one Spry Accordion in another so that they have different horizons stationary when the content panel is open and closed ".» AccordionPanelClosed ".

    Hope this has helped someone who had the same problem, I was.


  • I need an idea how to put several videos on one page

    Several videos on one page in Muse needed of a portfolio of video...

    Someone at - it an idea how this can be please. (or point me to a tutorial link - one is all that I can find)

    I'm happy with either integrated or Menu related objects for videos.

    Hosting YouTube videos

    I can't find a way to put hyperlinks or URLS into objects and I can't find a way to make small video players in Muse.

    If I resized the container... things look very weird. for example, the video will tiny and in a corner.

    I feel that I work with half a Toolbox!

    I can not even find a model where this has been done.

    Any help is appreciated. Thanx.

    Hello

    You can use a widget of composition for this purpose.

    Place the widget Youtube library widget within the 'target' of the composition and resize both the objective and the widget youtube according to your wish.

    Kind regards

    Rohit Nair

  • How change/apply a style/styleName in a mosaic page

    Hello
    I ' try to set up a page for un composite application.
    I used le Group of experts complex type () " ""<: view panel label =" ComplexPanel " styleName ="TabbedPanelStyle">") . and I would like to to know How can I change the styleName (custom) or even create my own style
    sheet and apply it to my mashup page.
    Is as possible ? If so, how?
    et where is the different attributes of " styleName " ?
    Thanks in advance

    In particular, see the section create a composite application-> skins to use in the file of the application-> apply custom styles

    http://help.Adobe.com/en_US/enterpriseplatform/10.0/AEPDeveloperGuide/WS2ff6a5055c1467b7-4 aec0869131761cca4f - 7ffe.html

    Jocelyn

  • How to scan several documents into one PDF

    How to scan several documents into single PDF - have no ADF

    Thanks - great app

  • How to apply a style object with attributes

    Hi all
    I'm working on InDesign CS4 plugin. and to apply the style to the object on the page elements.
    When I apply the style of the object to the page element, only an object style is applied to these elements on the page, but do not ask for its attribute.
    for example, TextFrameObjectStyle that have the stroke value 8, while TextFrameObjectStyle is appying but stroke value does not apply.
    The source code which I use as follows;
    ------------------------------------------------------------------------------------------ -----------------------------------------------------------------------------

    IStyleGroupManager InterfacePtr < IStyleGroupManager > (document-> GetDocWorkSpace(), IID_IOBJECTSTYLEGROUPMANAGER);

    ObjectStyleUID UID = iStyleGroupManager-> FindByName (inStyleNameStr);

    InterfacePtr < ICommand > applyObjectStyleCmd(CmdUtils::CreateCommand(kApplyObjectStyleCmdBoss));)

    IUIDData InterfacePtr < IUIDData > (applyObjectStyleCmd, UseDefaultIID());

    iUIDData-> Set (db, objectStyleUID);

    applyObjectStyleCmd-> SetItemList (splineUIDList);

    CmdUtils::ProcessCommand (applyObjectStyleCmd);

    ------------------------------------------------------------------------------------------ --------------------------------------------------------------------------------

    Please let me know if I'm missing something else?

    Kind regards

    Jitendra

    Get IObjectStylesSuite of ISelectionManager and use of ApplyObjectStyle

    Thanks and greetings

    Saurabh Singhal

    SR. InDesign developer

    [email protected]

  • How quickly apply a style that is located in a group of style?

    I'm just trying apply a style to a table cell. Imagine myRow has been set for the row in the table, I work with, and My Fancy Style is the cell style that I created in my InDesign document.

    myRow.cells.item (0) .appliedCellStyle = "My Fancy Style."

    apply apparently this style quickly and without fuss. But now, if I created a style Group called fancy Styles through the InDesign user interface, and put my cell Style fancy inside, so I don't know any way to call directly as a string of text. It is possible somehow as:

    myRow.cells.item (0) .appliedCellStyle = "Styles of fantasy / My Fancy cell Style ';"

    of course I know does not work. I ask if there is a way as to make what I hope. Thank you!

    Why not just

    myStyle = app.documents [0].cellStyleGroups.item ("fancy Styles'). cellStyles.item ("Fancy cell Style");

    Peter

  • How is it possible to have several styles for one order

    Hello

    I have a CSS associated with my MXML file. Now, how can I connect all these things to my TextInput, for example by below, I can only assign police size, how do I connect all these styles at once to my TextInput


    < name mx:Label = 'User name' width = '80' x = '89' y = '80' text = "UserName" styleName = "p" >

    It's my external css file

    {.h1}
    font size: 24;
    }
    .p {}
    font size: 50;
    }
    .a {}
    text-decoration: underline;
    }
    {.a:hover}
    Color: #FF0000;
    }

    Thanks in advnace.

    Hello

    Try to combine your statements.

    {.newStyle}

    font size: 50;

       text-decoration: underline;
    }

  • How to transfer several photos from one folder to another

    I want to delete a number of photos in my folder and then transfer some blocks of them to other folders to better organize. I know how to remove one at a time, but I don't know how to highlight a bunch of them for moving.  They are coming up with numbers, like 079, 080, 081 etc but not on a list where I can highlight.  I also want to do the same with several short videos I have.  By the way, I have transferred all this media from my iphone / ipad and everything came automatically - that is why I need now to separate and organize especially if I want to send copies to parents and friends.

    I want to delete a number of photos in my folder and then transfer some blocks of them to other folders to better organize. I know how to remove one at a time, but I don't know how to highlight a bunch of them for moving.  They are coming up with numbers, like 079, 080, 081 etc but not on a list where I can highlight.  I also want to do the same with several short videos I have.  By the way, I have transferred all this media from my iphone / ipad and everything came automatically - that is why I need now to separate and organize especially if I want to send copies to parents and friends.

    ==========================================
    You can select multiple by holding your CTRL key while left
    by clicking on the thumbs or file names.

    You can also select groups of photos by selecting one...
    While holding down your shift key and select another further
    fixing the list. All photos between the two selected will be
    chosen too.

    Move photos from one folder to another.

    With the thumbnail selected... type... CTRL + x. sa is the
    keyboard shortcut for "cut". Selected thumbnails are
    bland and appear grey.

    Open the folder that you want to move the photos to, and then type...
    CTRL + V. sa is the keyboard shortcut for paste.

  • Is it possible to apply several styles of an entire text paragraph using GREP?

    Hello.

    I have a very complicated text, with a lot of formatting. It's a book liturgical altar, (Missal). He has a particular text for each day, it is in Latin and every paragraph, every day, as it's own particular formatting, including color in words, special characters, etc.. Very interesting work of InDesign. (Maybe I'll give more details later.)

    GREP will make things much easier. But I was wondering if there is there any tool which allows to have a group of GREP querys and apply a different paragraph style to all matches in the text, ALL IN ONE tool. (I know the search/replace tool, but I was looking for something even better.)

    It would be a great idea (I think) for future versions of InDesign, don't you think?

    I have many more questions on this project, but I will try to research as much as possible without having to open new positions. More details to come later.

    The can request handler that string together you a list of the various operations of fin/change GREP in a single operation, so you can set a query for each style, that you need, and then perform a single operation.

  • How to apply the Style to some words in a paragraph (or table)?

    I have a table with the #'s. Some numbers have a note marked with an asterisk.

    For example:

    A01-121600

    A01-121602

    A01-121608 *.

    A01-121610

    A01-121611 *.

    And in this table, there are hundreds of part # s with some with reference asterisks scattered through. I wish that the asterisks to be red in color and a smaller font size. So I created a character style to reflect that.

    So, my question is there a way to apply this new character Style to the entire table, then each asterisk is changed?

    Thank you.

    The find/replace field allows you to apply a character Style to all the text found.

    Another option: If all the text in your table is formatted with a paragraph Style, you could add a GREP style to add this character Style to all instances of an asterisk in the text of this paragraph Style. This way, if the new numbers of the asterisk was added later, the asterisk turns to Red style automatically.

  • How to make several styles of Korean fonts in Windows 7?

    I want to choose styles of police in Korean.  I now have only a font style.

    Hello

    I suggest you to download the Korean language for Windows from the link: http://windows.microsoft.com/en-US/windows/downloads/languages

    Install using Windows Update language packs: http://windows.microsoft.com/en-US/windows/downloads/install-languages-with-windows-update

    Install or change a display language: http://windows.microsoft.com/en-US/windows7/Install-or-change-a-display-language

    For your reference:

    Change Windows fonts: http://windows.microsoft.com/en-US/windows7/change-Windows-fonts

    Fonts: Frequently asked questions: http://windows.microsoft.com/en-US/windows7/Fonts-frequently-asked-questions

    Hope this information is useful.

  • How to move several JPEGs from one file to another not to drag and drop.

    I'm a prolific snapper and need to move from an intermediate file jpeg images to a monthly file without the risks of drag and drop. Anything involving pictures would be useful.

    Copy / paste? What dangers drag and drop represent them?

    Your question is vague. Is it a complete folder of images? Or a selection from a folder of images?

    Some possibilities: Automator, Hazel, AppleScript, you can do even in applications like Lightroom if you wish.

    But hard to advise without some details.

  • How can you put several style of character class?

    @How you can put several style of character class?

    If I put: low magenta tooltip centre-left w150 slide down

    Adobe Muse done: Tooltip-magenta-bottom-left-center-w150-slide-down

    Can I apply several styles of character at a time?

    1 - tool - tip

    2 - magenta

    3 bottom

    4 left

    5 - Center

    6 - w150

    7 drag-down

    Not without coding, each time after Muse has updated the code of the web page...

Maybe you are looking for

  • Does Vista support Core Duo on Satellite A100

    Recently I bought laptop Satellite A100-784 with Core Duo CPU and pre-installed Vista Home Basic and I have a question about. Among all the tables of comparison of the different versions of Vista that I found on the Internet, it has been said that Vi

  • How can I remove text enhance my computer

    I need to remove text improve my labtop I don't know where it comes from, but it appears throughout the day

  • HP 15F009wm SM Bus driver issues in Windows 7 Downgrade

    I read through many forums and have uninstalled and reinstalled the chipset driver, but I can't get the smbus controller to install.  I am running Win7 pro 32-bit.  I was able to get everything installed and working.  Any suggestions?  Thank you very

  • only local connectivity persists

    Always of the problems with the 'local only' connectivity with windows Vista. Have tried at least 3-4 different "fixes" but none of them work. I have ensured that 4 IPV is enabled and unchecked IPv 6. Can use the help by checking the properties and t

  • How to enable SYNC on

    In the accounts, I select my e-mail account and it says SYNC OFF.  How do I turn it on?