wrapfigure/wraptable
works inside section*
also. But one should note the following from wrapfig
manual`
![enter image description here](https://i.stack.imgur.com/cbpgK.jpg)
Hence you should add enough text just below the wraptable
environment.
\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{wrapfig,lipsum}
\begin{document}
\begin{wraptable}{r}{5cm}
\centering
\begin{tabular}{|c|c|c|c|}
\hline
$i$ & $NW_{i1}$ & $NW_{i2}$ & $NW_{i3}$ \\\hline\hline
0 & 0 & 0 & 0 \\\hline
1 & 0 & 0 & 1 \\\hline
\end{tabular}
\caption{Some table}
\end{wraptable}
\lipsum[4-5]
\section*{A section}
\subsection*{subsections are nice}
Some text.
\begin{wraptable}[13]{r}{5cm}
\centering
\begin{tabular}{|c|c|}
\hline
$NW_i$ & $CW_i$ \\\hline\hline
000 & 00000 \\\hline
001 & 10111 \\\hline
010 & 10010 \\\hline
011 & 00101 \\\hline
100 & 01100 \\\hline
101 & 11011 \\\hline
110 & 11110 \\\hline
111 & 01001 \\\hline
\end{tabular}
\caption{table two}
\end{wraptable}
\lipsum[1-2]
\subsection*{the next subsection}
text.
\begin{wraptable}[7]{r}{8cm}
\centering
%\renewcommand\arraystretch{1.3}% (MyValue=1.0 is for standard spacing)
\begin{tabular}{|c|c|}
\hline
$w$ & $A(w)$ \\\hline\hline
0 & $\frac{0}{8}$ \\\hline
1 & $\frac{4}{8}$ \\\hline
\end{tabular}
\caption{table 3}
\end{wraptable}
\lipsum[3-4]
\subsection*{another subsection}
even more text.
\subsection*{yeah}
i want more more more more more more more more more more more more more more
more more more more more more more more more more more more more more more more
more and even more more more more more more more more more more more more more
more more more text.
\section*{another section in the wall}
text
\subsection*{yeah}
i want more more more more more more more more more more more more more more
more more more more more more more more more more more more more more more more
more and even more more more more more more more more more more more more more
more more more text.
\end{document}
![enter image description here](https://i.stack.imgur.com/l3CmE.jpg)
Please read the first three pages of the wrapfig
manual.
The table is vertically too big for being rotated; a font size reduction is necessary anyway. I get a decent result with
\documentclass[12pt]{report}
\usepackage{graphicx,xcolor}
\usepackage{caption}
\usepackage[centertags]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage[version = 3]{mhchem}
\usepackage{rotating}
\usepackage{tabularx}
\usepackage{mathptmx}
\usepackage{textcomp}
\usepackage{array}
\usepackage{ragged2e}
\begin{document}
\begin{table}
\caption{Kinetic parameters for oxygen reduction mechanism in MCFC cathode.}
\scriptsize
\newcolumntype{Y}{>{\RaggedRight\arraybackslash}X}
\begin{tabularx}{\textwidth}{@{}c|>{$}c<{$}|>{$}c<{$}|Y|Y|Y|Y|Y@{}}
\hline
\hline
\multicolumn{8}{c}{$i_o = i_o^o (O_2)^a (CO_2)^b$} \\
\multicolumn{8}{c}{$i_o$ = Bulk exchange current density, $mA/cm^2$} \\
\multicolumn{8}{c}{$i_o^o$ = Standard exchange current density, $mA/cm^2$} \\
\hline
$i_o$ mA/cm$^2$ & a & b & Method & Electrode & Dominant Mechanism & Electrolyte & Reference \\
\hline
& 0.85 & -0.45 & Potential-step, AC Imped. & Au(ref), Ni(cathode) & Superoxide & 62/38 Li-K & \\
10,27,39 & 0.1 & -0.15 & Potential-step, Coul. relax., and AC Imped. & Au smooth & Superoxide & 43/57 Li-K eutectic & \\
11,26.3 & 0.1 & -0.15 & SS potentiostatic, potential step & Au smooth & Superoxide & Li, Li-K eutectic & \\
0.023-0.065 & - & - & SS potentiostatic & Au smooth & & Li-Na-K eutectic & \\
10 & 0.15 & -0.15 & Potential-step & Au, smooth & Superoxide & & \\
- & 0.3 & 0 & SS, kinetic control assumed & NiO, porous & & & Tang (1980) \\
- & 0.6 & 0.6 & & NiO, porous & & & Tang (1980) \\
~1 & 0.5 & 0 & C & NiO, porous & & & \\
4-7 & - & - & Transient potentiostatic & Au & & & IGT Proj 9105 \\
0.78 & 0.2 & 0.2 & Modeling of SS data & NiO, porous & Peroxide & Na-K & \\
0.16-0.5 & 0.875 & -0.25 & Modeling of SS data & NiO, porous & & & \\
0.01-0.03 & - & - & Potential-sweep & Au & Peroxide & Na-K, Li & \\
& 0.375 & -1.25 & Modeling of SS data & NiO, porous & & & \\
& 0.4 & 0 & Modeling of SS data & SS porous & Superoxide & Li-Na-K, Li-K & This work \\
\hline
\end{tabularx}
\end{table}
\end{document}
![enter image description here](https://i.stack.imgur.com/BeeHq.png)
There are several problems in the table, I fixed some; however the names of the chemical elements are still wrong and you should fix them with mchem
commands.
If you decide for a rotated table, you can use \footnotesize
:
\documentclass[12pt]{report}
\usepackage{graphicx,xcolor}
\usepackage{caption}
\usepackage[centertags]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage[version = 3]{mhchem}
\usepackage{rotating}
\usepackage{tabularx}
\usepackage{mathptmx}
\usepackage{textcomp}
\usepackage{array}
\usepackage{ragged2e}
\begin{document}
\begin{sidewaystable}
\caption{Kinetic parameters for oxygen reduction mechanism in MCFC cathode.}
\footnotesize
\newcolumntype{Y}{>{\RaggedRight\arraybackslash}X}
\begin{tabularx}{\textwidth}{@{}c|>{$}c<{$}|>{$}c<{$}|Y|Y|Y|Y|Y@{}}
\hline
\hline
\multicolumn{8}{c}{$i_o = i_o^o (O_2)^a (CO_2)^b$} \\
\multicolumn{8}{c}{$i_o$ = Bulk exchange current density, $mA/cm^2$} \\
\multicolumn{8}{c}{$i_o^o$ = Standard exchange current density, $mA/cm^2$} \\
\hline
$i_o$ mA/cm$^2$ & a & b & Method & Electrode & Dominant Mechanism & Electrolyte & Reference \\
\hline
& 0.85 & -0.45 & Potential-step, AC Imped. & Au(ref), Ni(cathode) & Superoxide & 62/38 Li-K & \\
10,27,39 & 0.1 & -0.15 & Potential-step, Coul. relax., and AC Imped. & Au smooth & Superoxide & 43/57 Li-K eutectic & \\
11,26.3 & 0.1 & -0.15 & SS potentiostatic, potential step & Au smooth & Superoxide & Li, Li-K eutectic & \\
0.023-0.065 & - & - & SS potentiostatic & Au smooth & & Li-Na-K eutectic & \\
10 & 0.15 & -0.15 & Potential-step & Au, smooth & Superoxide & & \\
- & 0.3 & 0 & SS, kinetic control assumed & NiO, porous & & & Tang (1980) \\
- & 0.6 & 0.6 & & NiO, porous & & & Tang (1980) \\
~1 & 0.5 & 0 & C & NiO, porous & & & \\
4-7 & - & - & Transient potentiostatic & Au & & & IGT Proj 9105 \\
0.78 & 0.2 & 0.2 & Modeling of SS data & NiO, porous & Peroxide & Na-K & \\
0.16-0.5 & 0.875 & -0.25 & Modeling of SS data & NiO, porous & & & \\
0.01-0.03 & - & - & Potential-sweep & Au & Peroxide & Na-K, Li & \\
& 0.375 & -1.25 & Modeling of SS data & NiO, porous & & & \\
& 0.4 & 0 & Modeling of SS data & SS porous & Superoxide & Li-Na-K, Li-K & This work \\
\hline
\end{tabularx}
\end{sidewaystable}
\end{document}
![enter image description here](https://i.stack.imgur.com/xm0d0.png)
Best Answer
If you need to have the entire table, including the caption, typeset in monospaced font, you can achieve this by inserting the sequence
immediately following the
\begin{table}
instruction: