# How to write “Thank you” at the end of the page in multi-choice questions?

In previous question three days ago How to write "End" and "Thank you very much" at the end of the page?, I just want to put at the end of the page. However, I have tested with the other template and can not put the text "Thank you" at the end of the page. How can I do that? Thanks a lot

My code is here:

The contain of test_exam.tex file is here

\usepackage{exam}
\usepackage[a4paper,tmargin=1.0cm, bmargin=1.5cm, lmargin=1.5cm, rmargin=1.5cm]{geometry}
\ContinuousNumbering
\ShortKey
\NumberOfVersions{1}
\SectionPrefix{\relax }
\tieudetracnghiem
\tieudedapan
\tieudeduoi
\daungoac{}{.}
\chucauhoi{Question}
\mauchu{black}
\sotrang{4}
\renewcommand{\baselinestretch}{1.125}
\NoRearrange


The exam.sty file is here

\ProvidesPackage{exam}
\RequirePackage{ifthen}
\ProcessOptions\relax
\parskip=0pt
\parindent=0pt
\makeatletter
\newcommand\@scau{\ }
\makeatother
\renewcommand{\Fullpages}{\setlength{\topmargin}{0pc}
\setlength{\oddsidemargin}{0pc}
\setlength{\evensidemargin}{0pc}
\setlength{\textwidth}{17truecm}
\setlength{\textheight}{25truecm}
\setlength{\voffset}{-1cm}
}
\makeatletter
\def\tieudetracnghiem{
\begin{examtop}
\begin{minipage}[b]{0.65\textwidth}
\centering
{\bf \@tkythi}\\
{\it \@tgian}\\
\end{minipage}

\end{examtop}
}

%
\def\tieudedapan{
\begin{keytop}
\end{keytop}
}
\def\@strang{ }
\def\tieudeduoi{
\renewcommand{\@oddfoot}{%
\parbox{\textwidth}{%
\vspace*{-18pt}%
{\hfill {\it  Page\ \thepage/\@strang - Code \themadetracnghiem}}
}%
}}


\setlength{\labelwidth}{48truept}
\newcommand{\bonpa}[4]{
\examvspace*{-0.6\baselineskip}
\word{{#1}{#4}{#1}{#1}{#4}{#1}{#1}{#2}{#4}{#2}{#2}{#4}{#2}{#2}{#3}{#4}{#3}{#3}{#4}{#3}{#3}{#1}{#2}{#3}}
\word{{#2}{#1}{#4}{#3}{#1}{#4}{#3}{#1}{#2}{#4}{#3}{#2}{#4}{#3}{#1}{#3}{#4}{#2}{#3}{#4}{#2}{#2}{#1}{#1}}
\word{{#3}{#2}{#2}{#2}{#3}{#3}{#4}{#3}{#1}{#1}{#1}{#3}{#3}{#4}{#2}{#1}{#1}{#1}{#2}{#2}{#4}{#4}{#4}{#4}}
\word{{#4}{#3}{#3}{#4}{#2}{#2}{#2}{#4}{#3}{#3}{#4}{#1}{#1}{#1}{#4}{#2}{#2}{#4}{#1}{#1}{#1}{#3}{#3}{#2}}
}

\def\@datcotphai{ }
\def\@datcottrai{\examhspace*{-12pt}}

\newcommand{\datcot}[1][0]{\ifthenelse{#1=0}{
\renewcommand{\@datcotphai}{ }
}{
\renewcommand{\@datcotphai}{\parbox[t]{#1\shortitemwidth}}
}}

\newcommand{\sai}[1]{\choice{\@datcotphai{#1\@datcottrai}}}
\newcommand{\dung}[1]{\choice[!]{\@datcotphai{#1\@datcottrai}}}
\newcommand{\false}[1]{\choice{#1}}
\newcommand{\true}[1]{\choice[!]{#1}}
\newcommand{\motcot}[1]{\parbox[t]{\shortitemwidth}{#1\strut}}
\newcommand{\haicot}[1]{\parbox[t]{2\shortitemwidth}{#1\strut}}
\newcommand{\bacot}[1]{\parbox[t]{3\shortitemwidth}{#1\strut}}
\newcommand{\boncot}[1]{\parbox[t]{4.4\shortitemwidth}{#1}}
\makeatother

\abovedisplayskip=0pt plus 0pt minus 3pt
\abovedisplayshortskip=0pt plus 0pt minus 3pt
\belowdisplayskip=\abovedisplayskip
\belowdisplayshortskip=\abovedisplayshortskip
\setlength{\afterinstsep}{0truept}
\setlength{\aftersectsep}{0truept}
\setlength{\beforeinstsep}{0truept}
\setlength{\shortitemwidth}{3.5truecm}
\setlength{\leftmargin}{0truept}
\setlength{\rightmargin}{0pc}
\setlength{\parskip}{0pc}
\def\ktrang{\makebox[1.5cm]{\hrulefill}}
\hfuzz=1pt
\sloppy


And the main.text file is here

\input{test_exam.tex}
\begin{document}

\begin{vnmultiplechoice}[ rearrange=yes, keycolumns=5]%

\begin{question}  % question 1
Determine whether or not each of the following signal is periodic $x[n] = cos(\frac{\pi n^{2}}{8})$. If a signal is periodic, determine its fundamental period.
\datcot
\bonpa
{\false{$0$.}}
{\false{$T = 4$.}}
{\false{$T = 6$.}}
{\true{$T = 8$.}}
\end{question}

\begin{question}  % question 2
Find T of the discrete signal $x[n] = cos(\pi n^{2})$?
\datcot
\bonpa
{\false{$T = 0$.}}
{\false{$T = 4$.}}
{\true{$T = 6$.}}
{\false{$T = 8$.}}
\end{question}
\end{vnmultiplechoice}

\end{document}


The template as below

• on which page? on the last (of the multi page document), or on the each? please elaborate. – Zarko Oct 6 '18 at 2:49
• @Zarko on the last page (of the multi page document) – user3727281 Oct 6 '18 at 2:54
• but for this you got (and accept) answer on your previous question (tex.stackexchange.com/questions/453418/…). – Zarko Oct 6 '18 at 2:58
• @Zarko in the previous question, the text is hide on the last page (answer page), but I just want to put it on the last page (question page). You can see at here overleaf.com/project/5bb80cbf5ee0fb32b449b691 – user3727281 Oct 6 '18 at 3:03
• sorry, i not use overleaf, so i cant see your document. please provide in question a complete small document with dummy text, from which we can see, what you like to achieve. – Zarko Oct 6 '18 at 3:08

edit:

after discussion in chat room i recognize that document style examdesign which you use, all specific environments (questions, vnmultiplechoice) treat as floats and consequently all added text is pushed to the first page. therefore simple solution, which work with article and other standard document classes:

\documentclass{article}
\usepackage{lipsum}                   % for dummy text

\begin{document}
\lipsum[1-4]

\vfill\centerline{\Large Thank you}
\clearpage


doesn't work with examendesign. shortly, your demand so far is not possible to achieve with this document class.