Text Formatting ⇒ two chapters in one page
-
- Posts: 6
- Joined: Tue Nov 25, 2014 10:29 am
two chapters in one page
if I use
{\let\clearpage\relax\chapter*{Test 2}}
it will be on same page.... but there will be problem.....the problem if we write many lines and paragraph in each chapter the space between lines will change
how I cloud put two chapter on same page and keep the space between line without change??
Reason: removed unnecessary markup
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
two chapters in one page
i don't understand the matter you are describing. Can you show us whats going on in form of a minimal working example?
Chapters start on new pages, there is a reason for that. If you need two on one page, you should think about the reason.
-
- Posts: 6
- Joined: Tue Nov 25, 2014 10:29 am
Re: two chapters in one page
my proplem:
In latex, every time you use \chapter{.....} it will start at new page
I want to make second chapter start direct after end of chapter one not skip to new page
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: two chapters in one page
-
- Posts: 6
- Joined: Tue Nov 25, 2014 10:29 am
two chapters in one page
if you use this latex code below and and fill each chapter then
the space between lines (linespread) will not be 1.3 as I mention in the code
because the statement
\let\clearpage\relax\chapter
Code: Select all
\documentclass[a4]{report}
\usepackage{amsmath}
\linespread{<1.3}
\begin{document}
{\let\clearpage\relax\chapter*{Level 1}}
{\let\clearpage\relax\chapter*{Level 2}}
\end{document}
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
two chapters in one page
Code: Select all
\documentclass[a4paper]{report}
\usepackage{amsmath}
\usepackage{blindtext}
\linespread{1.3}
\begin{document}
{\chapter*{Level 1}}
\blindtext
{\let\clearpage\relax\par \chapter*{Level 2}}
\blindtext
\end{document}