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.
1. \documentclass[12pt]{article}
2.
3. \begin{document}
4. \tableofcontents
5.
7.
8. \subsubsection{Application Areas}
9. Quality Control / Inspection
10.
11. Comparison of actual data with nominal data
12.
13. Mold and Toolmaking
14.
15. Tool reconstruction
16.
17. Scan data for generation of milling tool paths
18.
19. Documentation of actual 3D data at tool release
20.
21. \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: 9549
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

1. \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

1. \usepackage{parskip}