Multiple typefaces in the same paragraph style

I use APA formatting pretty often, and headings at the third level begin indented with bold for the title, followed by a period, and then the text for that paragraph, not bold.
Example:
     Going to the movies. Going to the movies can be a fun...
Is there a way to create a paragraph style that begins bold, but once the first period is entered the rest of the text goes to regular (not bold) text? I think I've seen this in Microsoft Word.
Thanks.

For that, you have to write an if condition.
Something like that should do it
if (time*thisComp.FrameDuration < 108){
Revols = thisComp.layer("NbTour").transform.opacity
ease(time, (12/24), (108/24), -9, Revols*-360);
}else{
// here your code to do after the frame 108

Similar Messages

  • Using "Next style" with the same paragraph style for more than one paragraph

    Hi.
    I have been using paragraph styles with the "next style" option, it's a huge help. But I need a bit more. So I have the following paragraph structure: ABCCCABCCCAB...
    I defined paragraph styles for each kind of paragraph, then in paragraph style A, I added paragraph style B as the next style, and so on. However, when I get to paragraph style C I reach a dilemma. Should I define the next style as the same, or define three paragraph C styles (C1, C2 and C3), link them to each other with next style, and then loop the C3 style into the A style again?
    My hope is that there is a way, something like the nested style options, that allows me to define that style C should be used for 3 paragraphs and then the next style becomes style A again.
    Thanks.

    You just need two styles, almost identical, you can duplicate one.  The only
    difference is one has the next paragraph c and one has the next paragraph
    a.  After that I don't see the problem.

  • Multiple record data merge into paragraph styles-applies the wrong style

    Hi, I've been working on this project for sometime and everytime I manage to get one part of the workflow to work another seems to break. My agency publishes catalogs in multiple formats: large-print, audio, braille, and HTML. I've been trying to redesing our work process so that the catalogs will be laid out from merged data out of comma-separated file. The data merges have worked fairly well in Word, but InDesign is a challenge. I'm merging multiple records on a page, like a mailing label. The paragraphs need to be formatted and I'm trying to apply a paragraph style to them. After much work, I think I've finally got the data merge to work correctly, but the wrong paragraph styles are applied. I'm going to apply a new master page to the data once the data is merge that uses the paragraph styles for text variable running headers and I need to build a table of contents based on the paragraph styles so I need this to work. Attached are some screenshots.
    Master page set up for data merge with paragraph styles:
    Here is the merged document with the wrong paragraph styles applied:
    I have only a few weeks to get this process ironed out to keep to our rigorous production schedule. If anyone can help I would really appreciate it.
    thanks,
    Lina

    I don't remember this happening in past versions. But I mainly use XML. And a quicky test converting your file to XML worked fine (and besides, it ends up all in continuous text frames...).
    I don't do much GREP. But you can do this via a Find/Replace.
    First, in your main document, you can delete the tags--but do this on a second copy of your working file!
    Change your Content Placement options to not remove blank lines (these are in the Datamerge panel).
    Then after the merge, change the format of the two blank lines at the beginning of the records without the two lines of data:
    Note the Change Format style is changing those two paragraphs to Title.
    Then rerun the find to remove the two blank paragraphs.
    I suspect this can be done easier. I am sitting awaiting an appointment and cannot go much further than this for now, sorry.

  • How can I have use the same div ID multiple times on the same page?

    Okay so a problem I encounter a lot is that often times I want to use the same div ID several times on the same page. An example of this is when I'm creating table like designs.
    Let's say for instance I create a div ID called 'product-container'. I want to use 'product-container' multiple times on the same page but if I do this it is improper XHTML and will throw errors in any XHTML validator (you are only allowed to use a div ID once on any XHTML page in order for it to be standards compliant).
    Now the first option is that I could define 'product-container' in my CSS style sheet multiple times by doing something like this...
    #product-container {
         width: 300px;
    #product-container-2 {
         width: 300px;
    #product-container-3 {
         width: 300px;
    #product-container-4 {
         width: 300px;
    What you will see there however is that it seems pointless to define the same ID numerous times over (just adding a number on the end) when each ID is the exact same thing and has the exact same attributes.
    Now what I have noticed is that there are some sites out there who manage to have the same ID appear several times in the code but add a number to it just like above. The difference is that they only have one definition for 'product-cointainer' in their CSS document but in their actual XHTML code they have IDs for 'product-container' but with numbers on the end like 2,3,4,5, etc. It's almost as if JavaScript or some other code is automatically appending a number on the end of the ID so the validator won't consider the markup to be invalid, but yet it knows that it's using the same 'product-container' style that is contained in the CSS style sheet.
    I hope I explained this correctly. I'm just hoping to find a way that I can put the same div ID on a page multiple times without having to define it over and over again in my CSS.
    Any help is much appreciated!

    Because it seems like by using a class you can't make this position as 
    well as you can by using an ID. Am I wrong?
    An ID name can be used only one time per page.  A class name can be used multiple times per page.
    .product {
    width: 300px;
    text-align:left;
    color: #FF0000
    border: 2px solid #666;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Multiple HighlightPainters for the same JEditorPane

    Hey Everyone,
    I'm having a problem having highligts of multiple colors for the same text component.
    Basically I have a set of results in a separate panel for a search on the text in a JEditorPane. I want the text corresponding to all the search results to be highlighted one color as soon as the search is done, and when one specific search result is clicked on, have the highlight for that result's text change to a different color.
    My current implementation is trying to do this by setting highlights for all the search results, and then when a result is clicked on, setting another highlight with another highlight painter of a different color. Unfortunately, this causes only the second higlight color to be displayed, even though when I look at the editorpane's highlights i can see all of them are being stored.
    Is there something I'm misunderstanding about Highlights?
    Thanks for any help,
    Phil.

    This example shows some ways of playing with attributes and highlights:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.text.*;
    public class TextPaneAttributes extends JFrame
         JTextPane textPane;
         JScrollPane scrollPane;
         Highlighter.HighlightPainter cyanPainter;
         Highlighter.HighlightPainter redPainter;
         public TextPaneAttributes()
              textPane = new JTextPane();
              textPane.setMargin( new Insets(20, 20, 20, 20) );
              StyledDocument doc = textPane.getStyledDocument();
              DefaultHighlighter highlighter = (DefaultHighlighter)textPane.getHighlighter();
              cyanPainter = new DefaultHighlighter.DefaultHighlightPainter( Color.cyan );
              redPainter = new DefaultHighlighter.DefaultHighlightPainter( Color.red );
              //  Set alignment to be centered for all paragraphs
              MutableAttributeSet standard = new SimpleAttributeSet();
              StyleConstants.setAlignment(standard, StyleConstants.ALIGN_CENTER);
              doc.setParagraphAttributes(0, 0, standard, true);
              //  Define a keyword attribute
              MutableAttributeSet keyWord = new SimpleAttributeSet();
              StyleConstants.setForeground(keyWord, Color.red);
              StyleConstants.setFontSize(keyWord, 24);
              StyleConstants.setStrikeThrough(keyWord, true);
              //  Define superscript attribute
              MutableAttributeSet superscript = new SimpleAttributeSet();
              StyleConstants.setSuperscript(superscript, true);
              //  Add initial text
              textPane.setText( "one\ntwo\nthree \nfour\nfive\nsix\nseven\neight\n" );
              //  Change attributes on some keywords
              doc.setCharacterAttributes(0, 3, keyWord, false);
              doc.setCharacterAttributes(20, 4, keyWord, false);
              //  Highlight some text
              try
                   textPane.getHighlighter().addHighlight( 4, 7, cyanPainter );
                   textPane.getHighlighter().addHighlight( 25, 28, cyanPainter );
                   textPane.getHighlighter().addHighlight( 35, 40, cyanPainter );
                   textPane.getHighlighter().addHighlight( 15, 20, redPainter );
              catch(BadLocationException ble) {}
              //  Add some text
              try
                   doc.insertString(0, "Start of text\n", null );
                   doc.insertString(doc.getLength(), "End of text\n", keyWord );
                   doc.insertString(doc.getLength(), "2", null );
                   doc.insertString(doc.getLength(), "1", superscript );
              catch(Exception e) {}
              //  Add text pane to frame
              scrollPane = new JScrollPane( textPane );
              scrollPane.setPreferredSize( new Dimension( 200, 200 ) );
    //          scrollPane.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
              getContentPane().add( scrollPane );
              //  Create a Button panel
              JPanel buttons = new JPanel();
              getContentPane().add(buttons, BorderLayout.SOUTH);
              //  Add a Bold button
              JButton bold = new JButton( new StyledEditorKit.BoldAction() );
              buttons.add( bold );
              //  Add Right Alignment button
              JButton right = new JButton( new StyledEditorKit.AlignmentAction("Align Right", StyleConstants.ALIGN_RIGHT) );
              buttons.add( right );
              //  Add Remove Highlight button
              JButton remove = new JButton("Remove Highlight");
              buttons.add( remove );
              remove.addActionListener( new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        int offset = textPane.getSelectionStart();
                        Highlighter.Highlight[] highlights = textPane.getHighlighter().getHighlights();
                        for (int i = 0; i < highlights.length; i++)
                             Highlighter.Highlight h = highlights;
                             DefaultHighlighter.DefaultHighlightPainter thePainter =
                                  (DefaultHighlighter.DefaultHighlightPainter)h.getPainter();
                             if (offset >= h.getStartOffset()
                             && offset <= h.getEndOffset())
                                  textPane.getHighlighter().removeHighlight(h);
         public static void main(String[] args)
              TextPaneAttributes frame = new TextPaneAttributes();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setVisible(true);

  • IDCS3 Getting the "next paragraph style" to work

    Hi there Adobe Forum.
    If you make a paragraph style there is an option that allows you to choose which paragraph style will follow the current one. But I can't seem to get it to work. If I just select one paragraph in my document and make it have a paragraph style that has got a "next style" option in it, the next paragraph does not change.
    I tried to select all the paragraph and do the same thing, but then they all just got that paragraph style, no next.
    How do you do to make this work? It would be really smart to just select the first paragraph of a text and then choose "ingress paragraph style", which is followed by "first paragraph", which is followed by "normal text". And then be done with it.
    Any clues?

    Select them all then in right click the first paragraph style in the
    paragraph styles panel. Select apply style and next style.
    Bob

  • Sharing one iTunes library across multiple accounts on the same Mac

    Hello, I've poked around at some of the posts dealing with sharing one iTunes music library across multiple accounts on the same Mac but it seems like this can only be done if the libary is moved to a shared folder. I realize this can be done but I was trying to share it the way it is described in a post on Apple support (See link below.). That post seemed to imply that you don't have to move the library from its original location (owned by account A, e.g.), rather just make a couple preference changes in the accounts, use fast user switching and voila. That doesn't seem to work. So my question is this: Is the only way to share one iTunes music library across multiple accounts on the same Mac to move it to a shared folder? I'm running 10.4.8 on an Intel iMac. Thanks in advance!
    http://docs.info.apple.com/article.html?artnum=93195

    After reading this and several other related threads, I am becoming thoroughly confused about all of this. I have a situation similar to the one that pokerpal described in the post dated January 7 at 8:06 pm, except that the music files on my system are located on an external hard drive. Everything else is pretty much the same though - I am the admin user (and the main iTunes user and maintainer) and my girlfriend is a standard user who has no music in her own iTunes library. She can see and listen to and make playlists from and sync her iPod with the music in this library from her account, and I can do the same thing, independent of her, from my account. And if I make a change to information within a song, she doesn't see it, and vice versa, and I understand that. What I don't understand is why when I add a song or an album to the music files by importing a CD or downloading something from the iTunes Music Store, she has no way of knowing that unless I tell her, and then she can add it to her library by using the "Add to Library" function. Is there no way of automatically updating her library files to add the new song(s)? We have almost 15,000 songs and videos in that library, and I don't even want to think about what might have to happen if the answer to my question is "no." Interestingly enough, if I put an update to a Word document in the same exact location (on the hard drive), we can update that and pass it back and forth all day - why is that such a difficult task for iTunes to accomplish?
    Sorry I went on so long, but this has been building up for some time, and none of the solutions I've read about here have really been of any help, so I'm a bit frustrated and, as I said at the beginning, confused.
    iMac G5, MacBook   Mac OS X (10.4.8)  

  • How to play one clip multiple times at the same time?

    I am writing a little game where a certain sound has to be played quite frequently. I load it as a Clip and play it with
    myClip.setFramePosition(0);
    myClip.loop(0);If the sound has to be played again but is still being played by another event, the setFramePosition() method resets the sound and the first playing instance is cut off.
    A workaround would be that each object that needs to play this sound would get its own copy, but that is not feasible due to heavy memory consumption.
    So here it goes: How can I play a single sound multiple times at the same time? Is that possible?
    Edited by: andrasz on Feb 27, 2009 12:37 AM

    If the sound has to be played again but is still being played by another event, the setFramePosition() method resets the sound and the first playing instance is cut off.
    A workaround would be that each object that needs to play this sound would get its own copy, but that is not feasible due to heavy memory consumption.
    So here it goes: How can I play a single sound multiple times at the same time? Is that possible?Ummmm, if you're using a clip, you'll have to maintain one copy per object that needs to play the sound concurrently. You could keep one master copy, and then create copies of the clip as necessary to play them, and then just dump the copies to decrease memory consumption.
    A second idea would be to write your own Clip class. Esentially, all you would need to do is dump some sound data onto a TargetDataline to play it. It'll handle the buffering and playing at the correct speed itself. If that's all you did, you should be able to dump multiple times from the same instance and play it multiple times.
    Obviously, that's just a theory. In practice, it may not work that way...

  • There are multiple users with the same display name

    Hi,
    We have a user and when she get an item assigned to her she sees the following alert:
    "There are multiple users with the same display name USERNAME and at least one of them does not have read permissions to some of the files"
    Now I looked in the database and when I run the following query with the username:
     SELECT     
         [ProviderDisplayName]  
        ,[DisplayName]  
        ,[HasDisplayName]  
        ,[Domain]  
        ,[AccountName]  
        ,[UniqueUserId]  
        ,[LastSync]  
      FROM [Tfs_Configuration].[dbo].[tbl_Identity] where displayname like '%USERNAME%'  
    Then I get 2 same usernames back, How can I get rid of one of them ? When I access TFS trough the portal I only find 1 occurence of this user.
    We use VS2013 and TFS2013 update 4
    Best regards

    Hi DSW,  
    Thanks for your post.
    In your query result, please check if these two users have the same Account Name. if they are two different Account Name in result, it indicate there’s two users have the same display name in your AD, please check that two users’ information in
    your AD. We suggest change one user’s display name in AD.  
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How open multiple responsibilities in the same user login session in R12 ?

    Dear All,
    Can anyone help me to know how to open multiple responsibility in the same user login session in R12 ?
    Thanks..
    Edited by: G-oracle on Sep 18, 2011 11:22 AM

    Can anyone help me to know how to open multiple responsibility in the same user login session in R12 ?What do you mean by open multiple responsibilities in the same session? You can only see the menu of one responsibility at a time, so how to do you expect the application to let you see multiple responsibilities/menus in one session?
    You could open another session and this way you can access more than one responsibility at the same time.
    Thanks,
    Hussein

  • Can you use sync on multiple computers at the same time? ie have someone else logged into your firefox account for you whilst you are also logged in

    I am trying to sign up to something but there is only a short window so was going to ask a friend to sign in at the same time using my account to try to sign up (with my password being saved into my firefox account)

    Hi. Yes, you can use Sync on multiple devices at the same time. I use it to keep my bookmarks in sync across my desktop and Android versions of Firefox.

  • How can I combine multiple variations of the same library?

    While I have become accustomed to the new Library format/function there are still things that boggle my mind.  Case in point is that I now somehow have multiple versions of the same event showing up although I didn't create them.  And there is also a combination of 2 separate events that I just don't understand.  My current main concern/question is how to combine the duplicitous events?:
    At the top you'll see "Perlick" as the Library and "Beer Cooler" as the Event.  Then down below there is the "Perlick 20140502_1515_CDT".  When I opened the media drive that contains the Perlick event I found a total of 3 "extra" libraries with various long titles as the one just listed.  So, my question is can I somehow combine all of this into one, all-inclusive Library and if so, how?
    Thanks in advance...

    Hello There,
    Try and use tcode VT01N.
    Provide the collective shipment there
    and then click on deliveries & select multiple deliveries there.
    Hope it can assist you
    Thanks & Regards
    JP

  • How can multiple files for the same genre be consolidated

    I organize my iTunes files in genre folders for easy access. ITunes creates multiple folders for some genres and allows a single (preferred) genre file for other much larger files. How can I consolidate multiple files with the same genre?

    Thanks. I've done what you selected. The problem is that despite all files being identified with the same genre, iTunes groups some genres in two separate folders. Thus, I have two "Country" folders, for example. More perplexing is that iTunes groups my largest genre folder, "Jazz", in a single folder.

  • How can I save multiple titles under the same DVD?

    I use HandBrake to rip DVD's into iTunes. How can I save multiple titles under the same DVD? For instance, I have a Jimi Hendrix documentary that comes with special features, such as concert performances. I would like to have the main feature and the special features saved in my iTunes under the same title, perhaps as different 'tracks' (kind of like how different songs can be saved under the same album).
    Is there a way for me to do this, or am I chasing phantoms?

    *This response is for iPhoto 11 (v9). If you're using an earlier version, please post back and let us know. Troubleshooting steps are not the same for different versions. To find out which iPhoto you have: iPhoto Menu -> About iPhoto)*
    Duplicate the photo first. (Photos -> Duplicate). This means that you will have multiple copies of the master as well as the edited version.
    If you use versions like this often and wish to have only one master then you can do this with Aperture.
    Regards
    TD

  • Is there a way to delete multiple pictures at the same time from the iphone4s?

    Is there a way to deleter multiple pictures at the same time, from my iphone4s? I know how to delete one at a time. Thanks

    Open your Photos App > Camera Roll > At the top right corner you will see a rectangle with a right arrow, select that. Now you can select as many photos as you want and you can hit the red Delete button on the bottom right.

Maybe you are looking for

  • Macbook Pro crashed after express slot usage. MBP will not startup.

    Hello, My Macbook Pro (MBP) 17" core2duo 2.8Ghz. Snow Leopard OSX10.6.3. I use my MBP's Express card slot to transfer SxS video cards, and sometimes connect to eSata drives. With each usage it seems to be unstable. Often when trying to eject card or

  • How to convert a JSP page into a PDF file?

    I am calculating and generating a bill in JSP? I want the output JSP page from the server to get converted to a PDF file. How to do this? Please help me doing this!

  • Upgrading Pages help needed ASAP

    I have a store bought version of Pages for my Mac which is currently version 4.3.  I need the latest version to open a document I edited on Pages for ipad.  Since I didn't purchase Pages through the app store how can i upgrade it?

  • Displaying the table based on number of records.

    Hi Experts, I want to display a normal table based on the records, if there is only one record then only one row should be displayed on the table, if there are 2 records then 2rows should be displayed on the table with the data, if they are more than

  • Wireless guest access with Airspace

    I understand the Airspace products have some guest access capability built into them. I have a hotel customer that has the following requirments. First, he will have an AP in each conference room. He would have each AP set up with a different SSID. T