Hi,
I want to spread the heading in the attached document on the top of the doc which is "HIV / AIDS Myths and Facts" that means I want to write this heading in a way such that it will spread over the two columns on the top i.e. on the top of the left hand column which starts from "HIV/AIDS has been visible in the United States" and other right hand side column which starts with heading "How is HIV transmitted?"
I am attaching tex file and pdf file both for reference.
Regards,
Sachin Sharma
Page Layout ⇒ two column book
-
- Posts: 35
- Joined: Sun Apr 08, 2012 5:48 am
two column book
- Attachments
-
- AIDS Awareness Document.tex
- (8.61 KiB) Downloaded 333 times
-
- AIDS Awareness Document.pdf
- (66.88 KiB) Downloaded 452 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

two column book
Before presenting a solution to your problem at hand (using
I have done all of the above in the document you posted with the effect that now there are no warnings at all instead of the dozens of underfull and overfull boxes you had. I'll attach it below.
Regards
\twocolumn
) I have a few remarks regarding your text:
- Instead of ending a paragraph with
\\
you should leave the\\
completely out. An empty line in the source will terminate a paragraph - Instead of saying
\noindent
at the beginning of each paragraph
set the length\parindent
to 0 once in the preamble. - instead of inserting section headings with
\textbf{heading}
use\section{heading}
and customize the appearance, e.g., with titlesec - instead of enumerating lists manually use an enumeration environment like
{enumerate}
. Its appearance can be customized with enumitem - Don't use
"quote"
but``quote''
in order to get
true quotation marks - it might be a good idea to adjust
\hfuzz
in a twocolumn document
so TeX doesn't complain too often about overfull boxes if a line protrudes into the margin.
twocolumn
but use \twocolumn
manually. It has an optional argument for placing a title that spans over the whole textwidth.I have done all of the above in the document you posted with the effect that now there are no warnings at all instead of the dozens of underfull and overfull boxes you had. I'll attach it below.
Regards
- Attachments
-
- AIDS.tex
- (9.03 KiB) Downloaded 418 times
site moderator & package author
-
- Posts: 35
- Joined: Sun Apr 08, 2012 5:48 am
Re: two column book
Hi,
Thanks a lot , it was really wonderful and got solution. One query about it that on the third page the distance between two column in not even could you please give clarity on that also.
Thanks once again.
Regards,
Sachin
Thanks a lot , it was really wonderful and got solution. One query about it that on the third page the distance between two column in not even could you please give clarity on that also.
Thanks once again.
Regards,
Sachin
two column book
That can be achieved using the multicol package. Use
in the preamble and replace
with
and add
at the end of the document.
Regards
Code: Select all
\usepackage{multicol}
Code: Select all
\twocolumn[\LARGE\bfseries HIV / AIDS Myths and Facts]
Code: Select all
\begin{multicols}{2}[
\begin{center}
\LARGE\bfseries HIV / AIDS Myths and Facts
\end{center}]
Code: Select all
\end{multicols}
Regards
site moderator & package author