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¢er&right \\ \hline
1&2&3\\ \hline
left alignment¢er allignment&right alignment\\ \hline
\end{tabular}
\end{center}
\end{document}
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¢er&right \\ \hline
1&2&3\\ \hline
left alignment¢er allignment&right alignment\\ \hline
\end{tabular}
\end{center}
\end{document}
0 comments:
Post a Comment