Interviews Questions, Algorithms, Aptitude, C Interview Program, C Theory Question, Aptitude Tricks, Test Series,

Sunday, 28 April 2019

IOPP Program No.7. A

Program No.7. A

 Create a LATEX document to demonstrate the paragraph justification (left, center, right) and creating the tables. 

Solution:

\documentclass{article}
\begin{document}
Hi all... I'm new to Perl.

\flushleft Hi, all... I'm new to Perl. 

\center Hi, all... I'm new to Perl.

\flushright Hi, all... I'm new to Perl. 

\begin{center}
\begin{tabular}{|l|c|r|}\hline
left&center&right \\ \hline
1&2&3\\ \hline
left alignment&center allignment&right alignment\\ \hline
\end{tabular}
\end{center}
\end{document}

0 comments:

Post a Comment