Page LayoutSpecific Indentation Property for one Page only

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
niles
Posts: 92
Joined: Mon Dec 01, 2008 9:35 pm

Specific Indentation Property for one Page only

Post by niles »

Hi

Please see this MWE:

Code: Select all

\documentclass[10pt, a4paper]{article}
  
\usepackage[T1]{fontenc}    
\usepackage[english]{babel}
\usepackage[ansinew]{inputenc}

\setlength{\parskip}{1.3ex plus 0.2ex minus 0.2ex}
\setlength{\parindent}{0pt}

\begin{document}
\noindent reference

This shows no indentation, just like it should. Everything OK on this page.

\clearpage
\noindent reference

This should show an indentation

Just like this line should

This page is not OK.

\end{document}
What I am searching for is a way such that only 1 page in my document has the following property:

Code: Select all

\setlength{\parskip}{1.3ex plus 0.2ex minus 0.2ex}
\setlength{\parindent}{0pt}
In my MWE this property is set to all pages. Is there a command such that I can reset the values given by parskip and parindent? I am emphasizing "reset", because I don't know the standard values used my MikTeX, so I am not interested in resetting them "manually". I hope my question is understandable.

If such a command exists, then it would solve my problem very easily.

Best.
Last edited by niles on Tue Oct 11, 2011 2:09 pm, edited 1 time in total.

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Specific Indentation Property for one Page only

Post by localghost »

You could try the afterpage package. I can't tell you more because I'm not good at inconsistent typesetting.


Thorsten
niles
Posts: 92
Joined: Mon Dec 01, 2008 9:35 pm

Specific Indentation Property for one Page only

Post by niles »

localghost wrote:You could try the afterpage package. I can't tell you more because I'm not good at inconsistent typesetting.


Thorsten
Thanks. You are right, it is a very inconsistent method, and I should know better. I'll find a more consistent way.

Thanks.
Post Reply