Page Layout ⇒ Page Boarder and even pages
Page Boarder and even pages
I've got two questions,
1) How can I have a border around the page (I want to have a rectangle drawn at the margins so that my page content will be inside the border)
2) Can I have even pages (left pages) only when I need. In MS Word or LibreOffice Writer we can have page breaks to either left pages or right pages. Is this possible in latex. If so is there a special document class to be used to accomplish this task?
Thanks in advance
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
Page Boarder and even pages
Welcome to the LaTeX community!
This should be doable with eso-pic or with TikZ/pgf.callkalpa wrote:1) How can I have a border around the page (I want to have a rectangle drawn at the margins so that my page content will be inside the border)
This sounds like a page layout question. Left or verso pages have a bigger margin to the left than to the right (in left-to-right books) and even page numbering. If that's what you want I'd define a layout with geometry for acallkalpa wrote:2) Can I have even pages (left pages) only when I need. In MS Word or LibreOffice Writer we can have page breaks to either left pages or right pages. Is this possible in latex. If so is there a special document class to be used to accomplish this task?
oneside
document that looks like verso pages and define \thepage
to output the page number times two:Code: Select all
\documentclass[oneside]{book}
\usepackage{geometry}
\geometry{left=1.4in,right=.7in}
\renewcommand*\thepage{\the\numexpr2*\value{page}\relax}
\usepackage{lipsum}% for dummy text
\begin{document}
\chapter{Foo Bar}
\lipsum
\lipsum
\end{document}
Regards
Re: Page Boarder and even pages
It seems that my requirement is not properly communicated over to you.
In simple terms, it is not a book which has content on both left side pages and right side pages. It will be a report with content only on right side pages. BUT in the middle of those right side pages I may want to add a left side page.
Say I am writing a report. I have a table and a graph based on the values of that table. When I open the report like a book, I want to have the table on the left side page and on next page (which is the right side page) the graph will be there. Other content will be only on right side pages (left side page is blank).