Hot answers tagged

5

There is a pair \hangindent and \hangafter. In your case (I am not sure, if the indentation should start immediately or after the first line of a paragraph) \hangindent=1.5cm \hangafter=1 %after which line the indentations starts gives the expected result.


4

Here is a solution \documentclass[]{memoir} \newenvironment{dialogue}{% \newcommand\one{\normalfont\item[M:]}% \newcommand\two{\normalfont\item[P:]\itshape}% \newcommand\NormalText{\item[]\normalfont}% \list{}{\rightmargin2cm\leftmargin2cm\labelsep1cm} }{\endlist} \usepackage{lipsum} \begin{document} \lipsum[4]% \begin{dialogue}% \two ...


2

There is also the hanging package which works well. \hangpara is called as width and then a positive value indents the left a negative intends at the right of the text. The second parameter is the number of lines to indent (it can also be negative - read manual). \documentclass{article} \usepackage{lipsum} % just for mock text \usepackage{hanging} ...


2

To increase the separation between the number and the text, change \labelsep to the length you prefer. It is assumed that the numbered paragraph ends with a blank line. \documentclass[a4paper,12pt]{report} \usepackage{blindtext} \newcounter{mypar}[chapter] \renewcommand{\themypar}{\thechapter.\arabic{mypar}} \newcommand{\mypar}{% ...


2

Does this qualify as simpler? ;-) \documentclass[]{memoir} \usepackage{lipsum} \providecommand{\one}{} \providecommand{\two}{} \providecommand{\NormalText}{} \newenvironment{dialogue} {% \renewcommand{\one}{\par\makebox[0pt][r]{\makebox[1cm][l]{\normalfont M :}}\normalfont}% \renewcommand{\two}{\par\makebox[0pt][r]{\makebox[1cm][l]{\normalfont P ...


2

If you really really need to this the general mechanism is \footnotemark in the title, and then \footnotetext{text} later, outside the title. The catch is the \footnotemark needs to be proceeded by \protect and you need to fix the counter. However, you can do something simpler: give \paragraph an optional argument too. That optional argument is for the ...


2

After you get a TeX error you should look at the log file, not the pdf output. TeX does not attempt to make sensible typeset result as it recovers from an error. Cats, O., Reimal, T., & Susilo, needs to be Cats, O., Reimal, T., \& Susilo, the error message is quite explicit about the extra & ! Extra alignment tab has been changed to ...


1

In addition, if you absolutely want to make your bibliography by hand (which is not recommended, as it will probably not meet the standards), it's easier to use a description environment, which can break across pages, and can be customised with the enumitem package: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} ...


1

Try putting \protect before \footnote.


1

It is a bit odd to have a footnote in a section heading, but if you do, you need to supply a version without the footnote for the table of contents and page headings. Here \paragraph is used directly to keep the example small but it is a 4th level heading so should only be used after \section, \subsection and \subsubsection. \documentclass{article} ...


1

This is a basic implementation: \documentclass{article} \usepackage{enumitem} \usepackage{lipsum} % just for mock text \newenvironment{helene}% <--- choose a more informative name {\begin{itemize}[label={},leftmargin=1.5cm,itemindent=-1.5cm]\item} {\end{itemize}} \begin{document} \lipsum[2] \begin{helene} \lipsum*[3] \end{helene} \lipsum[4] ...



Only top voted, non community-wiki answers of a minimum length are eligible