Vectorized Text Effects/Transformations: Stretching & Expanding (WordArt)












6














I'd like to apply a text transformation similar to what the Inkscape extension 'Modify Path -> Envelope' does within LaTeX:



inkscape text effect transform vectorized text to fit to box



In-source documentation of the envelope extension:




This extension implements Bezier enveloping. It takes an arbitrary
path (the "letter") and a 4-sided path (the "envelope") as input. The
envelope must be 4 segments long. Unless the letter is to be rotated
or flipped, the envelope should begin at the upper left corner and be
drawn clockwise.




Presumably this can only be done with one of the more advanced drawing packages:





  • tikz (pgf/tikz library decorations.text, basic layer canvas transformation)


  • pstricks (possibly based on psWarp form pst-text (v.1.01) together with a postscript font)

  • asymptote

  • MetaPost










share|improve this question
























  • So you want an example with Tikz? Where is the question?
    – percusse
    Jul 23 '14 at 19:13










  • @percusse: thanks for catching up. the question is: transforming the text having an envelope which is not just a rectangle (see the second picture). My answer works only for the simpler case. I am happy with tikz, but other tools are equally good. I don't have a preference
    – Hotschke
    Jul 23 '14 at 19:18


















6














I'd like to apply a text transformation similar to what the Inkscape extension 'Modify Path -> Envelope' does within LaTeX:



inkscape text effect transform vectorized text to fit to box



In-source documentation of the envelope extension:




This extension implements Bezier enveloping. It takes an arbitrary
path (the "letter") and a 4-sided path (the "envelope") as input. The
envelope must be 4 segments long. Unless the letter is to be rotated
or flipped, the envelope should begin at the upper left corner and be
drawn clockwise.




Presumably this can only be done with one of the more advanced drawing packages:





  • tikz (pgf/tikz library decorations.text, basic layer canvas transformation)


  • pstricks (possibly based on psWarp form pst-text (v.1.01) together with a postscript font)

  • asymptote

  • MetaPost










share|improve this question
























  • So you want an example with Tikz? Where is the question?
    – percusse
    Jul 23 '14 at 19:13










  • @percusse: thanks for catching up. the question is: transforming the text having an envelope which is not just a rectangle (see the second picture). My answer works only for the simpler case. I am happy with tikz, but other tools are equally good. I don't have a preference
    – Hotschke
    Jul 23 '14 at 19:18
















6












6








6


1





I'd like to apply a text transformation similar to what the Inkscape extension 'Modify Path -> Envelope' does within LaTeX:



inkscape text effect transform vectorized text to fit to box



In-source documentation of the envelope extension:




This extension implements Bezier enveloping. It takes an arbitrary
path (the "letter") and a 4-sided path (the "envelope") as input. The
envelope must be 4 segments long. Unless the letter is to be rotated
or flipped, the envelope should begin at the upper left corner and be
drawn clockwise.




Presumably this can only be done with one of the more advanced drawing packages:





  • tikz (pgf/tikz library decorations.text, basic layer canvas transformation)


  • pstricks (possibly based on psWarp form pst-text (v.1.01) together with a postscript font)

  • asymptote

  • MetaPost










share|improve this question















I'd like to apply a text transformation similar to what the Inkscape extension 'Modify Path -> Envelope' does within LaTeX:



inkscape text effect transform vectorized text to fit to box



In-source documentation of the envelope extension:




This extension implements Bezier enveloping. It takes an arbitrary
path (the "letter") and a 4-sided path (the "envelope") as input. The
envelope must be 4 segments long. Unless the letter is to be rotated
or flipped, the envelope should begin at the upper left corner and be
drawn clockwise.




Presumably this can only be done with one of the more advanced drawing packages:





  • tikz (pgf/tikz library decorations.text, basic layer canvas transformation)


  • pstricks (possibly based on psWarp form pst-text (v.1.01) together with a postscript font)

  • asymptote

  • MetaPost







text-decorations text-manipulation






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 43 mins ago

























asked May 27 '14 at 9:35









Hotschke

2,11321841




2,11321841












  • So you want an example with Tikz? Where is the question?
    – percusse
    Jul 23 '14 at 19:13










  • @percusse: thanks for catching up. the question is: transforming the text having an envelope which is not just a rectangle (see the second picture). My answer works only for the simpler case. I am happy with tikz, but other tools are equally good. I don't have a preference
    – Hotschke
    Jul 23 '14 at 19:18




















  • So you want an example with Tikz? Where is the question?
    – percusse
    Jul 23 '14 at 19:13










  • @percusse: thanks for catching up. the question is: transforming the text having an envelope which is not just a rectangle (see the second picture). My answer works only for the simpler case. I am happy with tikz, but other tools are equally good. I don't have a preference
    – Hotschke
    Jul 23 '14 at 19:18


















So you want an example with Tikz? Where is the question?
– percusse
Jul 23 '14 at 19:13




So you want an example with Tikz? Where is the question?
– percusse
Jul 23 '14 at 19:13












@percusse: thanks for catching up. the question is: transforming the text having an envelope which is not just a rectangle (see the second picture). My answer works only for the simpler case. I am happy with tikz, but other tools are equally good. I don't have a preference
– Hotschke
Jul 23 '14 at 19:18






@percusse: thanks for catching up. the question is: transforming the text having an envelope which is not just a rectangle (see the second picture). My answer works only for the simpler case. I am happy with tikz, but other tools are equally good. I don't have a preference
– Hotschke
Jul 23 '14 at 19:18












2 Answers
2






active

oldest

votes


















3














Needs work (and not a TiKZ text effect):



documentclass[border=5pt, tikz, mult]{standalone}
usetikzlibrary{positioning,calc}
begin{document}

begin{tikzpicture}
coordinate (o) at (0,0);
defj{o}
foreach i [count=ino] in {T,E,X,T,-,E,F,F,E,C,T}
{
node (ino) [scale=ino*ino, right=0pt of j, inner sep=0pt, outer sep=0pt] {i};
globalletjino
}
path [draw] (1.north east) -- (j.north west) -| (j.south east) -- (j.south west) -- (1.south west) -- cycle;
end{tikzpicture}


text-effect






share|improve this answer





























    2














    The question Stretching text vertically offers a solution for applying a rectangular envelope, so to speak:



    Using scalebox{⟨h-scale⟩}[⟨v-scale⟩]{⟨text⟩} of the package graphics ($ texdoc grfguide):



       documentclass[varwidth]{standalone}
    usepackage{graphics}
    begin{document}
    HELLO\[1ex]
    scalebox{2}[1]{HELLO}
    end{document}


    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',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      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%2f180583%2fvectorized-text-effects-transformations-stretching-expanding-wordart%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3














      Needs work (and not a TiKZ text effect):



      documentclass[border=5pt, tikz, mult]{standalone}
      usetikzlibrary{positioning,calc}
      begin{document}

      begin{tikzpicture}
      coordinate (o) at (0,0);
      defj{o}
      foreach i [count=ino] in {T,E,X,T,-,E,F,F,E,C,T}
      {
      node (ino) [scale=ino*ino, right=0pt of j, inner sep=0pt, outer sep=0pt] {i};
      globalletjino
      }
      path [draw] (1.north east) -- (j.north west) -| (j.south east) -- (j.south west) -- (1.south west) -- cycle;
      end{tikzpicture}


      text-effect






      share|improve this answer


























        3














        Needs work (and not a TiKZ text effect):



        documentclass[border=5pt, tikz, mult]{standalone}
        usetikzlibrary{positioning,calc}
        begin{document}

        begin{tikzpicture}
        coordinate (o) at (0,0);
        defj{o}
        foreach i [count=ino] in {T,E,X,T,-,E,F,F,E,C,T}
        {
        node (ino) [scale=ino*ino, right=0pt of j, inner sep=0pt, outer sep=0pt] {i};
        globalletjino
        }
        path [draw] (1.north east) -- (j.north west) -| (j.south east) -- (j.south west) -- (1.south west) -- cycle;
        end{tikzpicture}


        text-effect






        share|improve this answer
























          3












          3








          3






          Needs work (and not a TiKZ text effect):



          documentclass[border=5pt, tikz, mult]{standalone}
          usetikzlibrary{positioning,calc}
          begin{document}

          begin{tikzpicture}
          coordinate (o) at (0,0);
          defj{o}
          foreach i [count=ino] in {T,E,X,T,-,E,F,F,E,C,T}
          {
          node (ino) [scale=ino*ino, right=0pt of j, inner sep=0pt, outer sep=0pt] {i};
          globalletjino
          }
          path [draw] (1.north east) -- (j.north west) -| (j.south east) -- (j.south west) -- (1.south west) -- cycle;
          end{tikzpicture}


          text-effect






          share|improve this answer












          Needs work (and not a TiKZ text effect):



          documentclass[border=5pt, tikz, mult]{standalone}
          usetikzlibrary{positioning,calc}
          begin{document}

          begin{tikzpicture}
          coordinate (o) at (0,0);
          defj{o}
          foreach i [count=ino] in {T,E,X,T,-,E,F,F,E,C,T}
          {
          node (ino) [scale=ino*ino, right=0pt of j, inner sep=0pt, outer sep=0pt] {i};
          globalletjino
          }
          path [draw] (1.north east) -- (j.north west) -| (j.south east) -- (j.south west) -- (1.south west) -- cycle;
          end{tikzpicture}


          text-effect







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 21 '14 at 3:30









          cfr

          156k7185380




          156k7185380























              2














              The question Stretching text vertically offers a solution for applying a rectangular envelope, so to speak:



              Using scalebox{⟨h-scale⟩}[⟨v-scale⟩]{⟨text⟩} of the package graphics ($ texdoc grfguide):



                 documentclass[varwidth]{standalone}
              usepackage{graphics}
              begin{document}
              HELLO\[1ex]
              scalebox{2}[1]{HELLO}
              end{document}


              enter image description here






              share|improve this answer




























                2














                The question Stretching text vertically offers a solution for applying a rectangular envelope, so to speak:



                Using scalebox{⟨h-scale⟩}[⟨v-scale⟩]{⟨text⟩} of the package graphics ($ texdoc grfguide):



                   documentclass[varwidth]{standalone}
                usepackage{graphics}
                begin{document}
                HELLO\[1ex]
                scalebox{2}[1]{HELLO}
                end{document}


                enter image description here






                share|improve this answer


























                  2












                  2








                  2






                  The question Stretching text vertically offers a solution for applying a rectangular envelope, so to speak:



                  Using scalebox{⟨h-scale⟩}[⟨v-scale⟩]{⟨text⟩} of the package graphics ($ texdoc grfguide):



                     documentclass[varwidth]{standalone}
                  usepackage{graphics}
                  begin{document}
                  HELLO\[1ex]
                  scalebox{2}[1]{HELLO}
                  end{document}


                  enter image description here






                  share|improve this answer














                  The question Stretching text vertically offers a solution for applying a rectangular envelope, so to speak:



                  Using scalebox{⟨h-scale⟩}[⟨v-scale⟩]{⟨text⟩} of the package graphics ($ texdoc grfguide):



                     documentclass[varwidth]{standalone}
                  usepackage{graphics}
                  begin{document}
                  HELLO\[1ex]
                  scalebox{2}[1]{HELLO}
                  end{document}


                  enter image description here







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Apr 13 '17 at 12:35









                  Community

                  1




                  1










                  answered May 27 '14 at 11:58









                  Hotschke

                  2,11321841




                  2,11321841






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f180583%2fvectorized-text-effects-transformations-stretching-expanding-wordart%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      サソリ

                      広島県道265号伴広島線

                      Accessing regular linux commands in Huawei's Dopra Linux