Making an empty box next to textText next to imageCreate link of empty boxPicture wrapped using minipage...

ip vs ifconfig commands pros and cons

How to add multiple differently colored borders around a node?

What is better: yes / no radio, or simple checkbox?

Is the theory of the category of topological spaces computable?

Proof by Induction - New to proofs

Crystal compensation for temp and voltage

F1 visa even for a three-week course?

Wanted: 5.25 floppy to usb adapter

What is the meaning of "pick up" in this sentence?

Am I using the wrong word all along?

Why do neural networks need so many training examples to perform?

Table enclosed in curly brackets

Do my Windows system binaries contain sensitive information?

How to print eax value with Radare2?

Emit zero-width bash prompt sequence from external binary

What is the purpose of easy combat scenarios that don't need resource expenditure?

Why didn't Eru and/or the Valar intervene when Sauron corrupted Númenor?

Why can I easily sing or whistle a tune I've just heard, but not as easily reproduce it on an instrument?

Obtaining a matrix of complex values from associations giving the real and imaginary parts of each element?

Where was Karl Mordo in Infinity War?

What's the rationale behind the objections to these measures against human trafficking?

Which branches of mathematics can be done just in terms of morphisms and composition?

Finding ratio of the area of triangles

What was the population of late Pre-Islamic Arabia and the population of Arabic speakers before Islam?



Making an empty box next to text


Text next to imageCreate link of empty boxPicture wrapped using minipage affects next page textminipages won't go next to each other, second one is displayed on next pageFigure next to textSpecial underline/Partial boxHow to surround text or values with dashed box within paragraph?Text overflows tabular in minipagePlace box around text and equationCreating box on long enumeration













4















I'm trying to recreate a document template thats in a PDF, in one portion of it, I need to create a box with a word of text next to it, like so:Original



I've tried using functions like fbox and framebox, however the text on the left of it, which should be aligned at the top, ends up in the middle or the bottom. Like in this example:



documentclass[a4paper]{article} 

usepackage[T2A]{fontenc}
usepackage[utf8]{inputenc}
usepackage[serbianc]{babel}

begin{document}
Коментар:
fbox{
begin{minipage}
{0.7linewidth}hfillvspace{5cm}
end{minipage}
}
end{document}


My attempt










share|improve this question









New contributor




stayhere is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    Use begin{minipage}[t]

    – Bernard
    14 hours ago
















4















I'm trying to recreate a document template thats in a PDF, in one portion of it, I need to create a box with a word of text next to it, like so:Original



I've tried using functions like fbox and framebox, however the text on the left of it, which should be aligned at the top, ends up in the middle or the bottom. Like in this example:



documentclass[a4paper]{article} 

usepackage[T2A]{fontenc}
usepackage[utf8]{inputenc}
usepackage[serbianc]{babel}

begin{document}
Коментар:
fbox{
begin{minipage}
{0.7linewidth}hfillvspace{5cm}
end{minipage}
}
end{document}


My attempt










share|improve this question









New contributor




stayhere is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    Use begin{minipage}[t]

    – Bernard
    14 hours ago














4












4








4








I'm trying to recreate a document template thats in a PDF, in one portion of it, I need to create a box with a word of text next to it, like so:Original



I've tried using functions like fbox and framebox, however the text on the left of it, which should be aligned at the top, ends up in the middle or the bottom. Like in this example:



documentclass[a4paper]{article} 

usepackage[T2A]{fontenc}
usepackage[utf8]{inputenc}
usepackage[serbianc]{babel}

begin{document}
Коментар:
fbox{
begin{minipage}
{0.7linewidth}hfillvspace{5cm}
end{minipage}
}
end{document}


My attempt










share|improve this question









New contributor




stayhere is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I'm trying to recreate a document template thats in a PDF, in one portion of it, I need to create a box with a word of text next to it, like so:Original



I've tried using functions like fbox and framebox, however the text on the left of it, which should be aligned at the top, ends up in the middle or the bottom. Like in this example:



documentclass[a4paper]{article} 

usepackage[T2A]{fontenc}
usepackage[utf8]{inputenc}
usepackage[serbianc]{babel}

begin{document}
Коментар:
fbox{
begin{minipage}
{0.7linewidth}hfillvspace{5cm}
end{minipage}
}
end{document}


My attempt







minipage fbox






share|improve this question









New contributor




stayhere is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




stayhere is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 14 hours ago









JouleV

4,6681938




4,6681938






New contributor




stayhere is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 14 hours ago









stayherestayhere

312




312




New contributor




stayhere is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





stayhere is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






stayhere is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1





    Use begin{minipage}[t]

    – Bernard
    14 hours ago














  • 1





    Use begin{minipage}[t]

    – Bernard
    14 hours ago








1




1





Use begin{minipage}[t]

– Bernard
14 hours ago





Use begin{minipage}[t]

– Bernard
14 hours ago










3 Answers
3






active

oldest

votes


















5














A solution with framebox. Just in case you'd like the box to go automatically to the right margin, it's easy to do with the linegoal package, which measures the distance from its point of insertion to the right margin:



documentclass[a4paper]{article}

usepackage[T2A]{fontenc}
usepackage[utf8]{inputenc}
usepackage[showframe]{geometry}
usepackage{linegoal}
usepackage[serbianc]{babel}

begin{document}

Коментар:
framebox[linegoal][l]{rule[-5cm]{0pt}{dimexpr5cm+1ex}
}

end{document}


enter image description here






share|improve this answer

































    4














    You should use [t] for the minipage. It's easier with parbox, though. The setting to fboxsep will make the box the exact specified dimensions.



    documentclass[a4paper]{article}

    usepackage[T2A]{fontenc}
    usepackage[utf8]{inputenc}
    usepackage[serbianc]{babel}

    newcommand{blankbox}[2]{% #1 = width, #2 = total height
    begingroup
    setlength{fboxsep}{-fboxrule}%
    fbox{parbox[t][#2]{#1}{strut}}%
    endgroup
    }

    begin{document}

    Коментар: blankbox{0.7linewidth}{5cm}

    end{document}


    enter image description here






    share|improve this answer































      2














      Add option [t] (top) to the minipage:



      documentclass[a4paper]{article} 

      usepackage[T2A]{fontenc}
      usepackage[utf8]{inputenc}
      usepackage[serbianc]{babel}

      begin{document}
      Коментар:
      fbox{
      begin{minipage}[t]
      {0.7linewidth}hfillvspace{5cm}
      end{minipage}
      }
      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
        });


        }
        });






        stayhere is a new contributor. Be nice, and check out our Code of Conduct.










        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477529%2fmaking-an-empty-box-next-to-text%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        5














        A solution with framebox. Just in case you'd like the box to go automatically to the right margin, it's easy to do with the linegoal package, which measures the distance from its point of insertion to the right margin:



        documentclass[a4paper]{article}

        usepackage[T2A]{fontenc}
        usepackage[utf8]{inputenc}
        usepackage[showframe]{geometry}
        usepackage{linegoal}
        usepackage[serbianc]{babel}

        begin{document}

        Коментар:
        framebox[linegoal][l]{rule[-5cm]{0pt}{dimexpr5cm+1ex}
        }

        end{document}


        enter image description here






        share|improve this answer






























          5














          A solution with framebox. Just in case you'd like the box to go automatically to the right margin, it's easy to do with the linegoal package, which measures the distance from its point of insertion to the right margin:



          documentclass[a4paper]{article}

          usepackage[T2A]{fontenc}
          usepackage[utf8]{inputenc}
          usepackage[showframe]{geometry}
          usepackage{linegoal}
          usepackage[serbianc]{babel}

          begin{document}

          Коментар:
          framebox[linegoal][l]{rule[-5cm]{0pt}{dimexpr5cm+1ex}
          }

          end{document}


          enter image description here






          share|improve this answer




























            5












            5








            5







            A solution with framebox. Just in case you'd like the box to go automatically to the right margin, it's easy to do with the linegoal package, which measures the distance from its point of insertion to the right margin:



            documentclass[a4paper]{article}

            usepackage[T2A]{fontenc}
            usepackage[utf8]{inputenc}
            usepackage[showframe]{geometry}
            usepackage{linegoal}
            usepackage[serbianc]{babel}

            begin{document}

            Коментар:
            framebox[linegoal][l]{rule[-5cm]{0pt}{dimexpr5cm+1ex}
            }

            end{document}


            enter image description here






            share|improve this answer















            A solution with framebox. Just in case you'd like the box to go automatically to the right margin, it's easy to do with the linegoal package, which measures the distance from its point of insertion to the right margin:



            documentclass[a4paper]{article}

            usepackage[T2A]{fontenc}
            usepackage[utf8]{inputenc}
            usepackage[showframe]{geometry}
            usepackage{linegoal}
            usepackage[serbianc]{babel}

            begin{document}

            Коментар:
            framebox[linegoal][l]{rule[-5cm]{0pt}{dimexpr5cm+1ex}
            }

            end{document}


            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 13 hours ago

























            answered 13 hours ago









            BernardBernard

            172k775203




            172k775203























                4














                You should use [t] for the minipage. It's easier with parbox, though. The setting to fboxsep will make the box the exact specified dimensions.



                documentclass[a4paper]{article}

                usepackage[T2A]{fontenc}
                usepackage[utf8]{inputenc}
                usepackage[serbianc]{babel}

                newcommand{blankbox}[2]{% #1 = width, #2 = total height
                begingroup
                setlength{fboxsep}{-fboxrule}%
                fbox{parbox[t][#2]{#1}{strut}}%
                endgroup
                }

                begin{document}

                Коментар: blankbox{0.7linewidth}{5cm}

                end{document}


                enter image description here






                share|improve this answer




























                  4














                  You should use [t] for the minipage. It's easier with parbox, though. The setting to fboxsep will make the box the exact specified dimensions.



                  documentclass[a4paper]{article}

                  usepackage[T2A]{fontenc}
                  usepackage[utf8]{inputenc}
                  usepackage[serbianc]{babel}

                  newcommand{blankbox}[2]{% #1 = width, #2 = total height
                  begingroup
                  setlength{fboxsep}{-fboxrule}%
                  fbox{parbox[t][#2]{#1}{strut}}%
                  endgroup
                  }

                  begin{document}

                  Коментар: blankbox{0.7linewidth}{5cm}

                  end{document}


                  enter image description here






                  share|improve this answer


























                    4












                    4








                    4







                    You should use [t] for the minipage. It's easier with parbox, though. The setting to fboxsep will make the box the exact specified dimensions.



                    documentclass[a4paper]{article}

                    usepackage[T2A]{fontenc}
                    usepackage[utf8]{inputenc}
                    usepackage[serbianc]{babel}

                    newcommand{blankbox}[2]{% #1 = width, #2 = total height
                    begingroup
                    setlength{fboxsep}{-fboxrule}%
                    fbox{parbox[t][#2]{#1}{strut}}%
                    endgroup
                    }

                    begin{document}

                    Коментар: blankbox{0.7linewidth}{5cm}

                    end{document}


                    enter image description here






                    share|improve this answer













                    You should use [t] for the minipage. It's easier with parbox, though. The setting to fboxsep will make the box the exact specified dimensions.



                    documentclass[a4paper]{article}

                    usepackage[T2A]{fontenc}
                    usepackage[utf8]{inputenc}
                    usepackage[serbianc]{babel}

                    newcommand{blankbox}[2]{% #1 = width, #2 = total height
                    begingroup
                    setlength{fboxsep}{-fboxrule}%
                    fbox{parbox[t][#2]{#1}{strut}}%
                    endgroup
                    }

                    begin{document}

                    Коментар: blankbox{0.7linewidth}{5cm}

                    end{document}


                    enter image description here







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 14 hours ago









                    egregegreg

                    724k8819173221




                    724k8819173221























                        2














                        Add option [t] (top) to the minipage:



                        documentclass[a4paper]{article} 

                        usepackage[T2A]{fontenc}
                        usepackage[utf8]{inputenc}
                        usepackage[serbianc]{babel}

                        begin{document}
                        Коментар:
                        fbox{
                        begin{minipage}[t]
                        {0.7linewidth}hfillvspace{5cm}
                        end{minipage}
                        }
                        end{document}


                        enter image description here






                        share|improve this answer




























                          2














                          Add option [t] (top) to the minipage:



                          documentclass[a4paper]{article} 

                          usepackage[T2A]{fontenc}
                          usepackage[utf8]{inputenc}
                          usepackage[serbianc]{babel}

                          begin{document}
                          Коментар:
                          fbox{
                          begin{minipage}[t]
                          {0.7linewidth}hfillvspace{5cm}
                          end{minipage}
                          }
                          end{document}


                          enter image description here






                          share|improve this answer


























                            2












                            2








                            2







                            Add option [t] (top) to the minipage:



                            documentclass[a4paper]{article} 

                            usepackage[T2A]{fontenc}
                            usepackage[utf8]{inputenc}
                            usepackage[serbianc]{babel}

                            begin{document}
                            Коментар:
                            fbox{
                            begin{minipage}[t]
                            {0.7linewidth}hfillvspace{5cm}
                            end{minipage}
                            }
                            end{document}


                            enter image description here






                            share|improve this answer













                            Add option [t] (top) to the minipage:



                            documentclass[a4paper]{article} 

                            usepackage[T2A]{fontenc}
                            usepackage[utf8]{inputenc}
                            usepackage[serbianc]{babel}

                            begin{document}
                            Коментар:
                            fbox{
                            begin{minipage}[t]
                            {0.7linewidth}hfillvspace{5cm}
                            end{minipage}
                            }
                            end{document}


                            enter image description here







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 14 hours ago









                            JouleVJouleV

                            4,6681938




                            4,6681938






















                                stayhere is a new contributor. Be nice, and check out our Code of Conduct.










                                draft saved

                                draft discarded


















                                stayhere is a new contributor. Be nice, and check out our Code of Conduct.













                                stayhere is a new contributor. Be nice, and check out our Code of Conduct.












                                stayhere is a new contributor. Be nice, and check out our Code of Conduct.
















                                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%2f477529%2fmaking-an-empty-box-next-to-text%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

                                As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

                                Список ссавців Італії Природоохоронні статуси | Список |...

                                Українські прізвища Зміст Історичні відомості |...