[texhax] How to repeat text
Dror Atariah
drorata at gmail.com
Thu Dec 26 14:22:20 CET 2013
On Dec 21, 2013, at 12:48 PM, Shubho Roy wrote:
> I am writing a long document which is divided into chapters. The last section of the chapter is a summary of the chapter. At the end of the document I want to create a finaly chapter which collates all the summary sections of all the preceding chapters and print them at one place creating a `summary' for the document automatically.
>
> Illustration:
>
> \chapter{chapter One}
> Blah
> \section{summary}
> Text-1
>
> \chapter{chapter Two}
> Blah
> \section{summary}
> Text-2
>
>
> \chapter{Summary}
> Text-1
> Text-2
>
You could include Text-1 and Text-2 in separate files, and then use \input{file-containing-text-n} whenever you need it.
Best,
Dror
More information about the texhax
mailing list