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

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

Do my Windows system binaries contain sensitive information?

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

Where was Karl Mordo in Infinity War?

Why do members of Congress in committee hearings ask witnesses the same question multiple times?

If all harmonics are generated by plucking, how does a guitar string produce a pure frequency sound?

ip vs ifconfig commands pros and cons

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

Can a person refuse a presidential pardon?

Where is this triangular-shaped space station from?

Can the Count of Monte Cristo's calculation of poison dosage be explained?

Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?

Wanted: 5.25 floppy to usb adapter

raspberry pi change directory (cd) command not working with USB drive

Eww, those bytes are gross

On what did Lego base the appearance of the new Hogwarts minifigs?

Is 45 min enough time to catch my next flight

Is my plan for fixing my water heater leak bad?

Why zero tolerance on nudity in space?

What is Crew Dragon approaching in this picture?

How can I mix up weapons for large groups of similar monsters/characters?

What's the purpose of these copper coils with resitors inside them in A Yamaha RX-V396RDS amplifier?

For Loop and Sum

Auto Insert date into Notepad



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
    13 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
    13 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 13 hours ago









JouleV

4,6691938




4,6691938






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 13 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
    13 hours ago














  • 1





    Use begin{minipage}[t]

    – Bernard
    13 hours ago








1




1





Use begin{minipage}[t]

– Bernard
13 hours ago





Use begin{minipage}[t]

– Bernard
13 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 12 hours ago

























            answered 12 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 13 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 13 hours ago









                            JouleVJouleV

                            4,6691938




                            4,6691938






















                                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

                                Installing LyX: “No textclass is found.”LyX installation error- text class not found- 'Reconfigure' or...

                                (1602) Indiana Índice Designación y nombre Características orbitales Véase...

                                Universidad Autónoma de Occidente Índice Historia Campus Facultades Programas Académicos Medios de...