I already did that in my first post. I formatted it and described the problem I'm having, I couldn't have possibly minimized it any more than that. Why are you attacking me for something that I already did?
And I thought that my spacing issue was
perfectly clear. "I want each activity spaced by
baselineskip
":
each activity (meaning, each theorem environment representing the activities as illustrated in Post #2 of this thread)
spaced by
\baselineskip
(meaning, I want a space of the value
\baselineskip
, which is whatever the value
\baselineskip
is, between two subsequent activities).
Oh by the way:
When I used ntheorem, it introduced other problems with my wrapped figures.
When I used your ntheorem environment, it caused all my wrapped figures, which were originally in the activities, to appear in completely wrong places on the page. See below for an example using wrapfig.
Finally, the parskip package introduces problems where if I turn it off, both Activities and enumerated items are no longer spaced apart. I just want the Activities to be spaced, but not enumerated items, but parskip won't let me do that.
Code: Select all
\documentclass[12pt]{article}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{parskip}
\usepackage{ntheorem}
% UNDERLINES - I want to separate
\makeatletter
\def\vhrulefill#1{\leavevmode\leaders\hrule\@height#1\hfill \kern\z@}
\makeatother
\def\underlinethickness{1pt}
\def\underlinefill{\vhrulefill{\underlinethickness}}
\theorembodyfont{\normalfont}
\theoremseparator{:}
\newtheorem{activity}{Activity}[subsection]
\newtheorem{workedexample}{Worked Example}[subsection]
\parskip=0pt
\parindent=0.5in
% THE DOCUMENT
\begin{document}
\section{First section}
\subsection{First subsection}
\begin{enumerate}
\item Here is a list of properties.
\item I do not want a blank line between
\item items in my list.
\end{enumerate}
\vspace{\baselineskip}
Here is some informative text for the subsection. Here is some informative text for the subsection.
Here is a second paragraph. I do not want empty space between these two paragraphs.
{\noindent}\underlinefill{\noindent}
\begin{wrapfigure}{r}{0.15\textwidth}
\caption{\label{figure:flipxyLb}Caption}
\includegraphics[width=0.15\textwidth]{flipxyLb}
\end{wrapfigure}
\begin{activity}\label{activity:firsttriangle}
I want to wrap Figure \ref{figure:flipxyLb} to the right of the Activities.
\end{activity}
\begin{activity}\label{activity:secondtriangle}
I want a blank space between Activity \ref{activity:firsttriangle} and Activity \ref{activity:secondtriangle}. Currently there is none. But if I turn off \verb2\usepackage{parskip}2 then I get the space between activities, but then there is a space between items in enumerate, and I don't want that. Why does it do that?
\end{activity}
\begin{activity}
The triangle in Figure \ref{figure:flipxyLb} appears in the wrong place. I want it to appear in the space containing this group of Activities.
As an additional exercise, show that
\begin{equation}
\label{equation:trianglexyL}
\sin \beta = \frac{x}{L}, \quad \cos \beta = \frac{y}{L}, \quad \tan \beta = \frac{x}{y}.
\end{equation}
Explain why the cosine of an angle is not always ``$x$ over $L$" and why the sine of an angle is not always ``$y$ over $L$."
\end{activity}
{\noindent}\underlinefill{\noindent}
\end{document}