rotate text in posterbox












2















friends
i have posterbox and i want to put text in this box.
Please see image



Minimal working example:



documentclass{article}

usepackage{tcolorbox}
tcbuselibrary{poster}
usepackage{tikz}

usepackage{lipsum}

begin{document}

begin{tcbposter}[
poster = {
columns=1,
rows=2,
spacing=3mm,
height=14cm,
width=12cm,
},
]
posterbox[
colframe = red,
width=13cm, height= 10cm
]{ }{includegraphics[height=4cm]{example-image-b}}

end{tcbposter}

end{document}


enter image description here



Add "ABC" and "XYZ" like attached image
Thanks










share|improve this question























  • I don't think this has anything to do with tcbposter.

    – JouleV
    17 mins ago
















2















friends
i have posterbox and i want to put text in this box.
Please see image



Minimal working example:



documentclass{article}

usepackage{tcolorbox}
tcbuselibrary{poster}
usepackage{tikz}

usepackage{lipsum}

begin{document}

begin{tcbposter}[
poster = {
columns=1,
rows=2,
spacing=3mm,
height=14cm,
width=12cm,
},
]
posterbox[
colframe = red,
width=13cm, height= 10cm
]{ }{includegraphics[height=4cm]{example-image-b}}

end{tcbposter}

end{document}


enter image description here



Add "ABC" and "XYZ" like attached image
Thanks










share|improve this question























  • I don't think this has anything to do with tcbposter.

    – JouleV
    17 mins ago














2












2








2








friends
i have posterbox and i want to put text in this box.
Please see image



Minimal working example:



documentclass{article}

usepackage{tcolorbox}
tcbuselibrary{poster}
usepackage{tikz}

usepackage{lipsum}

begin{document}

begin{tcbposter}[
poster = {
columns=1,
rows=2,
spacing=3mm,
height=14cm,
width=12cm,
},
]
posterbox[
colframe = red,
width=13cm, height= 10cm
]{ }{includegraphics[height=4cm]{example-image-b}}

end{tcbposter}

end{document}


enter image description here



Add "ABC" and "XYZ" like attached image
Thanks










share|improve this question














friends
i have posterbox and i want to put text in this box.
Please see image



Minimal working example:



documentclass{article}

usepackage{tcolorbox}
tcbuselibrary{poster}
usepackage{tikz}

usepackage{lipsum}

begin{document}

begin{tcbposter}[
poster = {
columns=1,
rows=2,
spacing=3mm,
height=14cm,
width=12cm,
},
]
posterbox[
colframe = red,
width=13cm, height= 10cm
]{ }{includegraphics[height=4cm]{example-image-b}}

end{tcbposter}

end{document}


enter image description here



Add "ABC" and "XYZ" like attached image
Thanks







tcolorbox tcbposter






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 30 mins ago









latexfortilatexforti

4767




4767













  • I don't think this has anything to do with tcbposter.

    – JouleV
    17 mins ago



















  • I don't think this has anything to do with tcbposter.

    – JouleV
    17 mins ago

















I don't think this has anything to do with tcbposter.

– JouleV
17 mins ago





I don't think this has anything to do with tcbposter.

– JouleV
17 mins ago










2 Answers
2






active

oldest

votes


















1














With skin library you can draw whatever you want on a tcolorbox, with exact coordinates.



documentclass{article}
usepackage{geometry}
usepackage{tcolorbox}
tcbuselibrary{skins}
pgfsetlayers{main}
begin{document}
begin{tcolorbox}[
width=13cm,height= 10cm,
skin=freelance,
interior code={%
path (frame.south west) -- (frame.south east) node[midway,above=1ex,font=Largesffamily] {ABC};
path (frame.south east) -- (frame.north east) node[midway,rotate=90,above=1ex,fill=yellow,font=Largesffamily,inner sep=8pt] {XYZ};
},
frame code={%
begin{pgfonlayer}{main}
path[draw=red,fill=gray!20,ultra thick,rounded corners] (frame.south west) rectangle (frame.north east);
end{pgfonlayer}
},
]
includegraphics[height=4cm]{example-image-b}
end{tcolorbox}
end{document}


enter image description here





share































    1














    You can use ordinary TikZ commands in a tcbposter environment.



    documentclass{article}

    usepackage{tcolorbox}
    tcbuselibrary{poster}

    usepackage{lipsum}

    begin{document}

    begin{tcbposter}[
    poster = {
    columns=1,
    rows=2,
    spacing=3mm,
    height=14cm,
    width=12cm,
    },
    ]
    posterbox[
    colframe = red,
    width=13cm, height= 10cm
    ]{name=A,column=1}{includegraphics[height=8cm]{example-image-b}}
    node[font=sffamilyLarge,rotate=90] at (12,9.6) {XYZ};
    node[font=sffamilyLarge] at (6,5) {XYZ};
    end{tcbposter}
    end{document}


    enter image description here



    Or you can position these nodes relative to the picture.



    documentclass{article}

    usepackage{tcolorbox}
    tcbuselibrary{poster}
    usetikzlibrary{positioning}
    usepackage{lipsum}

    begin{document}
    begin{tcbposter}[
    poster = {
    columns=1,
    rows=2,
    spacing=3mm,
    height=14cm,
    width=12cm,
    },
    ]
    posterbox[
    colframe = red,
    width=13cm, height= 10cm
    ]{name=A,column=1}{includegraphics[height=8cm]{example-image-b}}
    node[font=sffamilyLarge,rotate=90,right=-5mm of TCBPOSTER@A] {XYZ};
    node[font=sffamilyLarge,below=-10mm of TCBPOSTER@A] {XYZ};
    end{tcbposter}
    end{document}


    enter image description here



    Or you can just use a table and rotatebox.



    documentclass{article}

    usepackage{tcolorbox}
    tcbuselibrary{poster}

    begin{document}

    begin{tcbposter}[
    poster = {
    columns=1,
    rows=2,
    spacing=3mm,
    height=14cm,
    width=12cm,
    },
    ]
    posterbox[
    colframe = red,
    width=13cm, height= 10cm
    ]{ }{begin{tabular}{cl}
    includegraphics[height=4cm]{example-image-b} &rotatebox{90}{XYZ} \
    XYZ &
    end{tabular}}

    end{tcbposter}

    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%2f484750%2frotate-text-in-posterbox%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









      1














      With skin library you can draw whatever you want on a tcolorbox, with exact coordinates.



      documentclass{article}
      usepackage{geometry}
      usepackage{tcolorbox}
      tcbuselibrary{skins}
      pgfsetlayers{main}
      begin{document}
      begin{tcolorbox}[
      width=13cm,height= 10cm,
      skin=freelance,
      interior code={%
      path (frame.south west) -- (frame.south east) node[midway,above=1ex,font=Largesffamily] {ABC};
      path (frame.south east) -- (frame.north east) node[midway,rotate=90,above=1ex,fill=yellow,font=Largesffamily,inner sep=8pt] {XYZ};
      },
      frame code={%
      begin{pgfonlayer}{main}
      path[draw=red,fill=gray!20,ultra thick,rounded corners] (frame.south west) rectangle (frame.north east);
      end{pgfonlayer}
      },
      ]
      includegraphics[height=4cm]{example-image-b}
      end{tcolorbox}
      end{document}


      enter image description here





      share




























        1














        With skin library you can draw whatever you want on a tcolorbox, with exact coordinates.



        documentclass{article}
        usepackage{geometry}
        usepackage{tcolorbox}
        tcbuselibrary{skins}
        pgfsetlayers{main}
        begin{document}
        begin{tcolorbox}[
        width=13cm,height= 10cm,
        skin=freelance,
        interior code={%
        path (frame.south west) -- (frame.south east) node[midway,above=1ex,font=Largesffamily] {ABC};
        path (frame.south east) -- (frame.north east) node[midway,rotate=90,above=1ex,fill=yellow,font=Largesffamily,inner sep=8pt] {XYZ};
        },
        frame code={%
        begin{pgfonlayer}{main}
        path[draw=red,fill=gray!20,ultra thick,rounded corners] (frame.south west) rectangle (frame.north east);
        end{pgfonlayer}
        },
        ]
        includegraphics[height=4cm]{example-image-b}
        end{tcolorbox}
        end{document}


        enter image description here





        share


























          1












          1








          1







          With skin library you can draw whatever you want on a tcolorbox, with exact coordinates.



          documentclass{article}
          usepackage{geometry}
          usepackage{tcolorbox}
          tcbuselibrary{skins}
          pgfsetlayers{main}
          begin{document}
          begin{tcolorbox}[
          width=13cm,height= 10cm,
          skin=freelance,
          interior code={%
          path (frame.south west) -- (frame.south east) node[midway,above=1ex,font=Largesffamily] {ABC};
          path (frame.south east) -- (frame.north east) node[midway,rotate=90,above=1ex,fill=yellow,font=Largesffamily,inner sep=8pt] {XYZ};
          },
          frame code={%
          begin{pgfonlayer}{main}
          path[draw=red,fill=gray!20,ultra thick,rounded corners] (frame.south west) rectangle (frame.north east);
          end{pgfonlayer}
          },
          ]
          includegraphics[height=4cm]{example-image-b}
          end{tcolorbox}
          end{document}


          enter image description here





          share













          With skin library you can draw whatever you want on a tcolorbox, with exact coordinates.



          documentclass{article}
          usepackage{geometry}
          usepackage{tcolorbox}
          tcbuselibrary{skins}
          pgfsetlayers{main}
          begin{document}
          begin{tcolorbox}[
          width=13cm,height= 10cm,
          skin=freelance,
          interior code={%
          path (frame.south west) -- (frame.south east) node[midway,above=1ex,font=Largesffamily] {ABC};
          path (frame.south east) -- (frame.north east) node[midway,rotate=90,above=1ex,fill=yellow,font=Largesffamily,inner sep=8pt] {XYZ};
          },
          frame code={%
          begin{pgfonlayer}{main}
          path[draw=red,fill=gray!20,ultra thick,rounded corners] (frame.south west) rectangle (frame.north east);
          end{pgfonlayer}
          },
          ]
          includegraphics[height=4cm]{example-image-b}
          end{tcolorbox}
          end{document}


          enter image description here






          share











          share


          share










          answered 8 mins ago









          JouleVJouleV

          13.2k22663




          13.2k22663























              1














              You can use ordinary TikZ commands in a tcbposter environment.



              documentclass{article}

              usepackage{tcolorbox}
              tcbuselibrary{poster}

              usepackage{lipsum}

              begin{document}

              begin{tcbposter}[
              poster = {
              columns=1,
              rows=2,
              spacing=3mm,
              height=14cm,
              width=12cm,
              },
              ]
              posterbox[
              colframe = red,
              width=13cm, height= 10cm
              ]{name=A,column=1}{includegraphics[height=8cm]{example-image-b}}
              node[font=sffamilyLarge,rotate=90] at (12,9.6) {XYZ};
              node[font=sffamilyLarge] at (6,5) {XYZ};
              end{tcbposter}
              end{document}


              enter image description here



              Or you can position these nodes relative to the picture.



              documentclass{article}

              usepackage{tcolorbox}
              tcbuselibrary{poster}
              usetikzlibrary{positioning}
              usepackage{lipsum}

              begin{document}
              begin{tcbposter}[
              poster = {
              columns=1,
              rows=2,
              spacing=3mm,
              height=14cm,
              width=12cm,
              },
              ]
              posterbox[
              colframe = red,
              width=13cm, height= 10cm
              ]{name=A,column=1}{includegraphics[height=8cm]{example-image-b}}
              node[font=sffamilyLarge,rotate=90,right=-5mm of TCBPOSTER@A] {XYZ};
              node[font=sffamilyLarge,below=-10mm of TCBPOSTER@A] {XYZ};
              end{tcbposter}
              end{document}


              enter image description here



              Or you can just use a table and rotatebox.



              documentclass{article}

              usepackage{tcolorbox}
              tcbuselibrary{poster}

              begin{document}

              begin{tcbposter}[
              poster = {
              columns=1,
              rows=2,
              spacing=3mm,
              height=14cm,
              width=12cm,
              },
              ]
              posterbox[
              colframe = red,
              width=13cm, height= 10cm
              ]{ }{begin{tabular}{cl}
              includegraphics[height=4cm]{example-image-b} &rotatebox{90}{XYZ} \
              XYZ &
              end{tabular}}

              end{tcbposter}

              end{document}


              enter image description here






              share|improve this answer






























                1














                You can use ordinary TikZ commands in a tcbposter environment.



                documentclass{article}

                usepackage{tcolorbox}
                tcbuselibrary{poster}

                usepackage{lipsum}

                begin{document}

                begin{tcbposter}[
                poster = {
                columns=1,
                rows=2,
                spacing=3mm,
                height=14cm,
                width=12cm,
                },
                ]
                posterbox[
                colframe = red,
                width=13cm, height= 10cm
                ]{name=A,column=1}{includegraphics[height=8cm]{example-image-b}}
                node[font=sffamilyLarge,rotate=90] at (12,9.6) {XYZ};
                node[font=sffamilyLarge] at (6,5) {XYZ};
                end{tcbposter}
                end{document}


                enter image description here



                Or you can position these nodes relative to the picture.



                documentclass{article}

                usepackage{tcolorbox}
                tcbuselibrary{poster}
                usetikzlibrary{positioning}
                usepackage{lipsum}

                begin{document}
                begin{tcbposter}[
                poster = {
                columns=1,
                rows=2,
                spacing=3mm,
                height=14cm,
                width=12cm,
                },
                ]
                posterbox[
                colframe = red,
                width=13cm, height= 10cm
                ]{name=A,column=1}{includegraphics[height=8cm]{example-image-b}}
                node[font=sffamilyLarge,rotate=90,right=-5mm of TCBPOSTER@A] {XYZ};
                node[font=sffamilyLarge,below=-10mm of TCBPOSTER@A] {XYZ};
                end{tcbposter}
                end{document}


                enter image description here



                Or you can just use a table and rotatebox.



                documentclass{article}

                usepackage{tcolorbox}
                tcbuselibrary{poster}

                begin{document}

                begin{tcbposter}[
                poster = {
                columns=1,
                rows=2,
                spacing=3mm,
                height=14cm,
                width=12cm,
                },
                ]
                posterbox[
                colframe = red,
                width=13cm, height= 10cm
                ]{ }{begin{tabular}{cl}
                includegraphics[height=4cm]{example-image-b} &rotatebox{90}{XYZ} \
                XYZ &
                end{tabular}}

                end{tcbposter}

                end{document}


                enter image description here






                share|improve this answer




























                  1












                  1








                  1







                  You can use ordinary TikZ commands in a tcbposter environment.



                  documentclass{article}

                  usepackage{tcolorbox}
                  tcbuselibrary{poster}

                  usepackage{lipsum}

                  begin{document}

                  begin{tcbposter}[
                  poster = {
                  columns=1,
                  rows=2,
                  spacing=3mm,
                  height=14cm,
                  width=12cm,
                  },
                  ]
                  posterbox[
                  colframe = red,
                  width=13cm, height= 10cm
                  ]{name=A,column=1}{includegraphics[height=8cm]{example-image-b}}
                  node[font=sffamilyLarge,rotate=90] at (12,9.6) {XYZ};
                  node[font=sffamilyLarge] at (6,5) {XYZ};
                  end{tcbposter}
                  end{document}


                  enter image description here



                  Or you can position these nodes relative to the picture.



                  documentclass{article}

                  usepackage{tcolorbox}
                  tcbuselibrary{poster}
                  usetikzlibrary{positioning}
                  usepackage{lipsum}

                  begin{document}
                  begin{tcbposter}[
                  poster = {
                  columns=1,
                  rows=2,
                  spacing=3mm,
                  height=14cm,
                  width=12cm,
                  },
                  ]
                  posterbox[
                  colframe = red,
                  width=13cm, height= 10cm
                  ]{name=A,column=1}{includegraphics[height=8cm]{example-image-b}}
                  node[font=sffamilyLarge,rotate=90,right=-5mm of TCBPOSTER@A] {XYZ};
                  node[font=sffamilyLarge,below=-10mm of TCBPOSTER@A] {XYZ};
                  end{tcbposter}
                  end{document}


                  enter image description here



                  Or you can just use a table and rotatebox.



                  documentclass{article}

                  usepackage{tcolorbox}
                  tcbuselibrary{poster}

                  begin{document}

                  begin{tcbposter}[
                  poster = {
                  columns=1,
                  rows=2,
                  spacing=3mm,
                  height=14cm,
                  width=12cm,
                  },
                  ]
                  posterbox[
                  colframe = red,
                  width=13cm, height= 10cm
                  ]{ }{begin{tabular}{cl}
                  includegraphics[height=4cm]{example-image-b} &rotatebox{90}{XYZ} \
                  XYZ &
                  end{tabular}}

                  end{tcbposter}

                  end{document}


                  enter image description here






                  share|improve this answer















                  You can use ordinary TikZ commands in a tcbposter environment.



                  documentclass{article}

                  usepackage{tcolorbox}
                  tcbuselibrary{poster}

                  usepackage{lipsum}

                  begin{document}

                  begin{tcbposter}[
                  poster = {
                  columns=1,
                  rows=2,
                  spacing=3mm,
                  height=14cm,
                  width=12cm,
                  },
                  ]
                  posterbox[
                  colframe = red,
                  width=13cm, height= 10cm
                  ]{name=A,column=1}{includegraphics[height=8cm]{example-image-b}}
                  node[font=sffamilyLarge,rotate=90] at (12,9.6) {XYZ};
                  node[font=sffamilyLarge] at (6,5) {XYZ};
                  end{tcbposter}
                  end{document}


                  enter image description here



                  Or you can position these nodes relative to the picture.



                  documentclass{article}

                  usepackage{tcolorbox}
                  tcbuselibrary{poster}
                  usetikzlibrary{positioning}
                  usepackage{lipsum}

                  begin{document}
                  begin{tcbposter}[
                  poster = {
                  columns=1,
                  rows=2,
                  spacing=3mm,
                  height=14cm,
                  width=12cm,
                  },
                  ]
                  posterbox[
                  colframe = red,
                  width=13cm, height= 10cm
                  ]{name=A,column=1}{includegraphics[height=8cm]{example-image-b}}
                  node[font=sffamilyLarge,rotate=90,right=-5mm of TCBPOSTER@A] {XYZ};
                  node[font=sffamilyLarge,below=-10mm of TCBPOSTER@A] {XYZ};
                  end{tcbposter}
                  end{document}


                  enter image description here



                  Or you can just use a table and rotatebox.



                  documentclass{article}

                  usepackage{tcolorbox}
                  tcbuselibrary{poster}

                  begin{document}

                  begin{tcbposter}[
                  poster = {
                  columns=1,
                  rows=2,
                  spacing=3mm,
                  height=14cm,
                  width=12cm,
                  },
                  ]
                  posterbox[
                  colframe = red,
                  width=13cm, height= 10cm
                  ]{ }{begin{tabular}{cl}
                  includegraphics[height=4cm]{example-image-b} &rotatebox{90}{XYZ} \
                  XYZ &
                  end{tabular}}

                  end{tcbposter}

                  end{document}


                  enter image description here







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 7 mins ago

























                  answered 16 mins ago









                  marmotmarmot

                  118k6150284




                  118k6150284






























                      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.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484750%2frotate-text-in-posterbox%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

                      Knooppunt Holsloot

                      Altaar (religie)

                      Gregoriusmis