rotate text in posterbox












3















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


















  • 1





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

    – JouleV
    1 hour ago
















3















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


















  • 1





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

    – JouleV
    1 hour ago














3












3








3








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 1 hour ago









latexfortilatexforti

4837




4837








  • 1





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

    – JouleV
    1 hour ago














  • 1





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

    – JouleV
    1 hour ago








1




1





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

– JouleV
1 hour ago





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

– JouleV
1 hour ago










2 Answers
2






active

oldest

votes


















2














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


























  • thank you for your solution. I used "node[font=sffamilyLarge,rotate=90,right=-5mm of TCBPOSTER@A] {XYZ}". Right =-5mm of A is ok. And i need move "XYZ" above or below? Example: above 7mm or below 3mm. How can shift "XYZ" ? thanks.

    – latexforti
    35 mins ago





















2














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|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









    2














    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


























    • thank you for your solution. I used "node[font=sffamilyLarge,rotate=90,right=-5mm of TCBPOSTER@A] {XYZ}". Right =-5mm of A is ok. And i need move "XYZ" above or below? Example: above 7mm or below 3mm. How can shift "XYZ" ? thanks.

      – latexforti
      35 mins ago


















    2














    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


























    • thank you for your solution. I used "node[font=sffamilyLarge,rotate=90,right=-5mm of TCBPOSTER@A] {XYZ}". Right =-5mm of A is ok. And i need move "XYZ" above or below? Example: above 7mm or below 3mm. How can shift "XYZ" ? thanks.

      – latexforti
      35 mins ago
















    2












    2








    2







    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 57 mins ago

























    answered 1 hour ago









    marmotmarmot

    118k6150284




    118k6150284













    • thank you for your solution. I used "node[font=sffamilyLarge,rotate=90,right=-5mm of TCBPOSTER@A] {XYZ}". Right =-5mm of A is ok. And i need move "XYZ" above or below? Example: above 7mm or below 3mm. How can shift "XYZ" ? thanks.

      – latexforti
      35 mins ago





















    • thank you for your solution. I used "node[font=sffamilyLarge,rotate=90,right=-5mm of TCBPOSTER@A] {XYZ}". Right =-5mm of A is ok. And i need move "XYZ" above or below? Example: above 7mm or below 3mm. How can shift "XYZ" ? thanks.

      – latexforti
      35 mins ago



















    thank you for your solution. I used "node[font=sffamilyLarge,rotate=90,right=-5mm of TCBPOSTER@A] {XYZ}". Right =-5mm of A is ok. And i need move "XYZ" above or below? Example: above 7mm or below 3mm. How can shift "XYZ" ? thanks.

    – latexforti
    35 mins ago







    thank you for your solution. I used "node[font=sffamilyLarge,rotate=90,right=-5mm of TCBPOSTER@A] {XYZ}". Right =-5mm of A is ok. And i need move "XYZ" above or below? Example: above 7mm or below 3mm. How can shift "XYZ" ? thanks.

    – latexforti
    35 mins ago













    2














    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|improve this answer




























      2














      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|improve this answer


























        2












        2








        2







        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|improve this answer













        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|improve this answer












        share|improve this answer



        share|improve this answer










        answered 58 mins ago









        JouleVJouleV

        13.3k22663




        13.3k22663






























            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

            Сан-Квентин

            Алькесар

            Josef Freinademetz