You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The implementation is simple: just call indent first on those lines, and then continue formatting with these lines as comment-like placeholders. This could involve another placeholder type.
default
: all normal rules&
(todo): everywhere except comments, noindent, verbatim{
and}
(and[
and]
) on separate line if it contains more than one line: everywhere except comments, noindent, verbatimminimal
Block-indent as a hole (done now fortabular
), and otherwise do not touch.indent
Only indent, do nothing else.align
Align at&
. Otherwise as default.no:sentence
Default of no one sentence per line.default
&
(todo)\begin
and\end
on separate line{
and}
(and[
and]
) on separate line if it contains > 1 line&
per line should be restored.A way to tune within a document is to introduce:
For the following environment
For specific lines
For the
n
following lines% \texindent{default}{n} -DEFAULT- -DEFAULT- -DEFAULT- -NORMAL- -NORMAL- ...
This should throw when there is a conflict. For example
should not be possible. Neither should
% \texindent{default}{n} { ... }
Furthermore there could be the command line options:
One sentence per line
This should be optional on a specific line. For example
% \texindent{no:sentence} This is a long sentence. And here is another one. And a closing note.
Should be formatted to
% \texindent{no:sentence} This is a long sentence. And here is another one. And a closing note.
Extended options could be.
% \texindent{no:sentence}{3} This is a long sentence. And here is another one. And a closing note.
Should be formatted to
% \texindent{no:sentence}{3} This is a long sentence. And here is another one. And a closing note.
Extended options could be.
Should be formatted to
In terms of implementation a dummy placeholder could be used to mark the end of each sentence that should not be broken.
Only indentation
Like the previous paragraph but only doing indentation. Nothing else.
See alignment above
Should be formatted to
Extended options could be.
Should be formatted to
Extended options could be.
Should be formatted to
The text was updated successfully, but these errors were encountered: