How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

Is there a problem with hiding "forgot password" until it's needed?

Time travel short story where a man arrives in the late 19th century in a time machine and then sends the machine back into the past

Go Pregnant or Go Home

Why Were Madagascar and New Zealand Discovered So Late?

How can my private key be revealed if I use the same nonce while generating the signature?

Modify casing of marked letters

Trouble understanding overseas colleagues

Best way to store options for panels

Was Spock the First Vulcan in Starfleet?

How do I keep an essay about "feeling flat" from feeling flat?

How does a character multiclassing into warlock get a focus?

Why does John Bercow say “unlock” after reading out the results of a vote?

The Riley Riddle Mine

Print name if parameter passed to function

How can I replace every global instance of "x[2]" with "x_2"

Hide Select Output from T-SQL

Can I convert a rim brake wheel to a disc brake wheel?

Teaching indefinite integrals that require special-casing

I'm in charge of equipment buying but no one's ever happy with what I choose. How to fix this?

Is there an Impartial Brexit Deal comparison site?

Star/Wye electrical connection math symbol

Invariants between two isomorphic vector spaces

Why did Kant, Hegel, and Adorno leave some words and phrases in the Greek alphabet?

Greatest common substring



How should I use the fbox command correctly to avoid producing a Bad Box message?


How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?













2















I come from this link and the response that is given is very good.



I have this MWE:



documentclass[11pt]article
usepackageamsmath
usepackageamssymb

begindocument

vspace5mm
fboxbeginminipage30em
underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.
endminipage
vspace5mm

enddocument


where I modify the fbox value (which is 30em) manually. But that is not the correct width of box (according to the margins of the document). So I change 30emfor textwidth value, and when I compile it says that there is an Bad Box (I clarify that approximately from 31em onwards the Bad Box message appears). How can I avoid that message?



Using a measure versus not using it



Should I manually enter the value or is there some (easy) way to not have to worry about every box in my document?



Thanks!










share|improve this question

















  • 1





    There is a little bit white space (fboxsep) on all sides of the box to the text. This space is added to the linewidth, hence the whole box needs more space and creates a warning.

    – Johannes_B
    Jan 22 '18 at 7:16






  • 2





    What you really should do: Create semantic markup, instead of doing the layout each and every time.

    – Johannes_B
    Jan 22 '18 at 7:17






  • 3





    To resolve you immediate issue instead of textwidth use beginminipagetextwidth-2fboxsep and include usepackagecalc. Also, you need a noindent before the fbox. But, yes defintly do as @Johannes_B recommends and define a custom environment instead of tweaking every use of this. I'd recomment looking into tcolorbox (there are numerous examples on this site). Also, adding the showframe package will clearly show you what is happening with you add the noindent and the -2fboxsep.

    – Peter Grill
    Jan 22 '18 at 7:37












  • @Johannes_B Thanks for your explanation! I am a beginner with LaTeX, so I have to learn a lot about programming (even if I'm studying a career in Computer Science haha).

    – manooooh
    Jan 22 '18 at 20:38











  • @PeterGrill I'm going to take your recommendation about that alternative that you propose.

    – manooooh
    Jan 22 '18 at 20:38















2















I come from this link and the response that is given is very good.



I have this MWE:



documentclass[11pt]article
usepackageamsmath
usepackageamssymb

begindocument

vspace5mm
fboxbeginminipage30em
underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.
endminipage
vspace5mm

enddocument


where I modify the fbox value (which is 30em) manually. But that is not the correct width of box (according to the margins of the document). So I change 30emfor textwidth value, and when I compile it says that there is an Bad Box (I clarify that approximately from 31em onwards the Bad Box message appears). How can I avoid that message?



Using a measure versus not using it



Should I manually enter the value or is there some (easy) way to not have to worry about every box in my document?



Thanks!










share|improve this question

















  • 1





    There is a little bit white space (fboxsep) on all sides of the box to the text. This space is added to the linewidth, hence the whole box needs more space and creates a warning.

    – Johannes_B
    Jan 22 '18 at 7:16






  • 2





    What you really should do: Create semantic markup, instead of doing the layout each and every time.

    – Johannes_B
    Jan 22 '18 at 7:17






  • 3





    To resolve you immediate issue instead of textwidth use beginminipagetextwidth-2fboxsep and include usepackagecalc. Also, you need a noindent before the fbox. But, yes defintly do as @Johannes_B recommends and define a custom environment instead of tweaking every use of this. I'd recomment looking into tcolorbox (there are numerous examples on this site). Also, adding the showframe package will clearly show you what is happening with you add the noindent and the -2fboxsep.

    – Peter Grill
    Jan 22 '18 at 7:37












  • @Johannes_B Thanks for your explanation! I am a beginner with LaTeX, so I have to learn a lot about programming (even if I'm studying a career in Computer Science haha).

    – manooooh
    Jan 22 '18 at 20:38











  • @PeterGrill I'm going to take your recommendation about that alternative that you propose.

    – manooooh
    Jan 22 '18 at 20:38













2












2








2








I come from this link and the response that is given is very good.



I have this MWE:



documentclass[11pt]article
usepackageamsmath
usepackageamssymb

begindocument

vspace5mm
fboxbeginminipage30em
underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.
endminipage
vspace5mm

enddocument


where I modify the fbox value (which is 30em) manually. But that is not the correct width of box (according to the margins of the document). So I change 30emfor textwidth value, and when I compile it says that there is an Bad Box (I clarify that approximately from 31em onwards the Bad Box message appears). How can I avoid that message?



Using a measure versus not using it



Should I manually enter the value or is there some (easy) way to not have to worry about every box in my document?



Thanks!










share|improve this question














I come from this link and the response that is given is very good.



I have this MWE:



documentclass[11pt]article
usepackageamsmath
usepackageamssymb

begindocument

vspace5mm
fboxbeginminipage30em
underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.
endminipage
vspace5mm

enddocument


where I modify the fbox value (which is 30em) manually. But that is not the correct width of box (according to the margins of the document). So I change 30emfor textwidth value, and when I compile it says that there is an Bad Box (I clarify that approximately from 31em onwards the Bad Box message appears). How can I avoid that message?



Using a measure versus not using it



Should I manually enter the value or is there some (easy) way to not have to worry about every box in my document?



Thanks!







boxes unit-of-measure






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 22 '18 at 7:10









manoooohmanooooh

1,1641517




1,1641517







  • 1





    There is a little bit white space (fboxsep) on all sides of the box to the text. This space is added to the linewidth, hence the whole box needs more space and creates a warning.

    – Johannes_B
    Jan 22 '18 at 7:16






  • 2





    What you really should do: Create semantic markup, instead of doing the layout each and every time.

    – Johannes_B
    Jan 22 '18 at 7:17






  • 3





    To resolve you immediate issue instead of textwidth use beginminipagetextwidth-2fboxsep and include usepackagecalc. Also, you need a noindent before the fbox. But, yes defintly do as @Johannes_B recommends and define a custom environment instead of tweaking every use of this. I'd recomment looking into tcolorbox (there are numerous examples on this site). Also, adding the showframe package will clearly show you what is happening with you add the noindent and the -2fboxsep.

    – Peter Grill
    Jan 22 '18 at 7:37












  • @Johannes_B Thanks for your explanation! I am a beginner with LaTeX, so I have to learn a lot about programming (even if I'm studying a career in Computer Science haha).

    – manooooh
    Jan 22 '18 at 20:38











  • @PeterGrill I'm going to take your recommendation about that alternative that you propose.

    – manooooh
    Jan 22 '18 at 20:38












  • 1





    There is a little bit white space (fboxsep) on all sides of the box to the text. This space is added to the linewidth, hence the whole box needs more space and creates a warning.

    – Johannes_B
    Jan 22 '18 at 7:16






  • 2





    What you really should do: Create semantic markup, instead of doing the layout each and every time.

    – Johannes_B
    Jan 22 '18 at 7:17






  • 3





    To resolve you immediate issue instead of textwidth use beginminipagetextwidth-2fboxsep and include usepackagecalc. Also, you need a noindent before the fbox. But, yes defintly do as @Johannes_B recommends and define a custom environment instead of tweaking every use of this. I'd recomment looking into tcolorbox (there are numerous examples on this site). Also, adding the showframe package will clearly show you what is happening with you add the noindent and the -2fboxsep.

    – Peter Grill
    Jan 22 '18 at 7:37












  • @Johannes_B Thanks for your explanation! I am a beginner with LaTeX, so I have to learn a lot about programming (even if I'm studying a career in Computer Science haha).

    – manooooh
    Jan 22 '18 at 20:38











  • @PeterGrill I'm going to take your recommendation about that alternative that you propose.

    – manooooh
    Jan 22 '18 at 20:38







1




1





There is a little bit white space (fboxsep) on all sides of the box to the text. This space is added to the linewidth, hence the whole box needs more space and creates a warning.

– Johannes_B
Jan 22 '18 at 7:16





There is a little bit white space (fboxsep) on all sides of the box to the text. This space is added to the linewidth, hence the whole box needs more space and creates a warning.

– Johannes_B
Jan 22 '18 at 7:16




2




2





What you really should do: Create semantic markup, instead of doing the layout each and every time.

– Johannes_B
Jan 22 '18 at 7:17





What you really should do: Create semantic markup, instead of doing the layout each and every time.

– Johannes_B
Jan 22 '18 at 7:17




3




3





To resolve you immediate issue instead of textwidth use beginminipagetextwidth-2fboxsep and include usepackagecalc. Also, you need a noindent before the fbox. But, yes defintly do as @Johannes_B recommends and define a custom environment instead of tweaking every use of this. I'd recomment looking into tcolorbox (there are numerous examples on this site). Also, adding the showframe package will clearly show you what is happening with you add the noindent and the -2fboxsep.

– Peter Grill
Jan 22 '18 at 7:37






To resolve you immediate issue instead of textwidth use beginminipagetextwidth-2fboxsep and include usepackagecalc. Also, you need a noindent before the fbox. But, yes defintly do as @Johannes_B recommends and define a custom environment instead of tweaking every use of this. I'd recomment looking into tcolorbox (there are numerous examples on this site). Also, adding the showframe package will clearly show you what is happening with you add the noindent and the -2fboxsep.

– Peter Grill
Jan 22 '18 at 7:37














@Johannes_B Thanks for your explanation! I am a beginner with LaTeX, so I have to learn a lot about programming (even if I'm studying a career in Computer Science haha).

– manooooh
Jan 22 '18 at 20:38





@Johannes_B Thanks for your explanation! I am a beginner with LaTeX, so I have to learn a lot about programming (even if I'm studying a career in Computer Science haha).

– manooooh
Jan 22 '18 at 20:38













@PeterGrill I'm going to take your recommendation about that alternative that you propose.

– manooooh
Jan 22 '18 at 20:38





@PeterGrill I'm going to take your recommendation about that alternative that you propose.

– manooooh
Jan 22 '18 at 20:38










2 Answers
2






active

oldest

votes


















3














Here is a "changed" fbox called myfbox and expecting as arguments an optional for width and a mandatory (its content)



documentclass[11pt]article
usepackageamsmath
usepackageamssymb

newlengthmywidth%

makeatletter
newcommandmyfbox[2][linewidth]%
xdefmysepdimexpr 1dimexprf@size ptrelaxrelax%
setlengthfboxsepmysep%
setlengthmywidthdimexpr#1-2fboxsep-2fboxrulerelax%
noindentfboxbeginminipage[inner sep=0]mywidth#2endminipage%
%
makeatother

begindocument

Large

myfbox[linewidth]
underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.


Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones:

normalsize

myfbox[textwidth]underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.

scriptsize

begincenter
myfbox[0.7textwidth]underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.
endcenter
enddocument


Output:



enter image description here



PS: Source: https://tex.stackexchange.com/a/102739/120578 from @GonzaloMedina



PS2: May be is not good idea to include the noindent command in my definition of the box (You can remove it from there and use it whenever needed)






share|improve this answer























  • Many thanks! It is fine with noident command :). The only thing I have to add was the vertical spacing up and down the custom box you created so that the text is not so close to it. I should learn all the commands that you use in your code. What draws my attention is the meaning of the relax command and all that ... I'm passionate about LaTex!

    – manooooh
    Jan 22 '18 at 20:46


















0














I like what I see and but would like to know how not to see to white box on the screen






share|improve this answer








New contributor




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



















    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%2f411485%2fhow-should-i-use-the-fbox-command-correctly-to-avoid-producing-a-bad-box-message%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    Here is a "changed" fbox called myfbox and expecting as arguments an optional for width and a mandatory (its content)



    documentclass[11pt]article
    usepackageamsmath
    usepackageamssymb

    newlengthmywidth%

    makeatletter
    newcommandmyfbox[2][linewidth]%
    xdefmysepdimexpr 1dimexprf@size ptrelaxrelax%
    setlengthfboxsepmysep%
    setlengthmywidthdimexpr#1-2fboxsep-2fboxrulerelax%
    noindentfboxbeginminipage[inner sep=0]mywidth#2endminipage%
    %
    makeatother

    begindocument

    Large

    myfbox[linewidth]
    underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.


    Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones:

    normalsize

    myfbox[textwidth]underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.

    scriptsize

    begincenter
    myfbox[0.7textwidth]underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.
    endcenter
    enddocument


    Output:



    enter image description here



    PS: Source: https://tex.stackexchange.com/a/102739/120578 from @GonzaloMedina



    PS2: May be is not good idea to include the noindent command in my definition of the box (You can remove it from there and use it whenever needed)






    share|improve this answer























    • Many thanks! It is fine with noident command :). The only thing I have to add was the vertical spacing up and down the custom box you created so that the text is not so close to it. I should learn all the commands that you use in your code. What draws my attention is the meaning of the relax command and all that ... I'm passionate about LaTex!

      – manooooh
      Jan 22 '18 at 20:46















    3














    Here is a "changed" fbox called myfbox and expecting as arguments an optional for width and a mandatory (its content)



    documentclass[11pt]article
    usepackageamsmath
    usepackageamssymb

    newlengthmywidth%

    makeatletter
    newcommandmyfbox[2][linewidth]%
    xdefmysepdimexpr 1dimexprf@size ptrelaxrelax%
    setlengthfboxsepmysep%
    setlengthmywidthdimexpr#1-2fboxsep-2fboxrulerelax%
    noindentfboxbeginminipage[inner sep=0]mywidth#2endminipage%
    %
    makeatother

    begindocument

    Large

    myfbox[linewidth]
    underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.


    Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones:

    normalsize

    myfbox[textwidth]underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.

    scriptsize

    begincenter
    myfbox[0.7textwidth]underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.
    endcenter
    enddocument


    Output:



    enter image description here



    PS: Source: https://tex.stackexchange.com/a/102739/120578 from @GonzaloMedina



    PS2: May be is not good idea to include the noindent command in my definition of the box (You can remove it from there and use it whenever needed)






    share|improve this answer























    • Many thanks! It is fine with noident command :). The only thing I have to add was the vertical spacing up and down the custom box you created so that the text is not so close to it. I should learn all the commands that you use in your code. What draws my attention is the meaning of the relax command and all that ... I'm passionate about LaTex!

      – manooooh
      Jan 22 '18 at 20:46













    3












    3








    3







    Here is a "changed" fbox called myfbox and expecting as arguments an optional for width and a mandatory (its content)



    documentclass[11pt]article
    usepackageamsmath
    usepackageamssymb

    newlengthmywidth%

    makeatletter
    newcommandmyfbox[2][linewidth]%
    xdefmysepdimexpr 1dimexprf@size ptrelaxrelax%
    setlengthfboxsepmysep%
    setlengthmywidthdimexpr#1-2fboxsep-2fboxrulerelax%
    noindentfboxbeginminipage[inner sep=0]mywidth#2endminipage%
    %
    makeatother

    begindocument

    Large

    myfbox[linewidth]
    underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.


    Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones:

    normalsize

    myfbox[textwidth]underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.

    scriptsize

    begincenter
    myfbox[0.7textwidth]underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.
    endcenter
    enddocument


    Output:



    enter image description here



    PS: Source: https://tex.stackexchange.com/a/102739/120578 from @GonzaloMedina



    PS2: May be is not good idea to include the noindent command in my definition of the box (You can remove it from there and use it whenever needed)






    share|improve this answer













    Here is a "changed" fbox called myfbox and expecting as arguments an optional for width and a mandatory (its content)



    documentclass[11pt]article
    usepackageamsmath
    usepackageamssymb

    newlengthmywidth%

    makeatletter
    newcommandmyfbox[2][linewidth]%
    xdefmysepdimexpr 1dimexprf@size ptrelaxrelax%
    setlengthfboxsepmysep%
    setlengthmywidthdimexpr#1-2fboxsep-2fboxrulerelax%
    noindentfboxbeginminipage[inner sep=0]mywidth#2endminipage%
    %
    makeatother

    begindocument

    Large

    myfbox[linewidth]
    underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.


    Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones:

    normalsize

    myfbox[textwidth]underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.

    scriptsize

    begincenter
    myfbox[0.7textwidth]underlinetextbfNOTACI'ON: Dada (f:Dsubseteq mathbb Rrightarrow mathbb R) con (y=f(x)) para denotar la funci'on derivada se puede encontrar en la bibliograf'ia disponible de la materia las siguientes notaciones: [beginarrayccccf'(x), & D_xf, & dfracdfdx, & dfracdydxendarray.] Todas ellas son equivalentes y que utilizaremos indistintamente en lo sucesivo.
    endcenter
    enddocument


    Output:



    enter image description here



    PS: Source: https://tex.stackexchange.com/a/102739/120578 from @GonzaloMedina



    PS2: May be is not good idea to include the noindent command in my definition of the box (You can remove it from there and use it whenever needed)







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jan 22 '18 at 8:20









    koleygrkoleygr

    13.3k11038




    13.3k11038












    • Many thanks! It is fine with noident command :). The only thing I have to add was the vertical spacing up and down the custom box you created so that the text is not so close to it. I should learn all the commands that you use in your code. What draws my attention is the meaning of the relax command and all that ... I'm passionate about LaTex!

      – manooooh
      Jan 22 '18 at 20:46

















    • Many thanks! It is fine with noident command :). The only thing I have to add was the vertical spacing up and down the custom box you created so that the text is not so close to it. I should learn all the commands that you use in your code. What draws my attention is the meaning of the relax command and all that ... I'm passionate about LaTex!

      – manooooh
      Jan 22 '18 at 20:46
















    Many thanks! It is fine with noident command :). The only thing I have to add was the vertical spacing up and down the custom box you created so that the text is not so close to it. I should learn all the commands that you use in your code. What draws my attention is the meaning of the relax command and all that ... I'm passionate about LaTex!

    – manooooh
    Jan 22 '18 at 20:46





    Many thanks! It is fine with noident command :). The only thing I have to add was the vertical spacing up and down the custom box you created so that the text is not so close to it. I should learn all the commands that you use in your code. What draws my attention is the meaning of the relax command and all that ... I'm passionate about LaTex!

    – manooooh
    Jan 22 '18 at 20:46











    0














    I like what I see and but would like to know how not to see to white box on the screen






    share|improve this answer








    New contributor




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
























      0














      I like what I see and but would like to know how not to see to white box on the screen






      share|improve this answer








      New contributor




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






















        0












        0








        0







        I like what I see and but would like to know how not to see to white box on the screen






        share|improve this answer








        New contributor




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










        I like what I see and but would like to know how not to see to white box on the screen







        share|improve this answer








        New contributor




        Dwight Woodley 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 answer



        share|improve this answer






        New contributor




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









        answered 18 mins ago









        Dwight WoodleyDwight Woodley

        1




        1




        New contributor




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





        New contributor





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






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



























            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%2f411485%2fhow-should-i-use-the-fbox-command-correctly-to-avoid-producing-a-bad-box-message%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

            Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"

            inputenc: Unicode character … not set up for use with LaTeX The Next CEO of Stack OverflowEntering Unicode characters in LaTeXHow to solve the `Package inputenc Error: Unicode char not set up for use with LaTeX` problem?solve “Unicode char is not set up for use with LaTeX” without special handling of every new interesting UTF-8 characterPackage inputenc Error: Unicode character ² (U+B2)(inputenc) not set up for use with LaTeX. acroI2C[I²C]package inputenc error unicode char (u + 190) not set up for use with latexPackage inputenc Error: Unicode char u8:′ not set up for use with LaTeX. 3′inputenc Error: Unicode char u8: not set up for use with LaTeX with G-BriefPackage Inputenc Error: Unicode char u8: not set up for use with LaTeXPackage inputenc Error: Unicode char ́ (U+301)(inputenc) not set up for use with LaTeX. includePackage inputenc Error: Unicode char ̂ (U+302)(inputenc) not set up for use with LaTeX. … $widehatleft (OA,AA' right )$Package inputenc Error: Unicode char â„¡ (U+2121)(inputenc) not set up for use with LaTeX. printbibliography[heading=bibintoc]Package inputenc Error: Unicode char − (U+2212)(inputenc) not set up for use with LaTeXPackage inputenc Error: Unicode character α (U+3B1) not set up for use with LaTeXPackage inputenc Error: Unicode characterError: ! Package inputenc Error: Unicode char ⊘ (U+2298)(inputenc) not set up for use with LaTeX