8 Replies Latest reply on May 10, 2017 2:44 AM by Dative

    Small Caps/Text Variables

    Dative

      I've set my text variables to use my chapter titles but the chapter titles are in small caps, I don't want to start the chapter title with a capital but I do want the text variable to be capitalised. I remember getting it to work somehow on a old file but I can't remember how I did it.

       

      Any ideas?

        • 1. Re: Small Caps/Text Variables
          Barbara Ash Adobe Community Professional

          I don't quite understand the question. Are you saying that you want the chapter titles to be small caps, but you want the text variable to be regular caps?

          • 2. Re: Small Caps/Text Variables
            Dative Level 1

            Hi Barbara,

             

            Sorry I was slightly sleep deprived and didn't explain myself particularly well!

             

            I'm using a text variable to set my running heads, the text variable is using a paragraph style to take the content from the chapter titles. I want the running head to be in normal title case and the chapter title to be in small caps but all 'lowercase' i.e. without a cap at the beginning. For example, I want to be able to type 'Introduction' into the chapter title but it appear as ALL small caps (without a cap at the beginning) and still retain the cap for the running head.

             

            I should be able to do it by setting the paragraph style for the chapter title to 'Opentype All Small Caps' but with the typeface I'm using it doesn't work so I need another way round. I tried using the 'change case' option in the text variable but unfortunately the 'Title Case' option won't work for some of the chapters.

            • 3. Re: Small Caps/Text Variables
              [Jongware] Most Valuable Participant

              Dative  wrote

               

              I should be able to do it by setting the paragraph style for the chapter title to 'Opentype All Small Caps' ...

               

              It sounds as if this was exactly the trick you used before. But ...

               

              Dative  wrote

               

              ... with the typeface I'm using it doesn't work ...

               

              Either a font supports this option, or it does not. There is nothing InDesign can change about that. So ...

               

              Dative  wrote

               

              —so I need another way round. I tried using the 'change case' option in the text variable but unfortunately the 'Title Case' option won't work for some of the chapters.

               

              No. You cannot use any of the case-changing options on text variables.

               

              "OpenType All Small Caps" only works because it does not need to change the contents of the variable. There is no way to change the contents of an automatic variable.

               

              You'll have to revert to creating separate master pages for all of the chapters where you need this; alternatively, invest in a plug-in such as In-Tools Power Headers, which does this without batting an eyelid: Power Headers | in-tools.com .

              • 4. Re: Small Caps/Text Variables
                Dative Level 1

                I was afraid this may be the case! Thanks anyway! I'll look into Power Headers.

                • 5. Re: Small Caps/Text Variables
                  Obi-wan Kenobi Adobe Community Professional

                  Hi,

                   

                  2 variables! 

                   

                  Capture d’écran 2017-05-10 à 11.14.07.png

                   

                  (^/)

                  • 6. Re: Small Caps/Text Variables
                    Dative Level 1

                    I did consider something like this, couldn't quite think how to make it work though? Could you explain a little more?

                    • 7. Re: Small Caps/Text Variables
                      Obi-wan Kenobi Adobe Community Professional

                      Just define 2 variables based on char styles!

                      These char styles have no settings!

                       

                      For the first char:

                       

                      Capture d’écran 2017-05-10 à 11.25.30.png

                       

                      for the title (except the first char):

                       

                      Capture d’écran 2017-05-10 à 11.25.41.png

                       

                      In the header, you'll insert the 2 variables!

                       

                      You just need to have the titles in lowercases!  [There's scripts for that!]

                       

                      The "Title" para style includes the "small caps" setting.

                       

                      To apply the 2 char styles, 2 simple regex:

                       

                      Capture d’écran 2017-05-10 à 11.32.23.png

                       

                      Capture d’écran 2017-05-10 à 11.33.55.png

                       

                      (^/) 

                      • 8. Re: Small Caps/Text Variables
                        Dative Level 1

                        Bravo sir!