LaTeX forum ⇒ Text FormattingRemove Text Indentation 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

Remove Text Indentation

Postby Lalitp » Sat Apr 06, 2013 9:38 am

Hi,

this is my code I have posted here.
  1. \documentclass[12pt]{article}
  2.  
  3. \begin{document}
  4.  
  5. \tableofcontents
  6.  
  7. \section{Advantages}
  8. Innovative
  9.  
  10. This project uses ...
  11.  
  12. Easy
  13.  
  14. Camera sensor...
  15.  
  16. Fast
  17.  
  18. 3D data acquisition...
  19.  
  20. Accurate
  21.  
  22. Delivering excellent...
  23. \end{document}

There are four main headings, "Innovative", "Easy", "Fast", "Accurate". Here In this you can see that "Innovative" position and other three positions are different. I want to make all positions same as "Innovative". And after each heading I want space of one line. So, how to do in script.

Tags:

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

Postby localghost » Sat Apr 06, 2013 10:19 am

Lalitp wrote:[…] There are four main headings, "Innovative", "Easy", "Fast", "Accurate". […]

But you did not tag them as headings. So you should use the corresponding markup commands like shown below to do so.
  1. \documentclass[12pt]{article}
  2.  
  3. \begin{document}
  4. \tableofcontents
  5.  
  6. \section{Advantages}
  7.  
  8. \subsection*{Innovative}
  9. This project uses ...
  10.  
  11. \subsection*{Easy}
  12. Camera sensor...
  13.  
  14. \subsection*{Fast}
  15. 3D data acquisition...
  16.  
  17. \subsection*{Accurate}
  18. Delivering excellent...
  19. \end{document}

Click on "Open in writeLaTeX" in the head of the above code box to see the rendered output.
Lalitp wrote:[…] Here In this you can see that "Innovative" position and other three positions are different. I want to make all positions same as "Innovative". […]

What you see here is paragraph indentation. New paragraphs in LaTeX are introduced with a blank line in the source. And the first line of a paragraph is indented by the length \parindent. You can avoid this indentation locally once with \noindent.
Lalitp wrote:[…] And after each heading I want space of one line. So, how to do in script.

See above code. If you want to customize this, feel free to ask further questions.

It looks like you are a complete novice so it is recommendable to do some basic reading.


Best regards and welcome to the board
Thorsten
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


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 3 guests