Graphics, Figures & TablesFrame question

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
magufuvo

Frame question

Post by magufuvo »

Hello. I want to create a frame for page in latex , But i'm new to latex and i don't know how i do that .
Can you please help me ?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Frame question

Post by Ijon Tichy »

Please be more accurate: What kind of frame? What size? Where placed? For all pages or only some? Can you illustrate your problem with a Infominimal working example?

A very simple solution around the text area of all pages would be:

Code: Select all

\documentclass{article}

\usepackage{eso-pic}
\usepackage{lipsum}% only some dummy text

\AddToShipoutPicture{%
  \linethickness{2pt}%
  \AtTextLowerLeft{%
    \framebox(\LenToUnit{\textwidth},\LenToUnit{\textheight}){}%
  }%
}

\begin{document}
\lipsum% dummy text
\end{document}
More complex or nicer frames can be made using TikZ or tcolorbox.

Or maybe you want something like a presentation? In this case see, e.g., the beamer class.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
stelarose
Posts: 1
Joined: Wed Nov 18, 2020 4:13 am

Frame question

Post by stelarose »

very detail, thanks U
Post Reply