Paragraph Alignment
- type this following latex package code before \begin{document}:
- type this following latex code after \begin{document}:
\textbackslash LaTex\{\} \textbackslash LaTex\{\} \textbackslash LaTex\{\}
The animals set to be take care include 75 elephants, 30 hippos, 280 buffalo, 50 hourse, 100 blue bear and 300 zebras, the country’s Ministry of Environment, Forestry and Tourism announced Monday.
\textbackslash LaTex\{\} \textbackslash LaTex\{\} \textbackslash LaTex\{\}
The animals set to be take care include 75 elephants, 30 hippos, 280 buffalo, 50 hourse, 100 blue bear and 300 zebras, the country’s Ministry of Environment, Forestry and Tourism announced Monday.
\begin{flushright}
\textbackslash LaTex\{\} \textbackslash LaTex\{\} \textbackslash LaTex\{\} The animals set to be take care include 75 elephants, 30 hippos, 280 buffalo, 50 hourse, 100 blue bear and 300 zebras, the country’s Ministry of Environment, Forestry and Tourism announced Monday.
\end{flushright}
\begin{center}
\textbackslash LaTex\{\} \textbackslash LaTex\{\} \textbackslash LaTex\{\} The animals set to be take care include 75 elephants, 30 hippos, 280 buffalo, 50 hourse, 100 blue bear and 300 zebras, the country’s Ministry of Environment, Forestry and Tourism announced Monday.
\end{center}
- The full Latex code:
%Typeset/Build program
% !TEX TS-program = pdflatex
% !TEX encoding = UTF-8 Unicode
\documentclass[11pt]{article} % use larger type; default would be 10pt, max 12pt
%%% PAGE DIMENSIONS
\usepackage{geometry} % to change the page dimensions
\geometry{a4paper} % or letterpaper (US) or a5paper or....
% \geometry{margin=2in} % for example, change the margins to 2 inches all round
% \geometry{landscape} % set up the page for landscape
% read geometry.pdf for detailed page layout information
\usepackage[T1]{fontenc}
\title{Paragraph Alignment}
\author{Private Course and Tutor Course}
\date{September 9, 2023} % Activate to display a given date or no date (if empty),
% otherwise the current date is printed
\begin{document}
\maketitle
\section{Normal paragraph}
% This following text in left alignment and first line indent
\textbackslash LaTex\{\} \textbackslash LaTex\{\} \textbackslash LaTex\{\}
The animals set to be take care include 75 elephants, 30 hippos, 280 buffalo, 50 hourse, 100 blue bear and 300 zebras, the country’s Ministry of Environment, Forestry and Tourism announced Monday.
\section{Align Left Paragraph}
\begin{flushleft}
\textbackslash LaTex\{\} \textbackslash LaTex\{\} \textbackslash LaTex\{\}
The animals set to be take care include 75 elephants, 30 hippos, 280 buffalo, 50 hourse, 100 blue bear and 300 zebras, the country’s Ministry of Environment, Forestry and Tourism announced Monday.
\end{flushleft}
\section{Align Right Paragraph}
\begin{flushright}
\textbackslash LaTex\{\} \textbackslash LaTex\{\} \textbackslash LaTex\{\} The animals set to be take care include 75 elephants, 30 hippos, 280 buffalo, 50 hourse, 100 blue bear and 300 zebras, the country’s Ministry of Environment, Forestry and Tourism announced Monday.
\end{flushright}
\section{Align Center Paragraph}
\begin{center}
\textbackslash LaTex\{\} \textbackslash LaTex\{\} \textbackslash LaTex\{\} The animals set to be take care include 75 elephants, 30 hippos, 280 buffalo, 50 hourse, 100 blue bear and 300 zebras, the country’s Ministry of Environment, Forestry and Tourism announced Monday.
\end{center}
\end{document}
Result
\LaTex{} \LaTex{} \LaTex{} The animals set to be take care include 75 elephants,
30 hippos, 280 buffalo, 50 hourse, 100 blue bear and 300 zebras, the country’s Ministry
of Environment, Forestry and Tourism announced Monday.
Align Left Paragraph
\LaTex{} \LaTex{} \LaTex{} The animals set to be take care include 75 elephants, 30
hippos, 280 buffalo, 50 hourse, 100 blue bear and 300 zebras, the country’s Ministry of
Environment, Forestry and Tourism announced Monday.
Align Right Paragraph
\LaTex{} \LaTex{} \LaTex{} The animals set to be take care include 75 elephants, 30
hippos, 280 buffalo, 50 hourse, 100 blue bear and 300 zebras, the country’s Ministry of
Environment, Forestry and Tourism announced Monday.
Align Center Paragraph
\LaTex{} \LaTex{} \LaTex{} The animals set to be take care include 75 elephants, 30 hippos, 280 buffalo, 50 hourse, 100 blue bear and 300 zebras, the country’s Ministry of Environment, Forestry and Tourism announced Monday.
If you want to download Latex source code to type paragraph alignment in Latex, click https://www.studydrive.net/en/doc/paragraphalignmentlatex1/1845302?ref=3961484
Line Break And Paragraph In Latex source code |
Line Break And Paragraph In Latex result |
Notes To see the more clear picture, click on the picture.
Tidak ada komentar:
Posting Komentar