# Tag Info

4

Slightly changed @Wrner's answer on question and adopted to your MWE: \documentclass[11pt,a4paper,notitlepage]{report} \usepackage{algorithm}% http://ctan.org/pkg/algorithms \usepackage{algpseudocode}% http://ctan.org/pkg/algorithmicx \makeatletter \newcommand\multiline[1]{\parbox[t]{\dimexpr\linewidth-\ALG@thistlm}{#1}} \makeatother \begin{document} \...

4

This seems to work: \startsetups foo FOO \noindentation \stopsetups \setupindenting[yes,medium,next] \starttext First paragraph. Not indented. This paragraph should be indented. \directsetup{foo} This paragraph should not be indented. This paragraph should be indented. \stoptext

4

\raggedright redefines \\: it internally inserts a \par and so actually ends your \parshape. You can use \newline instead of \\: \documentclass[varwidth]{standalone} \begin{document} \parbox{40mm} { \parshape 3 0pt 113.81102pt 14.44pt 99.37102pt 17.77pt 96.04102pt \raggedright \textbullet\ This is sentence 1 \newline This is sentence 2 ...

3

You can achieve the result with enumitem: \documentclass{article} \usepackage{enumitem} \usepackage{lipsum} \newlength{\commalabelwd} \newcommand{\commalabel}[2]{% \settowidth\commalabelwd{\normalfont\itshape#2,\hspace{\labelsep}}% \normalfont\itshape#2\ifdim#1<\commalabelwd,\fi\hfill } \begin{document} \begin{description}[ labelwidth=\...

3

Use the wide option of enumitem: \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{geometry} \geometry{showframe} \usepackage{enumitem} \begin{document} \begin{itemize}[wide] \item Some text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some more text. Some ...

2

Your example document yields a number of error messages pointing to the line after \begin{thebibliography}. The correct usage of his command is \begin{thebibliography}{<width of widest label>}, so you can see that the second option is missing in your example. \documentclass{article} \begin{document} \begin{thebibliography}{11} \bibitem{Alpha} Alpha, ...

2

The space after (or before) commas are ignored by design, and is shared by any similar comma list in latex. The fact that you can have ignored spaces within an option name like 12 pt or let terpa per is an unfortunate side effect of the technique used to ignore spaces around commas and is not generally true of comma separated arguments (eg those of \...

2

I had to solve exactly the same problem not long ago. The approach is similar to that of frougon: \documentclass{article} \usepackage[papersize={5.5in,8.5in}]{geometry} \usepackage{lipsum} %% Change the optional argument to suit -- 1in in this case \newcommand{\hangit}[2][1in]{% \hangindent#1 \setbox0=\hbox{\itshape#2\space} \noindent \...

1

There is no information in the question, but answering the issue as stated by the OP in comments under the question... The default behaviour in most document classes (all the standard ones) is not to indent the first paragraph of a section. The indentfirst package suppresses that and forces the indentation of the first section. As the default behaviour is ...

1

You can do like this: \documentclass{article} \usepackage{xcolor} \usepackage{lipsum} \newlength{\myColWidth} \setlength{\myColWidth}{4em} \newlength{\myColSep} \setlength{\myColSep}{1em} % A comma is appended if, and only if \widthof{#1} >= \myColWidth-\myColSep. % The second column always starts at \myColWidth from the left margin. In % other words, \...

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