Remove the small black rectangle that appears at the end of environmentOverfull message not yet clarifiedDelaying command expansion that appears in begin handler until end handler executesDefining an environment that leaves the surrounding environmentA command to end any environment?Symbol at the end of an environmentAppend code to beginning of environment from the endHow to write an environment that simply ignores anything written between begin and end?Create an environment that uses another environmentOutput something right before endenvironment, regardless of commands output inside that environmentHow to make environment that right-aligns the text?New environment in small font

Is there a radar system monitoring the UK mainland border?

How to deal with an excess of white-space in a CRM UI?

Is fission/fusion to iron the most efficient way to convert mass to energy?

Keeping track of theme when improvising

Someone who is granted access to information but not expected to read it

What does this line mean in Zelazny's The Courts of Chaos?

Is it possible to have battery technology that can't be duplicated?

What do you call the action of "describing events as they happen" like sports anchors do?

In The Incredibles 2, why does Screenslaver's name use a pun on something that doesn't exist in the 1950s pastiche?

Can a 40amp breaker be used safely and without issue with a 40amp device on 6AWG wire?

What's the relation between у.е. to USD?

Are athlete's college degrees discounted by employers and graduate school admissions?

A team managed by my peer is close to melting down

Do Veracrypt encrypted volumes have any kind of brute force protection?

Why would a home insurer offer a discount based on credit score?

I sent an angry e-mail to my interviewers about a conflict at my home institution. Could this affect my application?

Can an open source licence be revoked if it violates employer's IP?

Why does there seem to be an extreme lack of public trashcans in Taiwan?

Why is my Taiyaki (Cake that looks like a fish) too hard and dry?

Placement of positioning lights on A320 winglets

What does BREAD stand for while drafting?

Is time complexity more important than space complexity?

How to represent jealousy in a cute way?

What is Gilligan's full name?



Remove the small black rectangle that appears at the end of environment


Overfull message not yet clarifiedDelaying command expansion that appears in begin handler until end handler executesDefining an environment that leaves the surrounding environmentA command to end any environment?Symbol at the end of an environmentAppend code to beginning of environment from the endHow to write an environment that simply ignores anything written between begin and end?Create an environment that uses another environmentOutput something right before endenvironment, regardless of commands output inside that environmentHow to make environment that right-aligns the text?New environment in small font













5















I would like to correct the attached script that I was lucky enough to have it thanks to this Post



documentclass[11pt,draft]book
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[french]babel
usepackageamsmath
usepackageamssymb
usepackagemathrsfs
usepackageamsfonts
usepackagemathtools
usepackagentheorem
usepackage[most]tcolorbox
usepackage[nosolutionfiles]answers % for immediate answers (not stored in a file)
theoremstyleplain
theoremindent=40pt
theoremheaderfontnormalfontbfserieshspace-theoremindent
newtheoremtheoremThéorème
newtheoremdefinitionDéfinition
newtheoremproofDémonstration
usetikzlibrarydecorations.pathmorphing
tcbuselibraryskins
tcolorboxenvironmenttheorem
blanker,
breakable,
before skip=topsep,
after skip=topsep,
borderline west=1pt20ptdouble, shorten <=12pt

tcolorboxenvironmentproposition
blanker,
breakable,
before skip=topsep,
after skip=topsep,
borderline west=1pt20ptdouble, shorten <=12pt

tcolorboxenvironmentdefinition
blanker,
breakable,
before skip=topsep,
after skip=topsep,
borderline west=1pt20ptdecoration=zigzag,amplitude=2pt,pre=moveto,pre length=12pt,decorate

newtheoremexoExercice
NewassociationcorrectionSolnmycor
NewassociationindicationIndimyind
renewcommandSolnlabel[1]bf emphCorrection #1
renewcommandIndilabel[1]bf emphIndication #1
newcommandflag[1]
newtheoremquestionQuestion
defTinyfontsize4pt4ptselectfont
newcommand*eqdefensuremathoversetmathclaptextTiny def=
newcommandnorm[1]leftlVert#1rightrVert
begindocument
hrule
begincenter
textbftextsfLarge
Exercices % TITRE

endcenter
hrule
vspace*1cm
Opensolutionfilemycor[ficcorex]
Opensolutionfilemyind[ficind]

beginexo
Soient $(X,d)$ un espace métrique et $Asubset X$, $Aneqemptyset$. On pose:
[
d(x, A)=inf d(x,a) ;, ain A.
]
Qu'on appelle la textit distance du point $x$ à l'ensemble $A$.
On remarque que $d(x, A)$ est bien définie et $geqslant 0$. De plus, $d(x,A)=0$ si $xin A$.
Montrer que
beginenumerate
item $xmapsto d(x,A)$ est $1$-lipschitzienne.
item $d(x,A)=d(x,overline A)$.
item $d(x, A)=0Longleftrightarrow xin overline A$.
endenumerate
endexo
begincorrection
beginenumerate
item Soient $x, yin A$. Pour tout $ain A$ on a
[
-d(x,y)+d(y,a)leqslant d(x,a)leqslant d(y,a)+d(x,y).
] Par passage à l'inf, on trouve
$-d(x,y)+d(y, A)leqslant d(x,A)leqslant d(y,A)+d(x,y)$, d'où $|d(x, A)-d(y,A)|leqslant d(x,y)$.
item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$. Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$. Il s'ensuit que
$$d(x, A)leqslant d(x, a_n_0)leqslant d(x,b)+d(b, a_n_0)<d(x,overline A)+varepsilon.$$
$varepsilon$ étant arbitraire, on trouve $d(x, A)leqslant d(x,overline A)$.\
item "$Longrightarrow$" Si $d(x, A)=0$, alors pour tout $varepsilon>0$ il existe un $ain A$ tel que $d(x,a)<varepsilon$. Pour $varepsilon=1/(n+1)$, on trouve une suite $(a_n)subset A$ telle que $d(x,a_n)<1/(n+1)$. On a donc $a_nto x$, et par conséquent $xinoverline A$.\
Si $xinoverline A$, alors $0=d(x,overline A)=d(x,A)$.
endenumerate
endcorrection
enddocument


Here is an error message



Overfull hbox (6.10593pt too wide) in paragraph at lines 87--88 


Picture



How to remove the small black rectangle that appears at the end of the correction?










share|improve this question



















  • 3





    Remove draft, i.e. replace documentclass[11pt,draft]book by documentclass[11pt]book. These boxed indicate overfull hboxes. Of course, the cleaner way is to shuffle things such that there is no such hbox.

    – marmot
    8 hours ago












  • Note that what you're reporting is not an error message but a warning message.

    – Mico
    8 hours ago











  • Is warning you that there are not a good point to break the line. Before of the math mode is really bad, and before ≥ is also very bad, although LaTeX could be more more tolerant here (It accept a suggestion of linebreak[1] here, whilst before of $d(x, ... will accept only the linebreak[4]) so it break after that. However, for humans probably is better do not break the mathematical expression (in spite of the huge spaces), or better, as suggested, rewrite the paragraph (some like " ..., et particulièrement, $d(x...."

    – Fran
    7 hours ago












  • Avoid $$. In order to solve the particular problem, rewording seems the best approach: remove “Clairement”, that adds nothing. I'd also avoid the whole correction consisting of an enumerate environment, that gives an unbalanced look to the page.

    – egreg
    6 hours ago















5















I would like to correct the attached script that I was lucky enough to have it thanks to this Post



documentclass[11pt,draft]book
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[french]babel
usepackageamsmath
usepackageamssymb
usepackagemathrsfs
usepackageamsfonts
usepackagemathtools
usepackagentheorem
usepackage[most]tcolorbox
usepackage[nosolutionfiles]answers % for immediate answers (not stored in a file)
theoremstyleplain
theoremindent=40pt
theoremheaderfontnormalfontbfserieshspace-theoremindent
newtheoremtheoremThéorème
newtheoremdefinitionDéfinition
newtheoremproofDémonstration
usetikzlibrarydecorations.pathmorphing
tcbuselibraryskins
tcolorboxenvironmenttheorem
blanker,
breakable,
before skip=topsep,
after skip=topsep,
borderline west=1pt20ptdouble, shorten <=12pt

tcolorboxenvironmentproposition
blanker,
breakable,
before skip=topsep,
after skip=topsep,
borderline west=1pt20ptdouble, shorten <=12pt

tcolorboxenvironmentdefinition
blanker,
breakable,
before skip=topsep,
after skip=topsep,
borderline west=1pt20ptdecoration=zigzag,amplitude=2pt,pre=moveto,pre length=12pt,decorate

newtheoremexoExercice
NewassociationcorrectionSolnmycor
NewassociationindicationIndimyind
renewcommandSolnlabel[1]bf emphCorrection #1
renewcommandIndilabel[1]bf emphIndication #1
newcommandflag[1]
newtheoremquestionQuestion
defTinyfontsize4pt4ptselectfont
newcommand*eqdefensuremathoversetmathclaptextTiny def=
newcommandnorm[1]leftlVert#1rightrVert
begindocument
hrule
begincenter
textbftextsfLarge
Exercices % TITRE

endcenter
hrule
vspace*1cm
Opensolutionfilemycor[ficcorex]
Opensolutionfilemyind[ficind]

beginexo
Soient $(X,d)$ un espace métrique et $Asubset X$, $Aneqemptyset$. On pose:
[
d(x, A)=inf d(x,a) ;, ain A.
]
Qu'on appelle la textit distance du point $x$ à l'ensemble $A$.
On remarque que $d(x, A)$ est bien définie et $geqslant 0$. De plus, $d(x,A)=0$ si $xin A$.
Montrer que
beginenumerate
item $xmapsto d(x,A)$ est $1$-lipschitzienne.
item $d(x,A)=d(x,overline A)$.
item $d(x, A)=0Longleftrightarrow xin overline A$.
endenumerate
endexo
begincorrection
beginenumerate
item Soient $x, yin A$. Pour tout $ain A$ on a
[
-d(x,y)+d(y,a)leqslant d(x,a)leqslant d(y,a)+d(x,y).
] Par passage à l'inf, on trouve
$-d(x,y)+d(y, A)leqslant d(x,A)leqslant d(y,A)+d(x,y)$, d'où $|d(x, A)-d(y,A)|leqslant d(x,y)$.
item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$. Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$. Il s'ensuit que
$$d(x, A)leqslant d(x, a_n_0)leqslant d(x,b)+d(b, a_n_0)<d(x,overline A)+varepsilon.$$
$varepsilon$ étant arbitraire, on trouve $d(x, A)leqslant d(x,overline A)$.\
item "$Longrightarrow$" Si $d(x, A)=0$, alors pour tout $varepsilon>0$ il existe un $ain A$ tel que $d(x,a)<varepsilon$. Pour $varepsilon=1/(n+1)$, on trouve une suite $(a_n)subset A$ telle que $d(x,a_n)<1/(n+1)$. On a donc $a_nto x$, et par conséquent $xinoverline A$.\
Si $xinoverline A$, alors $0=d(x,overline A)=d(x,A)$.
endenumerate
endcorrection
enddocument


Here is an error message



Overfull hbox (6.10593pt too wide) in paragraph at lines 87--88 


Picture



How to remove the small black rectangle that appears at the end of the correction?










share|improve this question



















  • 3





    Remove draft, i.e. replace documentclass[11pt,draft]book by documentclass[11pt]book. These boxed indicate overfull hboxes. Of course, the cleaner way is to shuffle things such that there is no such hbox.

    – marmot
    8 hours ago












  • Note that what you're reporting is not an error message but a warning message.

    – Mico
    8 hours ago











  • Is warning you that there are not a good point to break the line. Before of the math mode is really bad, and before ≥ is also very bad, although LaTeX could be more more tolerant here (It accept a suggestion of linebreak[1] here, whilst before of $d(x, ... will accept only the linebreak[4]) so it break after that. However, for humans probably is better do not break the mathematical expression (in spite of the huge spaces), or better, as suggested, rewrite the paragraph (some like " ..., et particulièrement, $d(x...."

    – Fran
    7 hours ago












  • Avoid $$. In order to solve the particular problem, rewording seems the best approach: remove “Clairement”, that adds nothing. I'd also avoid the whole correction consisting of an enumerate environment, that gives an unbalanced look to the page.

    – egreg
    6 hours ago













5












5








5








I would like to correct the attached script that I was lucky enough to have it thanks to this Post



documentclass[11pt,draft]book
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[french]babel
usepackageamsmath
usepackageamssymb
usepackagemathrsfs
usepackageamsfonts
usepackagemathtools
usepackagentheorem
usepackage[most]tcolorbox
usepackage[nosolutionfiles]answers % for immediate answers (not stored in a file)
theoremstyleplain
theoremindent=40pt
theoremheaderfontnormalfontbfserieshspace-theoremindent
newtheoremtheoremThéorème
newtheoremdefinitionDéfinition
newtheoremproofDémonstration
usetikzlibrarydecorations.pathmorphing
tcbuselibraryskins
tcolorboxenvironmenttheorem
blanker,
breakable,
before skip=topsep,
after skip=topsep,
borderline west=1pt20ptdouble, shorten <=12pt

tcolorboxenvironmentproposition
blanker,
breakable,
before skip=topsep,
after skip=topsep,
borderline west=1pt20ptdouble, shorten <=12pt

tcolorboxenvironmentdefinition
blanker,
breakable,
before skip=topsep,
after skip=topsep,
borderline west=1pt20ptdecoration=zigzag,amplitude=2pt,pre=moveto,pre length=12pt,decorate

newtheoremexoExercice
NewassociationcorrectionSolnmycor
NewassociationindicationIndimyind
renewcommandSolnlabel[1]bf emphCorrection #1
renewcommandIndilabel[1]bf emphIndication #1
newcommandflag[1]
newtheoremquestionQuestion
defTinyfontsize4pt4ptselectfont
newcommand*eqdefensuremathoversetmathclaptextTiny def=
newcommandnorm[1]leftlVert#1rightrVert
begindocument
hrule
begincenter
textbftextsfLarge
Exercices % TITRE

endcenter
hrule
vspace*1cm
Opensolutionfilemycor[ficcorex]
Opensolutionfilemyind[ficind]

beginexo
Soient $(X,d)$ un espace métrique et $Asubset X$, $Aneqemptyset$. On pose:
[
d(x, A)=inf d(x,a) ;, ain A.
]
Qu'on appelle la textit distance du point $x$ à l'ensemble $A$.
On remarque que $d(x, A)$ est bien définie et $geqslant 0$. De plus, $d(x,A)=0$ si $xin A$.
Montrer que
beginenumerate
item $xmapsto d(x,A)$ est $1$-lipschitzienne.
item $d(x,A)=d(x,overline A)$.
item $d(x, A)=0Longleftrightarrow xin overline A$.
endenumerate
endexo
begincorrection
beginenumerate
item Soient $x, yin A$. Pour tout $ain A$ on a
[
-d(x,y)+d(y,a)leqslant d(x,a)leqslant d(y,a)+d(x,y).
] Par passage à l'inf, on trouve
$-d(x,y)+d(y, A)leqslant d(x,A)leqslant d(y,A)+d(x,y)$, d'où $|d(x, A)-d(y,A)|leqslant d(x,y)$.
item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$. Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$. Il s'ensuit que
$$d(x, A)leqslant d(x, a_n_0)leqslant d(x,b)+d(b, a_n_0)<d(x,overline A)+varepsilon.$$
$varepsilon$ étant arbitraire, on trouve $d(x, A)leqslant d(x,overline A)$.\
item "$Longrightarrow$" Si $d(x, A)=0$, alors pour tout $varepsilon>0$ il existe un $ain A$ tel que $d(x,a)<varepsilon$. Pour $varepsilon=1/(n+1)$, on trouve une suite $(a_n)subset A$ telle que $d(x,a_n)<1/(n+1)$. On a donc $a_nto x$, et par conséquent $xinoverline A$.\
Si $xinoverline A$, alors $0=d(x,overline A)=d(x,A)$.
endenumerate
endcorrection
enddocument


Here is an error message



Overfull hbox (6.10593pt too wide) in paragraph at lines 87--88 


Picture



How to remove the small black rectangle that appears at the end of the correction?










share|improve this question
















I would like to correct the attached script that I was lucky enough to have it thanks to this Post



documentclass[11pt,draft]book
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[french]babel
usepackageamsmath
usepackageamssymb
usepackagemathrsfs
usepackageamsfonts
usepackagemathtools
usepackagentheorem
usepackage[most]tcolorbox
usepackage[nosolutionfiles]answers % for immediate answers (not stored in a file)
theoremstyleplain
theoremindent=40pt
theoremheaderfontnormalfontbfserieshspace-theoremindent
newtheoremtheoremThéorème
newtheoremdefinitionDéfinition
newtheoremproofDémonstration
usetikzlibrarydecorations.pathmorphing
tcbuselibraryskins
tcolorboxenvironmenttheorem
blanker,
breakable,
before skip=topsep,
after skip=topsep,
borderline west=1pt20ptdouble, shorten <=12pt

tcolorboxenvironmentproposition
blanker,
breakable,
before skip=topsep,
after skip=topsep,
borderline west=1pt20ptdouble, shorten <=12pt

tcolorboxenvironmentdefinition
blanker,
breakable,
before skip=topsep,
after skip=topsep,
borderline west=1pt20ptdecoration=zigzag,amplitude=2pt,pre=moveto,pre length=12pt,decorate

newtheoremexoExercice
NewassociationcorrectionSolnmycor
NewassociationindicationIndimyind
renewcommandSolnlabel[1]bf emphCorrection #1
renewcommandIndilabel[1]bf emphIndication #1
newcommandflag[1]
newtheoremquestionQuestion
defTinyfontsize4pt4ptselectfont
newcommand*eqdefensuremathoversetmathclaptextTiny def=
newcommandnorm[1]leftlVert#1rightrVert
begindocument
hrule
begincenter
textbftextsfLarge
Exercices % TITRE

endcenter
hrule
vspace*1cm
Opensolutionfilemycor[ficcorex]
Opensolutionfilemyind[ficind]

beginexo
Soient $(X,d)$ un espace métrique et $Asubset X$, $Aneqemptyset$. On pose:
[
d(x, A)=inf d(x,a) ;, ain A.
]
Qu'on appelle la textit distance du point $x$ à l'ensemble $A$.
On remarque que $d(x, A)$ est bien définie et $geqslant 0$. De plus, $d(x,A)=0$ si $xin A$.
Montrer que
beginenumerate
item $xmapsto d(x,A)$ est $1$-lipschitzienne.
item $d(x,A)=d(x,overline A)$.
item $d(x, A)=0Longleftrightarrow xin overline A$.
endenumerate
endexo
begincorrection
beginenumerate
item Soient $x, yin A$. Pour tout $ain A$ on a
[
-d(x,y)+d(y,a)leqslant d(x,a)leqslant d(y,a)+d(x,y).
] Par passage à l'inf, on trouve
$-d(x,y)+d(y, A)leqslant d(x,A)leqslant d(y,A)+d(x,y)$, d'où $|d(x, A)-d(y,A)|leqslant d(x,y)$.
item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$. Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$. Il s'ensuit que
$$d(x, A)leqslant d(x, a_n_0)leqslant d(x,b)+d(b, a_n_0)<d(x,overline A)+varepsilon.$$
$varepsilon$ étant arbitraire, on trouve $d(x, A)leqslant d(x,overline A)$.\
item "$Longrightarrow$" Si $d(x, A)=0$, alors pour tout $varepsilon>0$ il existe un $ain A$ tel que $d(x,a)<varepsilon$. Pour $varepsilon=1/(n+1)$, on trouve une suite $(a_n)subset A$ telle que $d(x,a_n)<1/(n+1)$. On a donc $a_nto x$, et par conséquent $xinoverline A$.\
Si $xinoverline A$, alors $0=d(x,overline A)=d(x,A)$.
endenumerate
endcorrection
enddocument


Here is an error message



Overfull hbox (6.10593pt too wide) in paragraph at lines 87--88 


Picture



How to remove the small black rectangle that appears at the end of the correction?







environments






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 8 hours ago









Skillmon

25.8k12553




25.8k12553










asked 8 hours ago









ZbigniewZbigniew

1,06141225




1,06141225







  • 3





    Remove draft, i.e. replace documentclass[11pt,draft]book by documentclass[11pt]book. These boxed indicate overfull hboxes. Of course, the cleaner way is to shuffle things such that there is no such hbox.

    – marmot
    8 hours ago












  • Note that what you're reporting is not an error message but a warning message.

    – Mico
    8 hours ago











  • Is warning you that there are not a good point to break the line. Before of the math mode is really bad, and before ≥ is also very bad, although LaTeX could be more more tolerant here (It accept a suggestion of linebreak[1] here, whilst before of $d(x, ... will accept only the linebreak[4]) so it break after that. However, for humans probably is better do not break the mathematical expression (in spite of the huge spaces), or better, as suggested, rewrite the paragraph (some like " ..., et particulièrement, $d(x...."

    – Fran
    7 hours ago












  • Avoid $$. In order to solve the particular problem, rewording seems the best approach: remove “Clairement”, that adds nothing. I'd also avoid the whole correction consisting of an enumerate environment, that gives an unbalanced look to the page.

    – egreg
    6 hours ago












  • 3





    Remove draft, i.e. replace documentclass[11pt,draft]book by documentclass[11pt]book. These boxed indicate overfull hboxes. Of course, the cleaner way is to shuffle things such that there is no such hbox.

    – marmot
    8 hours ago












  • Note that what you're reporting is not an error message but a warning message.

    – Mico
    8 hours ago











  • Is warning you that there are not a good point to break the line. Before of the math mode is really bad, and before ≥ is also very bad, although LaTeX could be more more tolerant here (It accept a suggestion of linebreak[1] here, whilst before of $d(x, ... will accept only the linebreak[4]) so it break after that. However, for humans probably is better do not break the mathematical expression (in spite of the huge spaces), or better, as suggested, rewrite the paragraph (some like " ..., et particulièrement, $d(x...."

    – Fran
    7 hours ago












  • Avoid $$. In order to solve the particular problem, rewording seems the best approach: remove “Clairement”, that adds nothing. I'd also avoid the whole correction consisting of an enumerate environment, that gives an unbalanced look to the page.

    – egreg
    6 hours ago







3




3





Remove draft, i.e. replace documentclass[11pt,draft]book by documentclass[11pt]book. These boxed indicate overfull hboxes. Of course, the cleaner way is to shuffle things such that there is no such hbox.

– marmot
8 hours ago






Remove draft, i.e. replace documentclass[11pt,draft]book by documentclass[11pt]book. These boxed indicate overfull hboxes. Of course, the cleaner way is to shuffle things such that there is no such hbox.

– marmot
8 hours ago














Note that what you're reporting is not an error message but a warning message.

– Mico
8 hours ago





Note that what you're reporting is not an error message but a warning message.

– Mico
8 hours ago













Is warning you that there are not a good point to break the line. Before of the math mode is really bad, and before ≥ is also very bad, although LaTeX could be more more tolerant here (It accept a suggestion of linebreak[1] here, whilst before of $d(x, ... will accept only the linebreak[4]) so it break after that. However, for humans probably is better do not break the mathematical expression (in spite of the huge spaces), or better, as suggested, rewrite the paragraph (some like " ..., et particulièrement, $d(x...."

– Fran
7 hours ago






Is warning you that there are not a good point to break the line. Before of the math mode is really bad, and before ≥ is also very bad, although LaTeX could be more more tolerant here (It accept a suggestion of linebreak[1] here, whilst before of $d(x, ... will accept only the linebreak[4]) so it break after that. However, for humans probably is better do not break the mathematical expression (in spite of the huge spaces), or better, as suggested, rewrite the paragraph (some like " ..., et particulièrement, $d(x...."

– Fran
7 hours ago














Avoid $$. In order to solve the particular problem, rewording seems the best approach: remove “Clairement”, that adds nothing. I'd also avoid the whole correction consisting of an enumerate environment, that gives an unbalanced look to the page.

– egreg
6 hours ago





Avoid $$. In order to solve the particular problem, rewording seems the best approach: remove “Clairement”, that adds nothing. I'd also avoid the whole correction consisting of an enumerate environment, that gives an unbalanced look to the page.

– egreg
6 hours ago










2 Answers
2






active

oldest

votes


















3














Such problems should be tackled when the text is in final form.



The black box, together with the warning about Overfull hbox, signals that TeX was unable to find a suitable break point. There are several actions that can be tried.



My first advice is to avoid an entire correction to consist of an enumerate environment, which gives an unbalanced look to the page. Another general advice is to load the microtype package (although in this case it doesn't help).



In your case, a 6pt overfull means that the geqslant symbol is almost completely in the margin, so this should be fixed.



In the code that follows, I show the original, then some possible fixes. In the first fix I keep enumerate and push the geqslant symbol to the next line: in a real emergency, this might do, once in a document. The best fix, in any case, is to just omit “Clairement”.



Note the thickmuskip trick where I just add some shrinkability to it: again, once in a document, a reduced space around a relation symbol is not so bad. Don't do a global setting: this could have a very bad impact on formula spacing.



documentclass[11pt,draft,a4paper]book
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[french]babel
usepackageamsmath
usepackageamssymb

begindocument

subsubsection*Original within textttenumerate

beginenumeratesetcounterenumi1
item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
En particulier,
%%%% the problem!
$d(x, A)geqslant d(x,overline A)$.
%%%%
Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
$d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.
endenumerate

subsubsection*Original with textttchar`\linebreak

beginenumeratesetcounterenumi1
item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
En particulier,
%%%% the problem!
$d(x, A)linebreak[0]geqslant d(x,overline A)$.
%%%%
Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
$d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.
endenumerate

subsubsection*Without textttenumerate

2. Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
En particulier,
%%%% the problem!
$d(x, A)geqslant d(x,overline A)$.
%%%%
Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
$d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.

subsubsection*Locally reduce textttchar`\thickmuskip

2. Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
En particulier,
%%%% the problem!
$thickmuskip=muexprthickmuskip + 0mu plus 0mu minus 2murelax
d(x, A)geqslant d(x,overline A)$.
%%%%
Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
$d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.

subsubsection*Rewording

2. Si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
En particulier,
%%%% the problem!
$d(x, A)geqslant d(x,overline A)$.
%%%%
Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
$d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.

enddocument


enter image description here






share|improve this answer























  • Thank you for your precious advice.

    – Zbigniew
    5 hours ago


















3














The title of your posting is a bit misleading: the black rectangle -- it's called a "slug" in typography -- occurs at the end of an overfull line, not at the end of an environment. The slugs are being inserted because you specified the draft document class option.



  • The worst way to get rid of the slugs is to remove the draft document class option. While it gets rid of the slugs, it does nothing to fix the issues that cause the occurrence of overfull lines.


  • The best way to get rid of a slug is to rewrite parts or all of the paragraph in question, so that LaTeX can find other, better line breaks.


  • If rephrasing sentences and paragraphs isn't an option, I suggest you change the value of thickmuskip -- a parameter that governs how much whitespace is inserted to the left and right of "relational" operators such as subset and geqslant. The default value of thickmuskip is 5mu; setting it to 3mu gets rid of the overfull line and hence gets rid of the slug.


The following is a much-simplified version of your code, to allow us to focus on just the enumerated item where the slug occurs. I suggest that if you're choose the reduce the value of thickmuskip, you reduce the value of medmuskip (which governs the spacing around binary operators) as well.



enter image description here



documentclass[11pt,draft]book
usepackage[T1]fontenc
usepackage[utf8]inputenc
usepackage[french]babel
usepackagemathtools,amssymb,mathrsfs
usepackage[nosolutionfiles]answers % for immediate answers (not stored in a file)

usepackagentheorem
theoremstyleplain
theoremindent=40pt
theoremheaderfontnormalfontbfserieshspace-theoremindent
NewassociationcorrectionSolnmycor
renewcommandSolnlabel[1]bf emphCorrection #1
begindocument

hrule
begincenter% TITRE
textbftextsfLarge Exercices
endcenter
hrule
vspace*1cm

begincorrection
beginenumerate
item Soient $x, yin A$. Pour tout $ain A$ on a dots

item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. dots

item begingroup % localize scope of next two instructions
thickmuskip=3mu % default value: 5mu
medmuskip=3mu % default value: 4mu
Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. dots
endgroup

item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. dots
endenumerate
endcorrection
enddocument





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%2f495318%2fremove-the-small-black-rectangle-that-appears-at-the-end-of-environment%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














    Such problems should be tackled when the text is in final form.



    The black box, together with the warning about Overfull hbox, signals that TeX was unable to find a suitable break point. There are several actions that can be tried.



    My first advice is to avoid an entire correction to consist of an enumerate environment, which gives an unbalanced look to the page. Another general advice is to load the microtype package (although in this case it doesn't help).



    In your case, a 6pt overfull means that the geqslant symbol is almost completely in the margin, so this should be fixed.



    In the code that follows, I show the original, then some possible fixes. In the first fix I keep enumerate and push the geqslant symbol to the next line: in a real emergency, this might do, once in a document. The best fix, in any case, is to just omit “Clairement”.



    Note the thickmuskip trick where I just add some shrinkability to it: again, once in a document, a reduced space around a relation symbol is not so bad. Don't do a global setting: this could have a very bad impact on formula spacing.



    documentclass[11pt,draft,a4paper]book
    usepackage[T1]fontenc
    usepackage[utf8]inputenc
    usepackage[french]babel
    usepackageamsmath
    usepackageamssymb

    begindocument

    subsubsection*Original within textttenumerate

    beginenumeratesetcounterenumi1
    item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $d(x, A)geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.
    endenumerate

    subsubsection*Original with textttchar`\linebreak

    beginenumeratesetcounterenumi1
    item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $d(x, A)linebreak[0]geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.
    endenumerate

    subsubsection*Without textttenumerate

    2. Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $d(x, A)geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.

    subsubsection*Locally reduce textttchar`\thickmuskip

    2. Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $thickmuskip=muexprthickmuskip + 0mu plus 0mu minus 2murelax
    d(x, A)geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.

    subsubsection*Rewording

    2. Si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $d(x, A)geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.

    enddocument


    enter image description here






    share|improve this answer























    • Thank you for your precious advice.

      – Zbigniew
      5 hours ago















    3














    Such problems should be tackled when the text is in final form.



    The black box, together with the warning about Overfull hbox, signals that TeX was unable to find a suitable break point. There are several actions that can be tried.



    My first advice is to avoid an entire correction to consist of an enumerate environment, which gives an unbalanced look to the page. Another general advice is to load the microtype package (although in this case it doesn't help).



    In your case, a 6pt overfull means that the geqslant symbol is almost completely in the margin, so this should be fixed.



    In the code that follows, I show the original, then some possible fixes. In the first fix I keep enumerate and push the geqslant symbol to the next line: in a real emergency, this might do, once in a document. The best fix, in any case, is to just omit “Clairement”.



    Note the thickmuskip trick where I just add some shrinkability to it: again, once in a document, a reduced space around a relation symbol is not so bad. Don't do a global setting: this could have a very bad impact on formula spacing.



    documentclass[11pt,draft,a4paper]book
    usepackage[T1]fontenc
    usepackage[utf8]inputenc
    usepackage[french]babel
    usepackageamsmath
    usepackageamssymb

    begindocument

    subsubsection*Original within textttenumerate

    beginenumeratesetcounterenumi1
    item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $d(x, A)geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.
    endenumerate

    subsubsection*Original with textttchar`\linebreak

    beginenumeratesetcounterenumi1
    item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $d(x, A)linebreak[0]geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.
    endenumerate

    subsubsection*Without textttenumerate

    2. Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $d(x, A)geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.

    subsubsection*Locally reduce textttchar`\thickmuskip

    2. Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $thickmuskip=muexprthickmuskip + 0mu plus 0mu minus 2murelax
    d(x, A)geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.

    subsubsection*Rewording

    2. Si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $d(x, A)geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.

    enddocument


    enter image description here






    share|improve this answer























    • Thank you for your precious advice.

      – Zbigniew
      5 hours ago













    3












    3








    3







    Such problems should be tackled when the text is in final form.



    The black box, together with the warning about Overfull hbox, signals that TeX was unable to find a suitable break point. There are several actions that can be tried.



    My first advice is to avoid an entire correction to consist of an enumerate environment, which gives an unbalanced look to the page. Another general advice is to load the microtype package (although in this case it doesn't help).



    In your case, a 6pt overfull means that the geqslant symbol is almost completely in the margin, so this should be fixed.



    In the code that follows, I show the original, then some possible fixes. In the first fix I keep enumerate and push the geqslant symbol to the next line: in a real emergency, this might do, once in a document. The best fix, in any case, is to just omit “Clairement”.



    Note the thickmuskip trick where I just add some shrinkability to it: again, once in a document, a reduced space around a relation symbol is not so bad. Don't do a global setting: this could have a very bad impact on formula spacing.



    documentclass[11pt,draft,a4paper]book
    usepackage[T1]fontenc
    usepackage[utf8]inputenc
    usepackage[french]babel
    usepackageamsmath
    usepackageamssymb

    begindocument

    subsubsection*Original within textttenumerate

    beginenumeratesetcounterenumi1
    item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $d(x, A)geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.
    endenumerate

    subsubsection*Original with textttchar`\linebreak

    beginenumeratesetcounterenumi1
    item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $d(x, A)linebreak[0]geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.
    endenumerate

    subsubsection*Without textttenumerate

    2. Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $d(x, A)geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.

    subsubsection*Locally reduce textttchar`\thickmuskip

    2. Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $thickmuskip=muexprthickmuskip + 0mu plus 0mu minus 2murelax
    d(x, A)geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.

    subsubsection*Rewording

    2. Si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $d(x, A)geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.

    enddocument


    enter image description here






    share|improve this answer













    Such problems should be tackled when the text is in final form.



    The black box, together with the warning about Overfull hbox, signals that TeX was unable to find a suitable break point. There are several actions that can be tried.



    My first advice is to avoid an entire correction to consist of an enumerate environment, which gives an unbalanced look to the page. Another general advice is to load the microtype package (although in this case it doesn't help).



    In your case, a 6pt overfull means that the geqslant symbol is almost completely in the margin, so this should be fixed.



    In the code that follows, I show the original, then some possible fixes. In the first fix I keep enumerate and push the geqslant symbol to the next line: in a real emergency, this might do, once in a document. The best fix, in any case, is to just omit “Clairement”.



    Note the thickmuskip trick where I just add some shrinkability to it: again, once in a document, a reduced space around a relation symbol is not so bad. Don't do a global setting: this could have a very bad impact on formula spacing.



    documentclass[11pt,draft,a4paper]book
    usepackage[T1]fontenc
    usepackage[utf8]inputenc
    usepackage[french]babel
    usepackageamsmath
    usepackageamssymb

    begindocument

    subsubsection*Original within textttenumerate

    beginenumeratesetcounterenumi1
    item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $d(x, A)geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.
    endenumerate

    subsubsection*Original with textttchar`\linebreak

    beginenumeratesetcounterenumi1
    item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $d(x, A)linebreak[0]geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.
    endenumerate

    subsubsection*Without textttenumerate

    2. Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $d(x, A)geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.

    subsubsection*Locally reduce textttchar`\thickmuskip

    2. Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $thickmuskip=muexprthickmuskip + 0mu plus 0mu minus 2murelax
    d(x, A)geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.

    subsubsection*Rewording

    2. Si $Asubset B$, alors $d(x, A)geqslant d(x, B)$.
    En particulier,
    %%%% the problem!
    $d(x, A)geqslant d(x,overline A)$.
    %%%%
    Soit $varepsilon>0$. Il existe un $binoverline A$ tel que
    $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle
    que $a_nto b$. Comme $ymapsto d(x,y)$ est continue sur $X$, on trouve $d(x, a_n)to d(x,b)$.
    Il existe donc un $n_0$ tel que $d(a_n_0,b)<varepsilon/2$.

    enddocument


    enter image description here







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered 5 hours ago









    egregegreg

    748k8919553298




    748k8919553298












    • Thank you for your precious advice.

      – Zbigniew
      5 hours ago

















    • Thank you for your precious advice.

      – Zbigniew
      5 hours ago
















    Thank you for your precious advice.

    – Zbigniew
    5 hours ago





    Thank you for your precious advice.

    – Zbigniew
    5 hours ago











    3














    The title of your posting is a bit misleading: the black rectangle -- it's called a "slug" in typography -- occurs at the end of an overfull line, not at the end of an environment. The slugs are being inserted because you specified the draft document class option.



    • The worst way to get rid of the slugs is to remove the draft document class option. While it gets rid of the slugs, it does nothing to fix the issues that cause the occurrence of overfull lines.


    • The best way to get rid of a slug is to rewrite parts or all of the paragraph in question, so that LaTeX can find other, better line breaks.


    • If rephrasing sentences and paragraphs isn't an option, I suggest you change the value of thickmuskip -- a parameter that governs how much whitespace is inserted to the left and right of "relational" operators such as subset and geqslant. The default value of thickmuskip is 5mu; setting it to 3mu gets rid of the overfull line and hence gets rid of the slug.


    The following is a much-simplified version of your code, to allow us to focus on just the enumerated item where the slug occurs. I suggest that if you're choose the reduce the value of thickmuskip, you reduce the value of medmuskip (which governs the spacing around binary operators) as well.



    enter image description here



    documentclass[11pt,draft]book
    usepackage[T1]fontenc
    usepackage[utf8]inputenc
    usepackage[french]babel
    usepackagemathtools,amssymb,mathrsfs
    usepackage[nosolutionfiles]answers % for immediate answers (not stored in a file)

    usepackagentheorem
    theoremstyleplain
    theoremindent=40pt
    theoremheaderfontnormalfontbfserieshspace-theoremindent
    NewassociationcorrectionSolnmycor
    renewcommandSolnlabel[1]bf emphCorrection #1
    begindocument

    hrule
    begincenter% TITRE
    textbftextsfLarge Exercices
    endcenter
    hrule
    vspace*1cm

    begincorrection
    beginenumerate
    item Soient $x, yin A$. Pour tout $ain A$ on a dots

    item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. dots

    item begingroup % localize scope of next two instructions
    thickmuskip=3mu % default value: 5mu
    medmuskip=3mu % default value: 4mu
    Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. dots
    endgroup

    item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. dots
    endenumerate
    endcorrection
    enddocument





    share|improve this answer



























      3














      The title of your posting is a bit misleading: the black rectangle -- it's called a "slug" in typography -- occurs at the end of an overfull line, not at the end of an environment. The slugs are being inserted because you specified the draft document class option.



      • The worst way to get rid of the slugs is to remove the draft document class option. While it gets rid of the slugs, it does nothing to fix the issues that cause the occurrence of overfull lines.


      • The best way to get rid of a slug is to rewrite parts or all of the paragraph in question, so that LaTeX can find other, better line breaks.


      • If rephrasing sentences and paragraphs isn't an option, I suggest you change the value of thickmuskip -- a parameter that governs how much whitespace is inserted to the left and right of "relational" operators such as subset and geqslant. The default value of thickmuskip is 5mu; setting it to 3mu gets rid of the overfull line and hence gets rid of the slug.


      The following is a much-simplified version of your code, to allow us to focus on just the enumerated item where the slug occurs. I suggest that if you're choose the reduce the value of thickmuskip, you reduce the value of medmuskip (which governs the spacing around binary operators) as well.



      enter image description here



      documentclass[11pt,draft]book
      usepackage[T1]fontenc
      usepackage[utf8]inputenc
      usepackage[french]babel
      usepackagemathtools,amssymb,mathrsfs
      usepackage[nosolutionfiles]answers % for immediate answers (not stored in a file)

      usepackagentheorem
      theoremstyleplain
      theoremindent=40pt
      theoremheaderfontnormalfontbfserieshspace-theoremindent
      NewassociationcorrectionSolnmycor
      renewcommandSolnlabel[1]bf emphCorrection #1
      begindocument

      hrule
      begincenter% TITRE
      textbftextsfLarge Exercices
      endcenter
      hrule
      vspace*1cm

      begincorrection
      beginenumerate
      item Soient $x, yin A$. Pour tout $ain A$ on a dots

      item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. dots

      item begingroup % localize scope of next two instructions
      thickmuskip=3mu % default value: 5mu
      medmuskip=3mu % default value: 4mu
      Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. dots
      endgroup

      item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. dots
      endenumerate
      endcorrection
      enddocument





      share|improve this answer

























        3












        3








        3







        The title of your posting is a bit misleading: the black rectangle -- it's called a "slug" in typography -- occurs at the end of an overfull line, not at the end of an environment. The slugs are being inserted because you specified the draft document class option.



        • The worst way to get rid of the slugs is to remove the draft document class option. While it gets rid of the slugs, it does nothing to fix the issues that cause the occurrence of overfull lines.


        • The best way to get rid of a slug is to rewrite parts or all of the paragraph in question, so that LaTeX can find other, better line breaks.


        • If rephrasing sentences and paragraphs isn't an option, I suggest you change the value of thickmuskip -- a parameter that governs how much whitespace is inserted to the left and right of "relational" operators such as subset and geqslant. The default value of thickmuskip is 5mu; setting it to 3mu gets rid of the overfull line and hence gets rid of the slug.


        The following is a much-simplified version of your code, to allow us to focus on just the enumerated item where the slug occurs. I suggest that if you're choose the reduce the value of thickmuskip, you reduce the value of medmuskip (which governs the spacing around binary operators) as well.



        enter image description here



        documentclass[11pt,draft]book
        usepackage[T1]fontenc
        usepackage[utf8]inputenc
        usepackage[french]babel
        usepackagemathtools,amssymb,mathrsfs
        usepackage[nosolutionfiles]answers % for immediate answers (not stored in a file)

        usepackagentheorem
        theoremstyleplain
        theoremindent=40pt
        theoremheaderfontnormalfontbfserieshspace-theoremindent
        NewassociationcorrectionSolnmycor
        renewcommandSolnlabel[1]bf emphCorrection #1
        begindocument

        hrule
        begincenter% TITRE
        textbftextsfLarge Exercices
        endcenter
        hrule
        vspace*1cm

        begincorrection
        beginenumerate
        item Soient $x, yin A$. Pour tout $ain A$ on a dots

        item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. dots

        item begingroup % localize scope of next two instructions
        thickmuskip=3mu % default value: 5mu
        medmuskip=3mu % default value: 4mu
        Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. dots
        endgroup

        item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. dots
        endenumerate
        endcorrection
        enddocument





        share|improve this answer













        The title of your posting is a bit misleading: the black rectangle -- it's called a "slug" in typography -- occurs at the end of an overfull line, not at the end of an environment. The slugs are being inserted because you specified the draft document class option.



        • The worst way to get rid of the slugs is to remove the draft document class option. While it gets rid of the slugs, it does nothing to fix the issues that cause the occurrence of overfull lines.


        • The best way to get rid of a slug is to rewrite parts or all of the paragraph in question, so that LaTeX can find other, better line breaks.


        • If rephrasing sentences and paragraphs isn't an option, I suggest you change the value of thickmuskip -- a parameter that governs how much whitespace is inserted to the left and right of "relational" operators such as subset and geqslant. The default value of thickmuskip is 5mu; setting it to 3mu gets rid of the overfull line and hence gets rid of the slug.


        The following is a much-simplified version of your code, to allow us to focus on just the enumerated item where the slug occurs. I suggest that if you're choose the reduce the value of thickmuskip, you reduce the value of medmuskip (which governs the spacing around binary operators) as well.



        enter image description here



        documentclass[11pt,draft]book
        usepackage[T1]fontenc
        usepackage[utf8]inputenc
        usepackage[french]babel
        usepackagemathtools,amssymb,mathrsfs
        usepackage[nosolutionfiles]answers % for immediate answers (not stored in a file)

        usepackagentheorem
        theoremstyleplain
        theoremindent=40pt
        theoremheaderfontnormalfontbfserieshspace-theoremindent
        NewassociationcorrectionSolnmycor
        renewcommandSolnlabel[1]bf emphCorrection #1
        begindocument

        hrule
        begincenter% TITRE
        textbftextsfLarge Exercices
        endcenter
        hrule
        vspace*1cm

        begincorrection
        beginenumerate
        item Soient $x, yin A$. Pour tout $ain A$ on a dots

        item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. dots

        item begingroup % localize scope of next two instructions
        thickmuskip=3mu % default value: 5mu
        medmuskip=3mu % default value: 4mu
        Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. dots
        endgroup

        item Clairement, si $Asubset B$, alors $d(x, A)geqslant d(x, B)$. En particulier, $d(x, A)geqslant d(x,overline A)$. Soit $varepsilon>0$. Il existe un $binoverline A$ tel que $d(x,b)<d(x,overline A)+varepsilon/2$. Il existe une suite $(a_n)subset A$ telle que $a_nto b$. dots
        endenumerate
        endcorrection
        enddocument






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 7 hours ago









        MicoMico

        294k32403792




        294k32403792



























            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%2f495318%2fremove-the-small-black-rectangle-that-appears-at-the-end-of-environment%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

            Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

            Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

            Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її