LaTeX forum ⇒ Text Formatting ⇒ Same Alignment for Text as for Heading Topic is solved

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Lalitp
Posts: 6
Joined: Sat Apr 06, 2013 8:25 am

Same Alignment for Text as for Heading  Topic is solved

Here you can see that "Quality Control/Inspection" is at left side in generated PDF, and other content is displaced by some space.
\documentclass[12pt]{article} \begin{document}   \tableofcontents    \section{Advantages}    \subsubsection{Application Areas}Quality Control / Inspection Comparison of actual data with nominal data  Mold and Toolmaking Tool reconstruction Scan data for generation of milling tool paths Documentation of actual 3D data at tool release \end{document}

I want all contents same as "Quality Control/Inspection" position.

So, what modification is necessary in script?
Last edited by localghost on Sun Apr 07, 2013 9:53 am, edited 2 times in total.
Reason: Source code has to be tagged as such to keep a post clear and legible (see Board Rules).

Tags:

localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm
An identical problem has already been discussed in one of your other questions.

Thorsten
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

Stefan Kottwitz
Posts: 9504
Joined: Mon Mar 10, 2008 9:44 pm
It appreciate that you posted a compilable example. Also very good that you added tags, even if not perfectly matching, I changed them. Tags help to get the forum sorted.

To your problem, which is actually similar to the earlier question, perhaps the intention may be a bit different. If you want to change the alignment of those lines, which is the paragraph indentation, you can switch it off by

\setlength{\parindent}{0pt}

in your preamble. Then all those lines are left aligned with the headings. However, paragraph indentation helps to see where a paragraph ended and a new one started. So, either change those lines to headings, such as with \subsection, \subsubsection or \paragraph, or insert \noindent before such pseudo-headings, or change the paragraph indentation mode to vertical paragraph skips by

\usepackage{parskip}