Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
\documentclass[fleqn,12pt,a4paper]{article}
\usepackage{tabularx}
\usepackage{multicol}

\begin{document}
![alt text][1]\begin{table}[ht]
\begin{tabular}{l l|l l}
\underline{\textcolor{blue}{Text 1}}& \hspace{1cm} &\hspace{1cm} & \underline{\textcolor{blue}{Text 2}}\\
&&&\\
Derivation of Text1 &&& Derivation of Text 2\\
Same as shown above &&& Same as shown above
\end{tabular}
\end{table}

\end{document}

I am achieving this using tabular environment. I was wondering if there is any other way to split the document into two column wherever i have need to produce such results. alt text Thanks for y

PS can I post example code with unicode text (i.e. Devanagari or Sanskrit)

share|improve this question
    
Yes, you can post Unicode here. I'd edit it in, but I can't type Devanagari and don't know Sanskrit :-) But go ahead, use Unicode if you want! –  Antal S-Z Dec 27 '10 at 5:47

1 Answer 1

up vote 4 down vote accepted
\documentclass[12pt]{article} 
\usepackage{xcolor} 
\usepackage{parallel} 
\setlength\parindent{0pt} 
\begin{document} 
\begin{Parallel}[c]{}{} 
\ParallelLText{% 
\underline{\textcolor{blue}{Text 1}}}

\ParallelRText{% 
\underline{\textcolor{blue}{Text 2}}}

\ParallelPar

\ParallelLText{% 
\parbox{\ParallelLWidth}{%
\begin{enumerate} 
\item A 
\item B 
\end{enumerate}} 
Same as shown above 
} 

\ParallelRText{% 
\parbox{\ParallelRWidth}{%
\begin{enumerate} 
\item C 
\item D 
\end{enumerate} }
Same as shown above } 

\end{Parallel} 

\bigskip new text line here defined paper area 
\end{document}
share|improve this answer
    
Herbert,Thanks for showing me how to do parallel however I could not itemize things on both sides. When I used itemize then both are getting over lapped on the left side. Is there a way around it. –  Aku Dec 27 '10 at 19:11
    
@Aku, please give an example –  Herbert Dec 27 '10 at 19:47
    
@Aku: see my edited example. I do not know if this is the right way because I used the parallel package only for pure text where I can have left the original text and on the right the translated text. –  Herbert Dec 27 '10 at 20:50
    
It worked, thanks –  Aku Dec 27 '10 at 21:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.