Page Layout\newpage Problem

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
kim0o0
Posts: 2
Joined: Sun Feb 28, 2016 6:47 pm

\newpage Problem

Post by kim0o0 »

Hi All,

I am trying to start a new page at the end of my article. I am working with two column layout.

I tried \newpage, \clearpage, \cleardoublepage, \pagebreak, and alot of same commands but for sorry they didn't work.

The only effect I got is with \clearpage but it cause the content after it to disappear!

Anyone can help?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

\newpage Problem

Post by Johannes_B »

Sounds mysterious. Can you provide a minimal working example (<= Link) for us to reproduce your problem?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
kim0o0
Posts: 2
Joined: Sun Feb 28, 2016 6:47 pm

\newpage Problem

Post by kim0o0 »

I am working with my own CLS, so I am not sure that the example will be appropriate! anyways, I tried to copy the problem reason below.

Code: Select all

\documentclass[comments]{tc}
\usepackage{showkeys}
\renewcommand{\eref}[2]{{#1}{~\ref{#2}}}
\usepackage{multirow,array,eurofont,rotating}
\usepackage{etex}

\AtEndDocument{
  \ifcomments
\newpage
    \parindent=-30pt
    \leftskip=0pt
    \rightskip=0pt
    \parskip=12pt
    \fontsize{12pt}{13pt}\sffamily\selectfont
     \begin{center}
      Composition Comments
    \end{center}
    \par
    \vspace*{5pt}
    \tclist
    \vspace*{4pt}
  \fi
}
\input{declaremath.tex}
\input{statement.tex}

\begin{document}
\input{928754.abs}
\input{928754.body}
\input{928754-bbl.tex}
\end{document}
I need to place the comments list at the end of document in a new page, current setup cause it to appear in a new column but I need it in a new page.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: \newpage Problem

Post by Johannes_B »

This snippet of code is not useful for any helper. Please follow the link in my first reply. We need to be able to compile to see what you see.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

\newpage Problem

Post by Stefan Kottwitz »

Welcome to the forum!

You can provide your .cls file to us as attachment to a post. Images, TeX files such as classes and other files can be attached in this forum.

With that .cls file, we need a small (compilable) sample document showing that \newpage does not work. Otherwise nobody can know - under normal circumstances \newpage simply works.

Stefan
LaTeX.org admin
Post Reply