Skip to content

Add new note* and example* environments to suppress paragraph break. - #4241

Closed
godbyk wants to merge 1 commit into
cplusplus:masterfrom
godbyk:feature/suppress-note-par
Closed

godbyk wants to merge 1 commit into
cplusplus:masterfrom
godbyk:feature/suppress-note-par

Conversation

@godbyk

@godbyk godbyk commented Sep 27, 2020

Copy link
Copy Markdown
Contributor

The new note* and example* environments will suppress the trailing paragraph break. This is useful when the environment is followed by a punctuation mark.

This PR addresses issue #4236.

Comment thread source/macros.tex Outdated

@jensmaurer jensmaurer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, we should move notes to outside of (even long) sentences. Regardless of punctuation and paragraph breaks, notes don't belong inside normative sentences. We should really try hard to move the notes (if all else fails, we might put the material into a footnote).
So, I'm opposed to merging this as-is unless we've exhausted the alternatives.

The new note* and example* environments will suppress the trailing
paragraph break. This is useful when the environment is followed by a
punctuation mark.
@godbyk
godbyk force-pushed the feature/suppress-note-par branch from 3fc5b43 to 217df5a Compare September 27, 2020 21:02
@jensmaurer

Copy link
Copy Markdown
Member

superseded by #4249

@godbyk

godbyk commented Sep 29, 2020

Copy link
Copy Markdown
Contributor Author

@jensmaurer You might evaluate the other two cases I found as well to see if they should be corrected in the same fashion.

@jensmaurer

Copy link
Copy Markdown
Member

We settled on "tailnote" and "tailexample".

@jensmaurer jensmaurer closed this Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants