I need add a frame around all page in latex. If I search on google, I find many options, but anything work well for me. Also I need that page would be A4 and have margin 1.27cm. And on the top of first page I need a head:
EDIT (my code and preview):
\documentclass[10pt,a4paper]{article}
\usepackage[cp1250]{inputenc}
\usepackage[czech]{babel}
\usepackage[total={18.46cm,27.16cm}, top=1.27cm, left=1.27cm, noheadfoot, nomarginpar,showframe]{geometry}
\pagenumbering{gobble}
\begin{document}
\begin{table}[t]
\begin{tabular}{ll|ll|ll}
Jmeno: & ~ & Třída & ~ & LP č. & ~ \\ \hline
Téma & ~ & ~ & ~ & ~ & ~ \\
\end{tabular}
\end{table}
\end{document}
Best Answer
Using
tikzpagenodes
andeso-pic
this can be done as below. Please note that instead ofeso-pic
, one can also usebackground
package.If you want the table for only first page, define a page style using
fancyhdr
and use it only for first page.