# Create an empty framebox with specific with and length

I am looking a package to create an empty framebox of 2.7 cm height and 15.97 cm lenght. I am using \framebox but I am able only to set the size.

\framebox[15.97cm][l]{}


For example:

\documentclass[a4paper]{article}
\begin{document}

\noindent
\frame{\rule{0pt}{2.7cm}\rule{15.97cm}{0pt}}

\end{document}


If you're using \fbox or \framebox, you need to remember that it adds a gap and rule around it's contents. Remove this from your construction to ensure that the width/height is exactly what you're looking for:

\documentclass{article}

\newcommand{\exactframe}[2]{%
\fbox{%
\rule{\dimexpr15.97cm-2\fboxsep-2\fboxrule}{0pt}% width
\rule{0pt}{\dimexpr2.7cm-2\fboxsep-2\fboxrule}% height
}%
}

\begin{document}

\noindent \rule{15.97cm}{2.7cm}

\noindent \exactframe{15.97cm}{2.7cm}

\end{document}