Graphics, Figures & Tables ⇒ Make an environment float
Make an environment float
I made myself a new envirnment to pass some arguments and make everything look shiny. However the environment is not a floating one. Meaning, sentences before receive some white space infront of them.
Example:
This is a first sentence. This is a second sentence.
\begin{myEnv}{Param1}{Param2}{Param3}
Do stuff
\end{myEnv}
This is a third sentence.
In the compiled version it looks like this:
This is a first sentence. ______This is a
Do stuff
second sentence. This is a third sentence.
Only that ____ are in fact white spaces. Inside the environment itself is a floating picture. If I do not make use of my environment, everything is how it is supposed to be and there are no whit spaces.
Is there a way to make my envornment a floating one? So that the white spaces disappear? Maybe there is a way to define a new float along with passing some arguments? If there is no solution i would have to get rid of my shiny environment, so any suggestions/help/link is welcome!!
Thx in advance
cherio Woltan
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm