1

I'm completely new to LaTeX. I found a template and it creates a command using the lettrine package:

%An initial of the very first character of the content
\usepackage{lettrine}
\newcommand{\initial}[1]{%
    \lettrine[lines=3,lhang=0.33,nindent=0em]{
        \color{gray}
            {\textsc{#1}}}{}}

So I use it at the beginning of my chapter like this:

\chapter{Introduction}
\label{chap:100}

\initial{I}ndustry 4.0 is a wide...

The result is fine: First letter

The problem is now, that all paragraphs within the chapter are affected as well, because the first three lines of each new paragraph, for example after a list, is indent.

Paragraph effected

If I don't use the "initial" command it looks fine.

The problem is, that even \noindent doesn't work. How can I deactivate this behaviour for the rest of the chapter?

closed as unclear what you're asking by Mensch, Stefan Pinnow, Raaja, Sebastiano, dexteritas Apr 3 at 8:49

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    welcome to tex.se! that be more clear, that is your problem, please provide complete small document beginning with \documentclass{,,,} and ending with \end{document}. use `\letrine hasn't work with lists. – Zarko Aug 14 '18 at 11:25
  • 2
    I can't reproduce the issue; please, make a compilable example. – egreg Aug 14 '18 at 16:38

Browse other questions tagged or ask your own question.