铜川深度打造“互联网+检察”“两法衔接”平台
百度 2009年,更是拿出资金1000万元,设立了上海市慈善基金会玉佛禅寺觉群大学生创业基金,帮助有创业意愿的大学生,并优先扶持家境贫困的毕业生创业。
{geometry} is a package that allows to change the margins of (whole) pages and, conversely, the width and height of the textblock and its positioning on the page.
178 questions with no upvoted or accepted answers
8
votes
0
answers
2k
views
Newgeometry changes all document
I am trying to set different margins for some pages of my Thesis. Essentially, I want some pages to have larger margins, since they contain big tables. I use the \input command to include big Tables ...
5
votes
0
answers
1k
views
How to prevent page break in using \newgeometry
Is available to use newgeometry command with nopagebreak?
\documentclass{article}
\usepackage[left=5cm,right=5cm,top=2.5cm,bottom=2cm]{geometry}
\usepackage{xcolor}
\usepackage{lipsum}
\begin{...
5
votes
0
answers
725
views
Does memoir and geometry mix well?
I have somewhere along the way gotten the impression that the geometry package and the memoir class handles the page-setup a bit differently, but I have also gotten the impression that they do not mix ...
4
votes
0
answers
51
views
Is it possible for `l3doc` to support a twoside layout?
The minimal working example (MWE) is:
\documentclass[twoside]{l3doc}
\begin{document}
\begin{function}[added=2025-08-06]{\testA}
\begin{syntax}
\cs{testA}\oarg{arg1}\meta{cmd}
\cs{testA}\...
4
votes
0
answers
77
views
Printing out the page size and margins
I am trying to print out the values of the parameters related to the paper dimensions and margins:
\documentclass[12pt, a4paper]{report}
\usepackage[
width=150mm,
top=25mm,
bottom=25mm,
...
4
votes
0
answers
204
views
Shrink student's book page to add comment to teacher in textbook
we are writing a school textbook and the corresponding teacher's book.
The student's book template is good already, so let me explain what I would like to have for the teacher's book.
Each page of ...
3
votes
0
answers
65
views
empty last line of a page due to descenders
I'm trying to set up a page layout with a fixed number of lines for an Arabic text with a font size of 20pt, but get empty last lines on some of the pages obviously due to descenders.
Here's what I've ...
3
votes
0
answers
2k
views
How to avoid a page break with \newgeometry and \restoregeometry
I want what the following code does, but with no page break when \newgeometry or \restoregeometry are issued. Is that possible?
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[...
3
votes
0
answers
713
views
Is there any alternative to geometry package to set margins?
I'm trying to change the size of the top margin for one specific page in a large document and I do not want to use the geometry package. Moreover,
placing \vspace{-x} on top does not work for me ...
3
votes
0
answers
347
views
Full Bleed TikZ with Crop and Registration Marks
I've created some card-sized pages that I now need to adapt for full-bleed printing and trimming. Here's an MWE:
\documentclass[border=0in, multi=tikzpicture, varwidth=false]{standalone}
\usepackage{...
3
votes
0
answers
242
views
Geometry package unexpected interaction with global twoside option and baselinestretch
The gif animation is obtained with the following tex code (by commenting out and restoring the corresponding parts of the preamble) and demonstrates that if twoside option is supplied as a global one (...
3
votes
0
answers
1k
views
How to set a binding offset with tufte-book class?
I'm typesetting a book using the tufte-book class. For printing I need to set a binding offset (say, 0.5in). However, I can't seem to get this to work using the geometry package settings as one would ...
2
votes
0
answers
81
views
How does the user set geometry in a class that loads fancyhdr?
In my class, I defined the header style with fancyhdr. This causes trouble when the user wishes to modify the geometry settings, since geometry configuration should happen before fancyhdr.
Below is an ...
2
votes
0
answers
173
views
What is the difference between \usepackage[margin=1in]{geometry} and \usepackage{geometry}, \geometry{margin= 1in}?
I would like to know the difference between this:
\documentclass{article}
\usepackage[margin=1in]{geometry}
and:
\documentclass{article}
\usepackage{geometry}
\geometry{margin=1in}
2
votes
0
answers
535
views
Geometry page numbering problem
I've just started using LaTeX and I'm having a problem writing an article for school. My problem is that in the output pdf, only the first page is numbered, while the other pages have no number ...