Equation size similar to text size

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I am trying to write my class notes using LaTeX, and sometimes I need to explain how to get from one result to the next in the middle of an equation. To do this, I use an arrow that points to a smaller text where the explanation is. But the problem arises when this text contains both words and math expressions, because the sizes of both do not match. This can be seen in the following example:



documentclass[a4paper,12pt]article
usepackage[spanish]babel
usepackageamsmath
usepackage[utf8]inputenc
begindocument
I am doing some calculations here.
[int_SBcosalphahspace*1mmdSundersetbiggdownarrow
=Bcosalphaint_SdS]
parhspace*4cm$textfootnotesizesomething happens with scriptstylecosalpha$
enddocument


In the output, $cosalpha$ looks too small compared to the text that comes before it. Are there any other commands used to specify size in math mode, that can produce a result between the normal size of math expressions and the size I can get using scriptstyle?










share|improve this question



















  • 2




    Unrelated: you should replace hspace*1mm in the integral with a thin unbreakable space (,).
    – Bernard
    29 mins ago










  • Please note that font commands such as footnotesize are switches and don't take arguments
    – samcarter
    3 mins ago














up vote
2
down vote

favorite












I am trying to write my class notes using LaTeX, and sometimes I need to explain how to get from one result to the next in the middle of an equation. To do this, I use an arrow that points to a smaller text where the explanation is. But the problem arises when this text contains both words and math expressions, because the sizes of both do not match. This can be seen in the following example:



documentclass[a4paper,12pt]article
usepackage[spanish]babel
usepackageamsmath
usepackage[utf8]inputenc
begindocument
I am doing some calculations here.
[int_SBcosalphahspace*1mmdSundersetbiggdownarrow
=Bcosalphaint_SdS]
parhspace*4cm$textfootnotesizesomething happens with scriptstylecosalpha$
enddocument


In the output, $cosalpha$ looks too small compared to the text that comes before it. Are there any other commands used to specify size in math mode, that can produce a result between the normal size of math expressions and the size I can get using scriptstyle?










share|improve this question



















  • 2




    Unrelated: you should replace hspace*1mm in the integral with a thin unbreakable space (,).
    – Bernard
    29 mins ago










  • Please note that font commands such as footnotesize are switches and don't take arguments
    – samcarter
    3 mins ago












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I am trying to write my class notes using LaTeX, and sometimes I need to explain how to get from one result to the next in the middle of an equation. To do this, I use an arrow that points to a smaller text where the explanation is. But the problem arises when this text contains both words and math expressions, because the sizes of both do not match. This can be seen in the following example:



documentclass[a4paper,12pt]article
usepackage[spanish]babel
usepackageamsmath
usepackage[utf8]inputenc
begindocument
I am doing some calculations here.
[int_SBcosalphahspace*1mmdSundersetbiggdownarrow
=Bcosalphaint_SdS]
parhspace*4cm$textfootnotesizesomething happens with scriptstylecosalpha$
enddocument


In the output, $cosalpha$ looks too small compared to the text that comes before it. Are there any other commands used to specify size in math mode, that can produce a result between the normal size of math expressions and the size I can get using scriptstyle?










share|improve this question















I am trying to write my class notes using LaTeX, and sometimes I need to explain how to get from one result to the next in the middle of an equation. To do this, I use an arrow that points to a smaller text where the explanation is. But the problem arises when this text contains both words and math expressions, because the sizes of both do not match. This can be seen in the following example:



documentclass[a4paper,12pt]article
usepackage[spanish]babel
usepackageamsmath
usepackage[utf8]inputenc
begindocument
I am doing some calculations here.
[int_SBcosalphahspace*1mmdSundersetbiggdownarrow
=Bcosalphaint_SdS]
parhspace*4cm$textfootnotesizesomething happens with scriptstylecosalpha$
enddocument


In the output, $cosalpha$ looks too small compared to the text that comes before it. Are there any other commands used to specify size in math mode, that can produce a result between the normal size of math expressions and the size I can get using scriptstyle?







fontsize






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 34 mins ago









Phelype Oleinik

17.4k43771




17.4k43771










asked 1 hour ago









Wild Feather

871110




871110







  • 2




    Unrelated: you should replace hspace*1mm in the integral with a thin unbreakable space (,).
    – Bernard
    29 mins ago










  • Please note that font commands such as footnotesize are switches and don't take arguments
    – samcarter
    3 mins ago












  • 2




    Unrelated: you should replace hspace*1mm in the integral with a thin unbreakable space (,).
    – Bernard
    29 mins ago










  • Please note that font commands such as footnotesize are switches and don't take arguments
    – samcarter
    3 mins ago







2




2




Unrelated: you should replace hspace*1mm in the integral with a thin unbreakable space (,).
– Bernard
29 mins ago




Unrelated: you should replace hspace*1mm in the integral with a thin unbreakable space (,).
– Bernard
29 mins ago












Please note that font commands such as footnotesize are switches and don't take arguments
– samcarter
3 mins ago




Please note that font commands such as footnotesize are switches and don't take arguments
– samcarter
3 mins ago










4 Answers
4






active

oldest

votes

















up vote
2
down vote













Writing up your own class notes is a perfect situation for using TikZ. I take a rather different approach from you, but you already have several answers following your lead. I just want to illustrate a different approach to this.



enter image description here



documentclass[12pt]article
usepackageamsmath

usepackagetikz
usetikzlibrarycalc
usetikzlibraryarrows.meta
newcommandtikzmark[1]tikz[remember picture,overlay]node (#1) ;
newenvironmentmynote[1]
begintikzpicture[remember picture,overlay,#1]
endtikzpicture


begindocument

I am doing some calculations here.
[
int_SBcosalphahspace*1mmdS tikzmarkAL=tikzmarkAR BtikzmarkBLcosalphatikzmarkBRint_SdS
]

beginmynote

path ($(AL.north)!0.5!(AR.north)$)
node (startA) -- ++(35:1in)
node[anchor=west,
draw,
rounded corners]
(noteA)
footnotesize something happens with $cosalpha$;

path ($(BL.south)!0.5!(BR.south)$)
node (startB) -- ++(180+35:1in)
node[anchor=east,
draw,
rounded corners]
(noteB)
footnotesize $cosalpha$ is a constant;

draw[arrows=-Stealth]
(noteA) to[out=180,in=60]
(startA);

draw[arrows=-Stealth]
(noteB) to[out=0,in=180+60]
(startB);



endmynote

enddocument





share|improve this answer






















  • Very very nice. +1.
    – Sebastiano
    15 mins ago

















up vote
2
down vote













Using explicit hspace commands is rarely required. You probably want that the explanation text is centered below the arrow, so just do it with an array.



I defined a command in order to avoid complex input.



documentclass[a4paper,12pt]article
usepackage[utf8]inputenc % not required since 2018-04-01
usepackage[T1]fontenc % required for Spanish
usepackage[spanish]babel
usepackageamsmath

newcommandexplanation[3][Big]%
underset%
beginarray@c@
#1downarrow \
makebox[0pt]scriptsize #3
endarray
#2%


begindocument

I am doing some calculations here.
[
int_S Bcosalpha,dS
explanation[bigg]=something happens with $cosalpha$
Bcosalphaint_S,dS
]

enddocument


You can also change the size of the arrow with the optional argument (default Big).



Note also that in order to separate the differential, , (thin space) is much better than hspace1mm. Also, the T1 encoding is recommended (better, required) for Spanish, or hyphenation would be very problematic.



enter image description here






share|improve this answer



























    up vote
    0
    down vote













    I hope taht I have understand your request. Here there are two options:



    1. option



    enter image description here



    documentclass[a4paper,12pt]article
    usepackage[spanish]babel
    usepackageamsmath
    usepackage[utf8]inputenc
    begindocument
    I am doing some calculations here.
    [int_SBcosalphahspace*1mmdSundersetbiggdownarrow
    =Bcosalphaint_SdS]
    parhspace*4cmtextrmfootnotesizesomething happens with $cosalpha$
    enddocument


    2. option:



    enter image description here



    documentclass[a4paper,12pt]article
    usepackage[spanish]babel
    usepackageamsmath
    usepackage[utf8]inputenc
    begindocument
    I am doing some calculations here.
    [int_SBcosalphahspace*1mmdSundersetbiggdownarrow
    =Bcosalphaint_SdS]
    parhspace*4cmtextrmsomething happens with $cosalpha$
    enddocument





    share|improve this answer






















    • -1 not a single of your cos alpha is in the desired font size
      – blub
      6 mins ago










    • I see carefully that you are persecuting me.
      – Sebastiano
      5 mins ago

















    up vote
    0
    down vote













    I think the construct with using text... is unnecessarily complicate. You could simply have the text outside math mode and place cosalpha as an inline math expression. If you change the font size for this part of the text, the font size of the inline math expression will adjust accordingly:



    documentclass[a4paper,12pt]article
    usepackage[spanish]babel
    usepackageamsmath
    usepackage[utf8]inputenc
    begindocument
    I am doing some calculations here.
    [int_SBcosalpha,dSundersetbiggdownarrow
    =Bcosalphaint_SdS]
    parhspace*4cm footnotesize something happens with $cosalpha$
    enddocument


    enter image description here






    share|improve this answer






















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "85"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f453660%2fequation-size-similar-to-text-size%23new-answer', 'question_page');

      );

      Post as a guest






























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      2
      down vote













      Writing up your own class notes is a perfect situation for using TikZ. I take a rather different approach from you, but you already have several answers following your lead. I just want to illustrate a different approach to this.



      enter image description here



      documentclass[12pt]article
      usepackageamsmath

      usepackagetikz
      usetikzlibrarycalc
      usetikzlibraryarrows.meta
      newcommandtikzmark[1]tikz[remember picture,overlay]node (#1) ;
      newenvironmentmynote[1]
      begintikzpicture[remember picture,overlay,#1]
      endtikzpicture


      begindocument

      I am doing some calculations here.
      [
      int_SBcosalphahspace*1mmdS tikzmarkAL=tikzmarkAR BtikzmarkBLcosalphatikzmarkBRint_SdS
      ]

      beginmynote

      path ($(AL.north)!0.5!(AR.north)$)
      node (startA) -- ++(35:1in)
      node[anchor=west,
      draw,
      rounded corners]
      (noteA)
      footnotesize something happens with $cosalpha$;

      path ($(BL.south)!0.5!(BR.south)$)
      node (startB) -- ++(180+35:1in)
      node[anchor=east,
      draw,
      rounded corners]
      (noteB)
      footnotesize $cosalpha$ is a constant;

      draw[arrows=-Stealth]
      (noteA) to[out=180,in=60]
      (startA);

      draw[arrows=-Stealth]
      (noteB) to[out=0,in=180+60]
      (startB);



      endmynote

      enddocument





      share|improve this answer






















      • Very very nice. +1.
        – Sebastiano
        15 mins ago














      up vote
      2
      down vote













      Writing up your own class notes is a perfect situation for using TikZ. I take a rather different approach from you, but you already have several answers following your lead. I just want to illustrate a different approach to this.



      enter image description here



      documentclass[12pt]article
      usepackageamsmath

      usepackagetikz
      usetikzlibrarycalc
      usetikzlibraryarrows.meta
      newcommandtikzmark[1]tikz[remember picture,overlay]node (#1) ;
      newenvironmentmynote[1]
      begintikzpicture[remember picture,overlay,#1]
      endtikzpicture


      begindocument

      I am doing some calculations here.
      [
      int_SBcosalphahspace*1mmdS tikzmarkAL=tikzmarkAR BtikzmarkBLcosalphatikzmarkBRint_SdS
      ]

      beginmynote

      path ($(AL.north)!0.5!(AR.north)$)
      node (startA) -- ++(35:1in)
      node[anchor=west,
      draw,
      rounded corners]
      (noteA)
      footnotesize something happens with $cosalpha$;

      path ($(BL.south)!0.5!(BR.south)$)
      node (startB) -- ++(180+35:1in)
      node[anchor=east,
      draw,
      rounded corners]
      (noteB)
      footnotesize $cosalpha$ is a constant;

      draw[arrows=-Stealth]
      (noteA) to[out=180,in=60]
      (startA);

      draw[arrows=-Stealth]
      (noteB) to[out=0,in=180+60]
      (startB);



      endmynote

      enddocument





      share|improve this answer






















      • Very very nice. +1.
        – Sebastiano
        15 mins ago












      up vote
      2
      down vote










      up vote
      2
      down vote









      Writing up your own class notes is a perfect situation for using TikZ. I take a rather different approach from you, but you already have several answers following your lead. I just want to illustrate a different approach to this.



      enter image description here



      documentclass[12pt]article
      usepackageamsmath

      usepackagetikz
      usetikzlibrarycalc
      usetikzlibraryarrows.meta
      newcommandtikzmark[1]tikz[remember picture,overlay]node (#1) ;
      newenvironmentmynote[1]
      begintikzpicture[remember picture,overlay,#1]
      endtikzpicture


      begindocument

      I am doing some calculations here.
      [
      int_SBcosalphahspace*1mmdS tikzmarkAL=tikzmarkAR BtikzmarkBLcosalphatikzmarkBRint_SdS
      ]

      beginmynote

      path ($(AL.north)!0.5!(AR.north)$)
      node (startA) -- ++(35:1in)
      node[anchor=west,
      draw,
      rounded corners]
      (noteA)
      footnotesize something happens with $cosalpha$;

      path ($(BL.south)!0.5!(BR.south)$)
      node (startB) -- ++(180+35:1in)
      node[anchor=east,
      draw,
      rounded corners]
      (noteB)
      footnotesize $cosalpha$ is a constant;

      draw[arrows=-Stealth]
      (noteA) to[out=180,in=60]
      (startA);

      draw[arrows=-Stealth]
      (noteB) to[out=0,in=180+60]
      (startB);



      endmynote

      enddocument





      share|improve this answer














      Writing up your own class notes is a perfect situation for using TikZ. I take a rather different approach from you, but you already have several answers following your lead. I just want to illustrate a different approach to this.



      enter image description here



      documentclass[12pt]article
      usepackageamsmath

      usepackagetikz
      usetikzlibrarycalc
      usetikzlibraryarrows.meta
      newcommandtikzmark[1]tikz[remember picture,overlay]node (#1) ;
      newenvironmentmynote[1]
      begintikzpicture[remember picture,overlay,#1]
      endtikzpicture


      begindocument

      I am doing some calculations here.
      [
      int_SBcosalphahspace*1mmdS tikzmarkAL=tikzmarkAR BtikzmarkBLcosalphatikzmarkBRint_SdS
      ]

      beginmynote

      path ($(AL.north)!0.5!(AR.north)$)
      node (startA) -- ++(35:1in)
      node[anchor=west,
      draw,
      rounded corners]
      (noteA)
      footnotesize something happens with $cosalpha$;

      path ($(BL.south)!0.5!(BR.south)$)
      node (startB) -- ++(180+35:1in)
      node[anchor=east,
      draw,
      rounded corners]
      (noteB)
      footnotesize $cosalpha$ is a constant;

      draw[arrows=-Stealth]
      (noteA) to[out=180,in=60]
      (startA);

      draw[arrows=-Stealth]
      (noteB) to[out=0,in=180+60]
      (startB);



      endmynote

      enddocument






      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited 13 mins ago

























      answered 18 mins ago









      A.Ellett

      34.9k1063162




      34.9k1063162











      • Very very nice. +1.
        – Sebastiano
        15 mins ago
















      • Very very nice. +1.
        – Sebastiano
        15 mins ago















      Very very nice. +1.
      – Sebastiano
      15 mins ago




      Very very nice. +1.
      – Sebastiano
      15 mins ago










      up vote
      2
      down vote













      Using explicit hspace commands is rarely required. You probably want that the explanation text is centered below the arrow, so just do it with an array.



      I defined a command in order to avoid complex input.



      documentclass[a4paper,12pt]article
      usepackage[utf8]inputenc % not required since 2018-04-01
      usepackage[T1]fontenc % required for Spanish
      usepackage[spanish]babel
      usepackageamsmath

      newcommandexplanation[3][Big]%
      underset%
      beginarray@c@
      #1downarrow \
      makebox[0pt]scriptsize #3
      endarray
      #2%


      begindocument

      I am doing some calculations here.
      [
      int_S Bcosalpha,dS
      explanation[bigg]=something happens with $cosalpha$
      Bcosalphaint_S,dS
      ]

      enddocument


      You can also change the size of the arrow with the optional argument (default Big).



      Note also that in order to separate the differential, , (thin space) is much better than hspace1mm. Also, the T1 encoding is recommended (better, required) for Spanish, or hyphenation would be very problematic.



      enter image description here






      share|improve this answer
























        up vote
        2
        down vote













        Using explicit hspace commands is rarely required. You probably want that the explanation text is centered below the arrow, so just do it with an array.



        I defined a command in order to avoid complex input.



        documentclass[a4paper,12pt]article
        usepackage[utf8]inputenc % not required since 2018-04-01
        usepackage[T1]fontenc % required for Spanish
        usepackage[spanish]babel
        usepackageamsmath

        newcommandexplanation[3][Big]%
        underset%
        beginarray@c@
        #1downarrow \
        makebox[0pt]scriptsize #3
        endarray
        #2%


        begindocument

        I am doing some calculations here.
        [
        int_S Bcosalpha,dS
        explanation[bigg]=something happens with $cosalpha$
        Bcosalphaint_S,dS
        ]

        enddocument


        You can also change the size of the arrow with the optional argument (default Big).



        Note also that in order to separate the differential, , (thin space) is much better than hspace1mm. Also, the T1 encoding is recommended (better, required) for Spanish, or hyphenation would be very problematic.



        enter image description here






        share|improve this answer






















          up vote
          2
          down vote










          up vote
          2
          down vote









          Using explicit hspace commands is rarely required. You probably want that the explanation text is centered below the arrow, so just do it with an array.



          I defined a command in order to avoid complex input.



          documentclass[a4paper,12pt]article
          usepackage[utf8]inputenc % not required since 2018-04-01
          usepackage[T1]fontenc % required for Spanish
          usepackage[spanish]babel
          usepackageamsmath

          newcommandexplanation[3][Big]%
          underset%
          beginarray@c@
          #1downarrow \
          makebox[0pt]scriptsize #3
          endarray
          #2%


          begindocument

          I am doing some calculations here.
          [
          int_S Bcosalpha,dS
          explanation[bigg]=something happens with $cosalpha$
          Bcosalphaint_S,dS
          ]

          enddocument


          You can also change the size of the arrow with the optional argument (default Big).



          Note also that in order to separate the differential, , (thin space) is much better than hspace1mm. Also, the T1 encoding is recommended (better, required) for Spanish, or hyphenation would be very problematic.



          enter image description here






          share|improve this answer












          Using explicit hspace commands is rarely required. You probably want that the explanation text is centered below the arrow, so just do it with an array.



          I defined a command in order to avoid complex input.



          documentclass[a4paper,12pt]article
          usepackage[utf8]inputenc % not required since 2018-04-01
          usepackage[T1]fontenc % required for Spanish
          usepackage[spanish]babel
          usepackageamsmath

          newcommandexplanation[3][Big]%
          underset%
          beginarray@c@
          #1downarrow \
          makebox[0pt]scriptsize #3
          endarray
          #2%


          begindocument

          I am doing some calculations here.
          [
          int_S Bcosalpha,dS
          explanation[bigg]=something happens with $cosalpha$
          Bcosalphaint_S,dS
          ]

          enddocument


          You can also change the size of the arrow with the optional argument (default Big).



          Note also that in order to separate the differential, , (thin space) is much better than hspace1mm. Also, the T1 encoding is recommended (better, required) for Spanish, or hyphenation would be very problematic.



          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 12 mins ago









          egreg

          686k8418283078




          686k8418283078




















              up vote
              0
              down vote













              I hope taht I have understand your request. Here there are two options:



              1. option



              enter image description here



              documentclass[a4paper,12pt]article
              usepackage[spanish]babel
              usepackageamsmath
              usepackage[utf8]inputenc
              begindocument
              I am doing some calculations here.
              [int_SBcosalphahspace*1mmdSundersetbiggdownarrow
              =Bcosalphaint_SdS]
              parhspace*4cmtextrmfootnotesizesomething happens with $cosalpha$
              enddocument


              2. option:



              enter image description here



              documentclass[a4paper,12pt]article
              usepackage[spanish]babel
              usepackageamsmath
              usepackage[utf8]inputenc
              begindocument
              I am doing some calculations here.
              [int_SBcosalphahspace*1mmdSundersetbiggdownarrow
              =Bcosalphaint_SdS]
              parhspace*4cmtextrmsomething happens with $cosalpha$
              enddocument





              share|improve this answer






















              • -1 not a single of your cos alpha is in the desired font size
                – blub
                6 mins ago










              • I see carefully that you are persecuting me.
                – Sebastiano
                5 mins ago














              up vote
              0
              down vote













              I hope taht I have understand your request. Here there are two options:



              1. option



              enter image description here



              documentclass[a4paper,12pt]article
              usepackage[spanish]babel
              usepackageamsmath
              usepackage[utf8]inputenc
              begindocument
              I am doing some calculations here.
              [int_SBcosalphahspace*1mmdSundersetbiggdownarrow
              =Bcosalphaint_SdS]
              parhspace*4cmtextrmfootnotesizesomething happens with $cosalpha$
              enddocument


              2. option:



              enter image description here



              documentclass[a4paper,12pt]article
              usepackage[spanish]babel
              usepackageamsmath
              usepackage[utf8]inputenc
              begindocument
              I am doing some calculations here.
              [int_SBcosalphahspace*1mmdSundersetbiggdownarrow
              =Bcosalphaint_SdS]
              parhspace*4cmtextrmsomething happens with $cosalpha$
              enddocument





              share|improve this answer






















              • -1 not a single of your cos alpha is in the desired font size
                – blub
                6 mins ago










              • I see carefully that you are persecuting me.
                – Sebastiano
                5 mins ago












              up vote
              0
              down vote










              up vote
              0
              down vote









              I hope taht I have understand your request. Here there are two options:



              1. option



              enter image description here



              documentclass[a4paper,12pt]article
              usepackage[spanish]babel
              usepackageamsmath
              usepackage[utf8]inputenc
              begindocument
              I am doing some calculations here.
              [int_SBcosalphahspace*1mmdSundersetbiggdownarrow
              =Bcosalphaint_SdS]
              parhspace*4cmtextrmfootnotesizesomething happens with $cosalpha$
              enddocument


              2. option:



              enter image description here



              documentclass[a4paper,12pt]article
              usepackage[spanish]babel
              usepackageamsmath
              usepackage[utf8]inputenc
              begindocument
              I am doing some calculations here.
              [int_SBcosalphahspace*1mmdSundersetbiggdownarrow
              =Bcosalphaint_SdS]
              parhspace*4cmtextrmsomething happens with $cosalpha$
              enddocument





              share|improve this answer














              I hope taht I have understand your request. Here there are two options:



              1. option



              enter image description here



              documentclass[a4paper,12pt]article
              usepackage[spanish]babel
              usepackageamsmath
              usepackage[utf8]inputenc
              begindocument
              I am doing some calculations here.
              [int_SBcosalphahspace*1mmdSundersetbiggdownarrow
              =Bcosalphaint_SdS]
              parhspace*4cmtextrmfootnotesizesomething happens with $cosalpha$
              enddocument


              2. option:



              enter image description here



              documentclass[a4paper,12pt]article
              usepackage[spanish]babel
              usepackageamsmath
              usepackage[utf8]inputenc
              begindocument
              I am doing some calculations here.
              [int_SBcosalphahspace*1mmdSundersetbiggdownarrow
              =Bcosalphaint_SdS]
              parhspace*4cmtextrmsomething happens with $cosalpha$
              enddocument






              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited 27 mins ago

























              answered 33 mins ago









              Sebastiano

              7,74831554




              7,74831554











              • -1 not a single of your cos alpha is in the desired font size
                – blub
                6 mins ago










              • I see carefully that you are persecuting me.
                – Sebastiano
                5 mins ago
















              • -1 not a single of your cos alpha is in the desired font size
                – blub
                6 mins ago










              • I see carefully that you are persecuting me.
                – Sebastiano
                5 mins ago















              -1 not a single of your cos alpha is in the desired font size
              – blub
              6 mins ago




              -1 not a single of your cos alpha is in the desired font size
              – blub
              6 mins ago












              I see carefully that you are persecuting me.
              – Sebastiano
              5 mins ago




              I see carefully that you are persecuting me.
              – Sebastiano
              5 mins ago










              up vote
              0
              down vote













              I think the construct with using text... is unnecessarily complicate. You could simply have the text outside math mode and place cosalpha as an inline math expression. If you change the font size for this part of the text, the font size of the inline math expression will adjust accordingly:



              documentclass[a4paper,12pt]article
              usepackage[spanish]babel
              usepackageamsmath
              usepackage[utf8]inputenc
              begindocument
              I am doing some calculations here.
              [int_SBcosalpha,dSundersetbiggdownarrow
              =Bcosalphaint_SdS]
              parhspace*4cm footnotesize something happens with $cosalpha$
              enddocument


              enter image description here






              share|improve this answer


























                up vote
                0
                down vote













                I think the construct with using text... is unnecessarily complicate. You could simply have the text outside math mode and place cosalpha as an inline math expression. If you change the font size for this part of the text, the font size of the inline math expression will adjust accordingly:



                documentclass[a4paper,12pt]article
                usepackage[spanish]babel
                usepackageamsmath
                usepackage[utf8]inputenc
                begindocument
                I am doing some calculations here.
                [int_SBcosalpha,dSundersetbiggdownarrow
                =Bcosalphaint_SdS]
                parhspace*4cm footnotesize something happens with $cosalpha$
                enddocument


                enter image description here






                share|improve this answer
























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  I think the construct with using text... is unnecessarily complicate. You could simply have the text outside math mode and place cosalpha as an inline math expression. If you change the font size for this part of the text, the font size of the inline math expression will adjust accordingly:



                  documentclass[a4paper,12pt]article
                  usepackage[spanish]babel
                  usepackageamsmath
                  usepackage[utf8]inputenc
                  begindocument
                  I am doing some calculations here.
                  [int_SBcosalpha,dSundersetbiggdownarrow
                  =Bcosalphaint_SdS]
                  parhspace*4cm footnotesize something happens with $cosalpha$
                  enddocument


                  enter image description here






                  share|improve this answer














                  I think the construct with using text... is unnecessarily complicate. You could simply have the text outside math mode and place cosalpha as an inline math expression. If you change the font size for this part of the text, the font size of the inline math expression will adjust accordingly:



                  documentclass[a4paper,12pt]article
                  usepackage[spanish]babel
                  usepackageamsmath
                  usepackage[utf8]inputenc
                  begindocument
                  I am doing some calculations here.
                  [int_SBcosalpha,dSundersetbiggdownarrow
                  =Bcosalphaint_SdS]
                  parhspace*4cm footnotesize something happens with $cosalpha$
                  enddocument


                  enter image description here







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 16 mins ago

























                  answered 23 mins ago









                  samcarter

                  77k786246




                  77k786246



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f453660%2fequation-size-similar-to-text-size%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Comments

                      Popular posts from this blog

                      Long meetings (6-7 hours a day): Being “babysat” by supervisor

                      Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

                      Confectionery