An anonymous poster wrote this:

What is the difference in nuance between "Shut the door, will you?" and "Shut the door, won't you?" When do you use the former instead of the latter and vice versa?

My question is "Is it OK to use the former to refer to the 'former sentence' and the latter to refer to the 'latter sentence''?
>My question is "Is it OK to use the former to refer to the 'the former sentence' and the latter to refer to the 'the latter sentence''?

It's normal ellipsis. And you need the the.
See CJ's response, just above yours.

I had dinner with Jim and Sue, but we were a sad group. The former is about to leave for a month abroad, and the latter just broke up with her boyfriend.

Very normal. The "former" in this case refers to Jim and the "latter" refers to Sue. The first one mentioned, and the later one mentioned.
Students: Are you brave enough to let our tutors analyse your pronunciation?
The first sentece is simply saying "Shut the door!". The "will ya (you) " part is simply there to express irritation, and create a sense of urgency. I would say that this is not used all that often. Other examples would be "Close the window, will ya?". I've never heard of the "wontcha" (won't you) form though.
Yes. the former and the latter can be used instead of the former sentence and the latter sentence because it's quite clear from context that sentence is what you mean. Some people would write the former sentence and the latter, leaving out sentence only the second time.

(I have the impression you don't care about having an answer to the question inside your question. Emotion: smile )

Teachers: We supply a list of EFL job vacancies
Thank you, Marius.

So what you are saying is that "the 'the latter sentence'" is an elliptical phrase of "the phrase 'the latter sentence'"? Is it that the word 'phrase' is left out?

the 'the latter sentence' -- the phrase 'the latter sentence'

Can it be like this?

Is it OK to use the former to refer to 'the former sentence'? I think not because the one in quotation 'the former sentence' isn't the one that is quoted.

One more thing, is this the right question?

Are they normal ellipsis? (Here, ellipsis is an uncountable noun, I think.)

Thank you. Sorry if I burdened you with many questions.
 BarbaraPA's reply was promoted to an answer.