16 Replies Latest reply on Jul 8, 2014 7:50 AM by Obi-wan Kenobi

    Drop cap paragraph numbers

    T1mH

      Is it possible to set up paragraph numbers to style like a drop cap?

       

      I have to layout reports that more often than not they require paragraph numbers. These are all set up as numbered lists but I'd like to try something different and display them like a 3 line drop cap.

       

      I've tried all sorts of style tricks but just can't seem to get it to work. Does anyone know if it's possible?

       

      Thanks

        • 1. Re: Drop cap paragraph numbers
          Salah Fadlabi Level 5

          Are you mean something like this:

          1.jpg

          It can do with:

          1- Create paragraph numbers in a separate text frame.

          2- Anchor and Adjust number frame to the body text then apply object style to the frame.

          3- Cut number frame and go to find/change:

          find what: ^.

          change to ~c$0

          2.jpg

          • 2. Re: Drop cap paragraph numbers
            T1mH Level 1

            That is what I'm looking for but I was hoping to be able to do it without having to use a separate text frame for the number. Some of the reports go up to number s like 7.32 so it would mean a lot of extra text frames and annoyingly not all paras have a number. I don't always get a lot of time to layout so extra text frames is going to be a bit of a pain. I'll give it a go though and see how quickly it can be done.

             

            Thank you.

            • 3. Re: Drop cap paragraph numbers
              Obi-wan Kenobi Adobe Community Professional

              Hi,

               

              This is not a valid argument because the regex will "automate" the process. So the Salah's solution is quite correct.

               

              If you want to directly apply an auto-num para style, you can use a little bit different way but the tip will be the same.

              • 4. Re: Drop cap paragraph numbers
                T1mH Level 1

                Ken

                 

                I currently use auto para numbers for section heads and paragraphs but am hoping that I can get them to appear more like a drop cap over a few lines rather than the current indent (just want to try something different for the paragraphs). I can see what Salah's solution is doing and will play with it a bit more but on first impressions it's not what I was hoping to be able to do. Unfortunately for me speed is of the essence and adding another process is going to cause me issues. Reports typically go in excess of 30 pages plus appendices, and as fate would have it I get about 30mins to layout prior to submission.

                 

                I will persist with Salah's solution and see if I can make it work.


                Thanks for the advice

                • 5. Re: Drop cap paragraph numbers
                  Obi-wan Kenobi Adobe Community Professional

                  No need! I going to post you how to play with your actual layout. Give me 5 min.

                  • 6. Re: Drop cap paragraph numbers
                    Obi-wan Kenobi Adobe Community Professional

                    Actually, "Num" para style uses a standard auto-numbering:

                     

                    Capture d’écran 2014-07-08 à 09.23.27.png

                     

                    Use a "DropCaps" char style to fix the drop cap settings:

                     

                    Capture d’écran 2014-07-08 à 09.23.54.png

                     

                    I've created a "Num" object style (see below) that I've applied to a box I've put in a library.

                     

                    Capture d’écran 2014-07-08 à 12.47.11.png

                     

                    Capture d’écran 2014-07-08 à 12.47.28.png

                     

                    So, Now, I import it at the beginning of a para (with Num para style).

                     

                    Capture d’écran 2014-07-08 à 09.24.21.png

                     

                    Capture d’écran 2014-07-08 à 09.24.39.png

                     

                    I cut the anchor marker and then I launch the following regex and replace all.

                     

                    Capture d’écran 2014-07-08 à 09.25.12.png

                     

                    Done!

                     

                    Capture d’écran 2014-07-08 à 09.25.32.png

                     

                    As Salah did, the process is very simple and in fact done in one step with a simple regex.

                     

                    About the block I use with the "Num" object style, It's a empty block with no attribute and nothing in it. Only useful to simulate the drop cap.

                    Don't forget to prevent manual movement (forgotten setting) to lock the block.

                    • 7. Re: Drop cap paragraph numbers
                      T1mH Level 1

                      Thanks Ken

                       

                      That's closer to what I'm after so will tinker with it and get it up and running.

                       

                      Thanks you again.

                       

                      Tim

                      • 8. Re: Drop cap paragraph numbers
                        [Jongware] Most Valuable Participant

                        Obi-wan, how is this easier than

                         

                        1. convert Numbers to Text

                        2. apply standard Drop Caps?

                         

                        BTW: while it seems Step #1 is necessary, you can do without. You have to fake the Drop Cap -- set the Numbering List character style to 270% horizontal and vertical scale and lower the baseline by 12 pt (exact values depend on your font, text size, and number of lines to span), and then force an indent of x lines by inserting a wrapping Anchored Object at the start of each paragraph. (Which, famously, will not work for the first line, but since the number itself is on that line the text will "indent" anyway!)

                         

                        The disadvantage of this method is you have to do some calculating yourself and insert the anchored objects. The advantage ... Auto Numbering still works!

                         

                        drop-cap-auto-num.PNG

                        • 9. Re: Drop cap paragraph numbers
                          Obi-wan Kenobi Adobe Community Professional

                          Hi Jongware,

                           

                          That is exactly what I've written!  Aha! I know my english is awful! 

                          • 10. Re: Drop cap paragraph numbers
                            [Jongware] Most Valuable Participant

                            Obi-wan, my apologies. In the default view, your images are dreadfully downsampled (either that, or my eyes are starting to go), and when I glanced over them I got the idea you created separate boxes to put each of the numbers in (which was my initial idea of solving this). You are entirely correct, and I repeated exactly what you describe above.

                             

                            (But yours is better, because storing as much as possible settings into an object style is always a good idea.)

                             

                            ((Here, have a +1 Like from me. Although I don't know what it's good for ))

                            • 11. Re: Drop cap paragraph numbers
                              Obi-wan Kenobi Adobe Community Professional

                              Jongware, I'm sorry too but we're wrong !!

                               

                              YOU can make auto-numbering and drop cap together! So obvious! [ I'm very tired at the moment!  ]

                               

                              Capture d’écran 2014-07-08 à 14.19.08.png

                               

                              Capture d’écran 2014-07-08 à 14.19.38.png

                               

                              Capture d’écran 2014-07-08 à 14.19.48.png

                               

                              All we need is a little regex:

                               

                              Capture d’écran 2014-07-08 à 14.23.41.png

                               

                              My apologies too!

                              • 12. Re: Drop cap paragraph numbers
                                [Jongware] Most Valuable Participant

                                That must be a secret improvement -- it does not work with CS4 ...

                                • 13. Re: Drop cap paragraph numbers
                                  Obi-wan Kenobi Adobe Community Professional

                                  It works with CS4. It's not a secret improvement. It's only a funny tip I've just thought: the drop cap is applied to the first character of the paragraph and this first character is the space we insert with the regex!

                                  • 14. Re: Drop cap paragraph numbers
                                    T1mH Level 1

                                    Perfect thank you.

                                    • 15. Re: Drop cap paragraph numbers
                                      Salah Fadlabi Level 5

                                      Hi Obi-wan, that's excellent solution.

                                      • 16. Re: Drop cap paragraph numbers
                                        Obi-wan Kenobi Adobe Community Professional

                                        Thank you all 2!

                                        It really was not so obvious. I persisted in thinking that our first two solutions (one of Salah and mine) were relevant but …