Sections, Subsections and Paragraph

When we write our article in LaTeX, we need split it into some parts, such as, introduction, literature, method, analyse and conclusion. Almost all researches do that for explain their ideas clearly. So, we should know how we generate sections, subsections and paragraph. It is one of the first part when you are learning in LaTeX.

We want to explain how create section, subsections and paragraph with using article document class. There are five per-defined levels which is listed below:

  • \section{}
  • \subseciton{}
  • \subsubsection{}
  • \paragraph
  • \subparagraph

An example of creation section and subsection

We can give an example of creating sections and subsections in the form of a full file, using what was explained above. You can add the content created here to your application and run it directly. You can add the file by creating a new file in your application. The output you will get when you run the application is shown below.

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\begin{document}

\section{Introduction}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In semper fringilla lectus, vel pellentesque orci facilisis ac. Aliquam quis imperdiet sem. Praesent tempus lacinia enim, quis suscipit urna finibus ac. Proin id tortor porttitor, maximus elit ut, semper mi.

\section{Literature}
Cras a sapien vel leo dictum convallis. Vivamus auctor condimentum faucibus. Donec vitae dolor et urna condimentum pretium. Integer vel magna quam. Sed neque orci, imperdiet sit amet viverra vel, pretium ac orci.

\section{Model}

\subsection{Motivation}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In semper fringilla lectus, vel pellentesque orci facilisis ac. Aliquam quis imperdiet sem. Praesent tempus lacinia enim, quis suscipit urna finibus ac. Proin id tortor porttitor, maximus elit ut, semper mi.

\subsection{Result of the Model}
Cras a sapien vel leo dictum convallis. Vivamus auctor condimentum faucibus. Donec vitae dolor et urna condimentum pretium. Integer vel magna quam. Sed neque orci, imperdiet sit amet viverra vel, pretium ac orci.

\section*{Appendix}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In semper fringilla lectus, vel pellentesque orci facilisis ac. Aliquam quis imperdiet sem. Praesent tempus lacinia enim, quis suscipit urna finibus ac. Proin id tortor porttitor, maximus elit ut, semper mi.

\end{document}

When we run our example file above, we get the following result. Please see that Appendix section has no number because we use \seciton*{} that produces section with no number.

In addition, you may encounter a problem when you are writing a thesis, article, assignment or project. In this case, you can ask us in the comments section below. Learning to write a thesis with LaTeX is a tiring and time-consuming process. If you do not have time for this, or even if you do, we can transfer the document you have written in your own handwriting or in another text editor to LaTeX for you. So, we can help you write your thesis, article, homework, project, paper or any other document in LaTeX for you. You can look at What we do page. You can contact us regarding recruitment and work delivery or any other questions you may have.

Leave a Reply