I do not want my figure/table to be placed in the middle of a paragraph that it split it.
I had tried
\begin{table}[htp!]
and
\begin{table}[h!]
Second example where the table is auto split the paragraph on a new page.
The MWE:
\documentclass[12pt,oneside]{book}
\usepackage{showframe}
\renewcommand\ShowFrameLinethickness{0.15pt}
\renewcommand*\ShowFrameColor{\color{red}}
\usepackage{makecell,siunitx}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{parskip} % <================================================
\usepackage{caption} % <================================================
\begin{document}
"When entering the door at Lou's, two things are immediately noticeable: the place is rarely empty and seems to consist of a maze of rooms. The first room, through the door, is the main part of the restaurant. There is another, rarely used, dining room off to the right. It was added during the oil well boom of the seventies. Through the main dining room is yet another room; it guards the door leading into the kitchen. This room contains the most coveted table in the place. The highest tribute Lou can bestow on anyone is to allow them access to seats at this table. This table is the family table; it is reserved for Lou's, and her daughter Karen's, immediate family and treasured friends."
"Like his twisted feathers, his many scars, the reliable old owl chose the gnarled, weather-beaten, but solid branch often - it being a companion to the wise alone with the night and the last branch to creak in the heaviest wind. He often came to survey the fields and the clouds before his hunt, to listen to the steady sound of the stream passing through reeds under the bridge, while combing his feathers for the unwanteds - whatever they might be."
"Looking back on a childhood filled with events and memories, I find it rather difficult to pick one that leaves me with the fabled "warm and fuzzy feelings." As the daughter of an Air Force major, I had the pleasure of traveling across America in many moving trips. I have visited the monstrous trees of the Sequoia National Forest, stood on the edge of the Grand Canyon and have jumped on the beds at Caesar's Palace in Lake Tahoe."
"When entering the door at Lou's, two things are immediately noticeable: the place is rarely empty and seems to consist of a maze of rooms. The first room, through the door, is the main part of the restaurant. There is another, rarely used, dining room off to the right. It was added during the oil well boom of the seventies. Through the main dining room is yet another room; it guards the door leading into the kitchen. This room contains the most coveted table in the place. The highest tribute Lou can bestow on anyone is to allow them access to seats at this table. This table is the family table; it is reserved for Lou's, and her daughter Karen's, immediate family and treasured friends."
\begin{figure}[h!]
\centering
\includegraphics[scale=0.2]{name/PilotStudy.png}
\caption{Test}
\label{fig:Test}
\end{figure}
"The day I picked my dog up from the pound was one of the happiest days of both of our lives. I had gone to the pound just a week earlier with the idea that I would just "look" at a puppy. Of course, you can no more just look at those squiggling little faces so filled with hope and joy than you can stop the sun from setting in the evening. I knew within minutes of walking in the door that I would get a puppy… but it wasn't until I saw him that I knew I had found my puppy."
"Looking for houses was supposed to be a fun and exciting process. Unfortunately, none of the ones that we saw seemed to match the specifications that we had established. They were too small, too impersonal, too close to the neighbors. After days of finding nothing even close, we began to wonder: was there really a perfect house out there for us?"
Below is a pdf link to personal statements and application essays representing strong efforts by students applying for both undergraduate and graduate opportunities. These ten essays have one thing in common: They were all written by students under the constraint of the essay being 1-2 pages due to the target program’s explicit instructions. In such circumstances, writers must attend carefully to the essay prompt (sometimes as simple as “Write a one-page summary of your reasons for wanting to pursue graduate study”) and recognize that evaluators tend to judge these essays on the same fundamental principles, as follows:
\begin{table}[htp!]
\centering
\begin{tabular}{%
l
S[table-format=2.2,table-space-text-post=\%]
S[table-format=3.2,,table-space-text-post=\%]
}
\toprule
& \multicolumn{2}{c}{\thead{\makebox[0pt]{\textbf{Descriptive Analysis 1}}}}\\
\cmidrule{2-3}
& \textbf{MM}
& \textbf{CM} \\
\midrule
N & {10} & {10} \\
Mean & 91.45\% & 8.55\% \\
Median & 94.74\% & 5.26\% \\
\bottomrule
\end{tabular}
\captionof{table}{the wantet title of table} % <========================
\label{tab:title} % <===================================================
\end{table}
"Billy Ray's Pawn Shop and Lawn Mower Repair looked like a burial ground for country auction rejects. The blazing, red, diesel fuel tanks beamed in front of the station, looking like cheap lipstick against the pallid, wrinkled texture of the parking lot sand. The yard, not much larger than the end zone at General G. Patton High School on the north end of town, was framed with a rusted metallic hedge of lawn mowers, banana seat bicycles, and corroded oil drums. It wasn't a calico frame of rusted parts, but rather an orchestra of unwanted machinery that Billy Ray had arranged into sections. The yellow-tanked mowers rested silently at the right of the diesel fuel. Once red, now faded orange, mowers stood at attention to the left. The oil barrels, jaded and pierced with holes, bellared like chimes when the wind was right. The bikes rested sporadically throughout the lot. In the middle of it all was the office, a faded, steel roof supported by cheap two-by-fours and zebra paneling. Billy Ray was at home, usually, five blocks east of town on Kennel Road."
\begin{center}
\begin{tabular}{%
l
S[table-format=2.2,table-space-text-post=\%]
S[table-format=3.2,,table-space-text-post=\%]
}
\toprule
& \multicolumn{2}{c}{\thead{\makebox[0pt]{\textbf{Descriptive Analysis 1}}}}\\
\cmidrule{2-3}
& \textbf{MM}
& \textbf{CM} \\
\midrule
N & {10} & {10} \\
Mean & 91.45\% & 8.55\% \\
Median & 94.74\% & 5.26\% \\
\bottomrule
\end{tabular}
\captionof{figure}{the wantet title of table} % <========================
\label{tab:title} % <===================================================
\end{center}
"When entering the door at Lou's, two things are immediately noticeable: the place is rarely empty and seems to consist of a maze of rooms. The first room, through the door, is the main part of the restaurant. There is another, rarely used, dining room off to the right. It was added during the oil well boom of the seventies. Through the main dining room is yet another room; it guards the door leading into the kitchen. This room contains the most coveted table in the place. The highest tribute Lou can bestow on anyone is to allow them access to seats at this table. This table is the family table; it is reserved for Lou's, and her daughter Karen's, immediate family and treasured friends.
\end{document}




figureandtable. You can instead adapt the approach you already used in your second tabular. – leandriis Sep 05 '19 at 09:20Hdefined by package `float. But consequences of this approach -- bad formatting of document -- is than up to you. I wouldn't do that. – Zarko Sep 05 '19 at 09:27"when entering..should be\`when entering ....don't use the straight"` in TeX text. – David Carlisle Sep 05 '19 at 09:39H? – aan Sep 05 '19 at 10:46\begin{center}and\captionof{figure}{blabla}. There is compile warming: Package caption Warning:The option 'hypcap=true' will be ignored for this particular \caption on inut line...– aan Sep 05 '19 at 11:29hyperrefpackage in your actual document? If so, please also include it in the example in your question. – leandriis Sep 05 '19 at 11:42\usepackage[hypcap=false]{caption}to elimate the warning. – aan Sep 05 '19 at 11:54