Reputation
2,318
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
1 7 27
Newest
 Nice Answer
Impact
~54k people reached

12h
accepted Irregular spacing around a user-defined environment
12h
comment ! LaTeX Error: Not in outer par mode
What, however, we don't need, is your whole essay, chapter, article, letter, etc. We need a full preamble with all the relevant packages loaded and ideally no other packages. If they aren't relevant, get rid of them. We need any new commands that you've defined and that you use, but no others. We need \begin{document} we need the part of your document that you're having trouble with, we need \end{document} and generally we need nothing else. It's better to include too much than too little, but a huge wall of text like that doesn't help. Please actually read @AFeldman's link
12h
comment ! LaTeX Error: Not in outer par mode
Well, no, you just gave us the full text of the error message. Which is good. But you see with LaTeX there are many different packages with weird and wonderful effects, many different set ups and customisables, many different things you can do and many different ways you can do them. We need to know how you produced the error, we need a full document, including the preamble and \begin{document} ... \end{document} so that we know what you've done. It also really helps us if we can run your code and see exactly what you see, it helps us if we have something to edit and play with
13h
revised How can I write multiple lines in a subscript?
put long back, because I can :P
14h
reviewed Approve How can I write multiple lines in a subscript?
14h
reviewed Approve Place tables in the middle of the page
15h
answered How do I input phi(t) approaches 1 in latex?
15h
revised How do I input phi(t) approaches 1 in latex?
bit of markdown, mainly
1d
reviewed Reject How does one insert a backslash or a tilde (~) into LaTeX?
1d
comment Irregular spacing around a user-defined environment
@GustavoMezzetti Of course, this question isn't going anywhere and cfr has offered an actual solution, so there's no urgency from me, it's simply a case of the more you know :)
1d
comment Irregular spacing around a user-defined environment
@GustavoMezzetti I'd be very interested in that kind of additional info if you're willing to post it
1d
comment Irregular spacing around a user-defined environment
I noticed with this answer that the spacing below the group is actually somewhat larger than the spacing above. I reasoned this must have something to do with \vskip 2\parskip\par and the double spacing of the document. So I looked up setspace and found that the \doublespacing command uses for 12pt documents, \setstretch {1.655}%. So I modified your original command to ... \vskip 1.655\parskip\par\endgroup} which seems to work better, would you say that would be a worthwhile modification? I didn't take the most scientific approach to checking the output ... :P
1d
comment Irregular spacing around a user-defined environment
Fair point that, thanks for everything, i'm sure you'll get the tick, but i'll wait a bit first. also forgot to UV, so +1
1d
comment Irregular spacing around a user-defined environment
The real thing has, e.g. [Assuming he guesses ...]. The idea is this is actually a script. I wanted the assumptions bracketed off because I don't actually read them out - but I needed some kind of unassuming signpost to myself and I didn't want it too hidden away, e.g. in a footnote. Without the brackets I felt it looked too much like a header. In any case, it's obvious to me in the printed form, but when I 1st glanced back at the abstract definition \newcommand{\assuming}[1]{\begin{center}\itshape[#1]\end{center}} my immediate thought was Silly Au101, \itshape does not take arguments :P
2d
comment Irregular spacing around a user-defined environment
Hey cfr, thanks for this it looks much better :) The [...] around the assumption "header", if you like (the thing being assumed) were intentional, but I have to admit, I wrote this code a while ago and noticed the problem with it more recently, and when I first looked at it, I thought I'd made that very mistake, too! :P
2d
revised list of tables do not show all the tables
markdown added
2d
comment Irregular spacing around a user-defined environment
@cfr Honestly, I don't know. I'm slightly ashamed to admit I've been using LaTeX for years, but \usepackage[parfill]{parskip} is a fossilised part of my preamble I've never really questioned! I used it because I want a blank line between paragraphs and no indentation of new paragraphs. A long time ago I must have learned that was the way to do it, and I've honestly never noticed any problems with spacing around tables generally or anything like that
2d
reviewed Approve How do I properly display chemical compounds within \equation? (mhchem won't do what I need)
2d
asked Irregular spacing around a user-defined environment
Apr
27
awarded  Nice Answer