LaTeX forum ⇒ Text FormattingSame Alignment for Text as for Heading Topic is solved

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

Same Alignment for Text as for Heading  Topic is solved

Postby Lalitp » Sun Apr 07, 2013 8:25 am

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}
  3. \begin{document}
  4. \tableofcontents
  6. \section{Advantages}
  8. \subsubsection{Application Areas}
  9. Quality Control / Inspection
  11. Comparison of actual data with nominal data
  13. Mold and Toolmaking
  15. Tool reconstruction
  17. Scan data for generation of milling tool paths
  19. Documentation of actual 3D data at tool release
  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).


User avatar
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Sun Apr 07, 2013 9:56 am

An identical problem has already been discussed in one of your other questions.

Basic reading:

LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 9593
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sun Apr 07, 2013 10:38 am

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}


Stefan admin

Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 3 guests