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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm