Text Formatting ⇒ Section Headings without Titles in Body of Text
-
- Posts: 3
- Joined: Wed Mar 07, 2012 8:28 am
Section Headings without Titles in Body of Text
So I have a somewhat different sort of problem I am thinking. Basically I have several pages which are nothing but figures and ideally I would like to have them in subsections as they relate to different datasets and such, however the way that the floats fit onto the page the moment I try to put them into a subsection I wind up with a page with the subsection title and numbering and nothing else, then the page with the data on it which clearly is rather wasteful and looks quite bad I think. Given the nature of the data I do not need the titles to be printed out at any point other then the TOC except perhaps in the headers.
So essentially what I am looking for is, whether it is possible to create subsections with titles but suppress having the titles printed out anywhere but in the TOC and headers?
Thanks in advance for any replies
So essentially what I am looking for is, whether it is possible to create subsections with titles but suppress having the titles printed out anywhere but in the TOC and headers?
Thanks in advance for any replies
NEW: TikZ book now 40% off at Amazon.com for a short time.

Section Headings without Titles in Body of Text
Since you didn't provide a MWE, I'm not sure if I can help you. However, here's an idea:
LaTeX has certain rules about the amount of text and floats (figures) on one page. I wrote about that in this post. In short, add the following to your preamble:
Note that this does not answer your question, but it might be an elegant workaround.
LaTeX has certain rules about the amount of text and floats (figures) on one page. I wrote about that in this post. In short, add the following to your preamble:
Code: Select all
\renewcommand{\textfraction}{0.05}
howtoTeX.com - Your LaTeX resource site (Tips, Tricks, Templates and more!)
Follow howtoTeX on twitter
Follow howtoTeX on twitter
-
- Posts: 3
- Joined: Wed Mar 07, 2012 8:28 am
Section Headings without Titles in Body of Text
Hello,
Thanks for the reply, unfortunately space is rather at a premium on my pages so even with that cranked down to a minimum and reducing the size of my floats by 10% it still pushed the floats to a new page with the text on preceding page. I would reduce the size further but any more and I risk my figures being unreadable.
Also here is the MWE you asked for, hopefully it helps.
Here ./myfloat.pdf is a 11 by 8.5 inch pdf.
Thanks for the reply, unfortunately space is rather at a premium on my pages so even with that cranked down to a minimum and reducing the size of my floats by 10% it still pushed the floats to a new page with the text on preceding page. I would reduce the size further but any more and I risk my figures being unreadable.
Also here is the MWE you asked for, hopefully it helps.
Code: Select all
Code, edit and compile here:
\documentclass[letterpaper]{proc}\usepackage{morefloats}\usepackage{graphicx}\usepackage[caption=false]{subfig}\usepackage{fancyhdr}\begin{document}\pagestyle{fancy}\begin{section}{mySection}\begin{figure*}[hp]\subfloat[Myfloat]{\includegraphics[width=0.45\textwidth]{./myfloat}}\subfloat[Myfloat]{\includegraphics[width=0.45\textwidth]{./myfloat}}\\\subfloat[Myfloat]{\includegraphics[width=0.45\textwidth]{./myfloat}}\subfloat[Myfloat]{\includegraphics[width=0.45\textwidth]{./myfloat}}\\\subfloat[Myfloat]{\includegraphics[width=0.45\textwidth]{./myfloat}}\subfloat[Myfloat]{\includegraphics[width=0.45\textwidth]{./myfloat}}\\\caption{myCaption}\end{figure*}\end{section}\end{document}
Section Headings without Titles in Body of Text
Hi to the forum.
But your best center of knowledge for LaTeX is Wikibooks, specifically:
http://en.wikibooks.org/wiki/LaTeX/Floa ... d_Captions
You should add \usepackage{float} in the preamble and use:
Also you should split your graphics into separate figures, you'll have more control this way. I can show you, but you must send your sample graphic (upload as attachment).
Nikolay
But your best center of knowledge for LaTeX is Wikibooks, specifically:
http://en.wikibooks.org/wiki/LaTeX/Floa ... d_Captions
You should add \usepackage{float} in the preamble and use:
Code: Select all
\begin{figure}{Ht}
Nikolay
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Section Headings without Titles in Body of Text
There is absolutely no sense in putting some stuff into a floating environment and then keep this environment from floating by this sledgehammer method. A simple use of the appropriate placement parameters will do as long as there is enough space left to place the float. If it's about placing a figure (or table) absolutely, the caption package provides with thejustdeath wrote:[…] But your best center of knowledge for LaTeX is Wikibooks, specifically:
http://en.wikibooks.org/wiki/LaTeX/Floa ... d_Captions
You should add \usepackage{float} in the preamble and use:[…]Code: Select all
\begin{figure}{Ht}
\captionof
command a much smarter way of doing this. Perhaps this wiki should be updated in this regard.Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Section Headings without Titles in Body of Text
I'm having the same problem. Did you ever get this to work?
-
- Posts: 3
- Joined: Wed Mar 07, 2012 8:28 am
Re: Section Headings without Titles in Body of Text
Unfortunately no, I decided that after this much aggravation that the TOC and fancy headers would work well enough for my purposes.