1

I am using a preconfigured LaTeX file and have a problem. After I use \section{}, everything works well, but only on the current page. If I reach the new page, I have an indent on the left side and the current section is written like a header. How can I disable that?

I've already tried \noindent, \setlength{\parindent}{0mm}, \setlength{\parskip}{4em}, \parindent, \parskip... to no avail. What should I do?

EDIT:

\begin{document}

\include{TEXT}

TEXT looks like:
\chapter{TEXT}
this is my text....

after reaching new page i get the indent on the left side as mentioned above...
hope this helps

\end{document}
henry
  • 6,594
Nick
  • 11
  • 2
    Welcome to TeX.SX! Your question is not clear. Can you show an example of how you're coding your text? – egreg Aug 05 '14 at 16:58
  • 2
    A minimal working example (MWE) would indeed be great, cause right now i can't even imagine what you are describing. – Johannes_B Aug 05 '14 at 16:58
  • 1
    sorry I am really new to Latex so I try to explain it: first i use \chapter{New chapter} TEXT TEXT TEXT

    If I reach a new page, the left side is indented...I have no plan how to remove this

    – Nick Aug 05 '14 at 17:01
  • This won't happen in the standard article class. Presumably you're using the book or report class. Either way, you can fix this using something like \usepackage[margin=1in]{geometry} – JPi Aug 05 '14 at 17:01
  • 1
    @JPi Probably a bad idea. – jub0bs Aug 05 '14 at 17:05
  • superb, worked, only now the subsection title is forced to the upper side – Nick Aug 05 '14 at 17:07
  • 2
    perhaps you are describing the "offset" of all the even pages with the twoside \documentclass option. (this is to allow for punching holes to put in a ring-binder.) if that is the case, insert [oneside] between \documentclass and the named class. – barbara beeton Aug 05 '14 at 17:08
  • @Jubobs: why? Nick: you can adjust each individual margin as you please. See e.g. http://tex.stackexchange.com/questions/23742/how-can-i-set-up-the-left-right-margin-of-the-page-to-1-inch-the-top-bottom-one – JPi Aug 05 '14 at 17:10
  • 4
    @Nick We're unlikely to get anywhere, unless you edit your question to add a minimal working example (MWE). – jub0bs Aug 05 '14 at 17:21
  • question edited – Nick Aug 05 '14 at 17:28
  • @Nick: A single code line of a failingdocument is minimal, but not working ;-) So it is a by - far - non - MWE ;-) –  Aug 05 '14 at 17:36
  • A minimal working example looks something like \documentclass{book} \begin{document} ... \end{document} – JPi Aug 05 '14 at 17:37
  • 2
    You can also follow the link i provided above. – Johannes_B Aug 05 '14 at 17:37
  • If I would know where the problem is, I could change it... Having a Latex-template and this problem occurs...I can't tell you where the problem is, hope you can tell me

    @Johannes: thx, working on it =)

    – Nick Aug 05 '14 at 17:38
  • @Nick: And now tell us, what is inside the file TEXT, which you \include ... –  Aug 05 '14 at 17:39
  • Just show something short that's compilable that demonstrates the problem that you're having. – JPi Aug 05 '14 at 17:39
  • @Christian: is written in the question... only /section{} following by a lot of text... – Nick Aug 05 '14 at 17:40
  • @Nick: I don't want to argue with you, but there is no direct connection from that \section line to the code ;-) –  Aug 05 '14 at 17:41
  • there is no more code! the funny thing is, on page 3 the indent is on the right side... – Nick Aug 05 '14 at 17:44
  • Sorry @Johannes_B; had not noticed your post. – JPi Aug 05 '14 at 17:44
  • @Nick: what's the document class? – JPi Aug 05 '14 at 17:45
  • @JPi: documentclass: srcbook – Nick Aug 05 '14 at 17:47
  • Finally I fixed it by setting the laterality to false in the documentclass. Thank you guys! – Nick Aug 05 '14 at 17:52
  • One additional comment (also good for life): Don't panic. – Johannes_B Aug 05 '14 at 17:53
  • 5
    This question appears to be off-topic because the original poster has answered it in the comments. – yo' Aug 05 '14 at 17:54
  • Out of curiosity, which option is that precisely? – Johannes_B Aug 05 '14 at 17:58
  • Where the documentclass is defined, there is an option to select a oneside or twoside mode (for printing). By switching that off, the text is in the middle of every page – Nick Aug 05 '14 at 18:08

0 Answers0