Generalalign picture with sectioning heading

LaTeX specific issues not fitting into one of the other forums of this category.
Coen
Posts: 17
Joined: Thu May 15, 2008 11:03 am

align picture with sectioning heading

Post by Coen »

somehow a day long all went right and then after adjusting some arrays that kept giving me errors the right margin was kept in line with the picture for the rest of the section. That's not what I want!
\begin{wrapfigure}{r}{3.6cm}
\begin{center}
\includegraphics[width=3.6cm]{Plaatjes/jacket1.jpg}
\caption{Monopile}
\label{Monopile}
\end{center}
\end{wrapfigure}
\subsubsection{Space frames}

This type of substructure comes closest to the structures used in the light weight and cost efficient steel spaceframes (often reffered to as jackets) used for smaller oil- and gas related production facilities. A three or four legged frame is placed on the sea bed and anchored with piles, either through the legs or through a sleeve at the bottom of each leg. These foundation piles are relatively small (1 to 2m diameter) compared to monopiles. This allows for use of smaller, more commonly available equipment for installation. The space frame is suitable and economic in larger water depths.
Recently the Beatrice wind farm has been installed, two REpower 5MW turbines were installed in 45m water depth. The substructure in this pilot project is a four-legged, 62m high frame with a footprint of 20 x 20m.

\clearpage

\subsection{Floating substructures}
Floating structures derive their stability based on their shape and buoyancy characters, but principles here can be quite different:\\
\begin{array}[h]{l l}
\text{i}& \text{Tension Leg}\\
\text{ii}& \text{SPAR-bouy}\\
\end{array}

However technically feasible, based on economics floating wind turbines are not an option yet. BlueH, a Dutch company recently installed the first floating 80 KW turbine ever. The structure is based on the tension leg principle located approximately 15 km off the South Italian coast in water depths of 108 m. The same company has been nominated for a 420MW commercial wind energy project in the USA.\footnote{source: http://www.bluehgroup.com}\\
Norsk Hydro is currently developing what they call a floating wind mill. The SPAR type structure that has been model tested and is planned to have its first prototype ready in 2009.
I put in a \clearpage command but that should not be the solution.
And can anyone see why that array on the bottom should give an error (sais Missing $ inserted )

Thanks again.

Cheers,

Coen

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

align picture with sectioning heading

Post by Stefan Kottwitz »

Hi Coen,

remove the center environment inside the wrapfigure environment, or do you need it?
The array has to be set in math mode, so write $\begin{array}...\end{array}$ or \[ \begin{array}...\end{array} \] or another math environment.

In this case tabular would be simpler because you don't need math inside the table (array):

Code: Select all

\begin{tabular}{ll}
i  & Tension Leg\\
ii & SPAR-bouy
\end{tabular}
Stefan
LaTeX.org admin
Coen
Posts: 17
Joined: Thu May 15, 2008 11:03 am

Re: align picture with sectioning heading

Post by Coen »

That indeed looks better, just to make a tabular out of it.

unfortunately the wrapfig problem was not solved with removing the centering cmd. I don't get it, I'm pretty sure I did not change anything.

Is there no command like clearpage but that does not end the page but just the particulars of textwidth etc?
clearformat or something?
Coen
Posts: 17
Joined: Thu May 15, 2008 11:03 am

Re: align picture with sectioning heading

Post by Coen »

I copy-pasted it the wrapfig into another part of the doc and here the same happend (just like the figure is about three pages high) Weird stuff... I'll keep looking
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

align picture with sectioning heading

Post by Stefan Kottwitz »

Hi Coen,

when I tested it the text wrapped around the picture. Example:

Code: Select all

\documentclass[a4paper,10pt]{article}
\usepackage{graphicx,wrapfig,amsmath}
\begin{document}

\begin{wrapfigure}{r}{3.6cm}
%\begin{center}
\includegraphics[width=3.6cm,height=3.6cm]{Plaatjes/jacket1.jpg}
\caption{Monopile}
\label{Monopile}
%\end{center}
\end{wrapfigure}
\subsubsection{Space frames}

This type of substructure comes closest to the structures used in the light weight and cost efficient steel spaceframes (often reffered to as jackets) used for smaller oil- and gas related production facilities. A three or four legged frame is placed on the sea bed and anchored with piles, either through the legs or through a sleeve at the bottom of each leg. These foundation piles are relatively small (1 to 2m diameter) compared to monopiles. This allows for use of smaller, more commonly available equipment for installation. The space frame is suitable and economic in larger water depths.
Recently the Beatrice wind farm has been installed, two REpower 5MW turbines were installed in 45m water depth. The substructure in this pilot project is a four-legged, 62m high frame with a footprint of 20 x 20m.

\subsection{Floating substructures}

Floating structures derive their stability based on their shape and buoyancy characters, but principles here can be quite different:

\begin{tabular}{ll}
i  & Tension Leg\\
ii & SPAR-bouy
\end{tabular}

\noindent However technically feasible, based on economics floating wind turbines are not an option yet. BlueH, a Dutch company recently installed the first floating 80 KW turbine ever. The structure is based on the tension leg principle located approximately 15 km off the South Italian coast in water depths of 108 m. The same company has been nominated for a 420MW commercial wind energy project in the USA.\footnote{source: http://www.bluehgroup.com}\\
Norsk Hydro is currently developing what they call a floating wind mill. The SPAR type structure that has been model tested and is planned to have its first prototype ready in 2009.
\end{document}
I just added height=3.6cm to \includegraphics because for my test I did not know you picture size. Compile it and have a look. Or give me a compilable example that shows the problem.

By the way you could click the Code button instead of Quote.

Stefan
LaTeX.org admin
Coen
Posts: 17
Joined: Thu May 15, 2008 11:03 am

Re: align picture with sectioning heading

Post by Coen »

I put the file in a zip (including the pictures)
What it does now to my opinion that is puts the wrapping on every following page.

maybe I am writing that text in a different environmetnt (like I did not close an array or enumerations)

I really appreciate the effort! Cheers

Coen
Coen
Posts: 17
Joined: Thu May 15, 2008 11:03 am

Re: align picture with sectioning heading

Post by Coen »

have to reduce it in size.
Coen
Posts: 17
Joined: Thu May 15, 2008 11:03 am

Re: align picture with sectioning heading

Post by Coen »

I enclosed a zip sith my files and pics
I'm now trying to find the problem above the wrapping...
Attachments
Copy of New Start.zip
zip file
(176.18 KiB) Downloaded 218 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

align picture with sectioning heading

Post by Stefan Kottwitz »

Try it by placing the wrapfigures inside the subsubsection, directly after \subsubsection. Test for instance with fig. 1.4 (gravity based structure):

Code: Select all

\subsubsection{Gravity Based Structures}

\begin{wrapfigure}{r}{3.6cm}
\includegraphics[width=3.6cm,height=3.5cm]{Plaatjes/GBS.JPG}
\caption{GBS}
\label{GBS}
\end{wrapfigure}

The concept of gravity foundations ...
I just made the height smaller for testing. Its wrapping in my case.

Stefan
LaTeX.org admin
Coen
Posts: 17
Joined: Thu May 15, 2008 11:03 am

Re: align picture with sectioning heading

Post by Coen »

Excellent! Now I have to start writing again, it is so tempting to do layout and things like that instead of hard-core producing content...
Cheers and enjoy the weekend!!

Coen
Post Reply