Git Product home page Git Product logo

Comments (4)

amunn avatar amunn commented on July 17, 2024 1

Thanks. Strictly speaking this is not a class problem but a caption problem. I'll take a look though to see what can be done.

from msu-thesis.

amunn avatar amunn commented on July 17, 2024

Please did you read the guidelines for raising issues? Please include a minimal document that shows the problem.

from msu-thesis.

anthoak13 avatar anthoak13 commented on July 17, 2024

Minimal working example:

\documentclass[]{msu-thesis}

\usepackage{caption}
\DeclareCaptionType{test}

\begin{document}

\frontmatter
\SingleSpacing
\tableofcontents* % table of contents will not be listed in the TOC
\clearpage
\listoftables % comment this out if you have no tables
\clearpage
\listoffigures % comment this out if you have no figures

\mainmatter
\chapter{chapter 1}

\begin{table*}[ht!]
  \begin{center}
    \caption{Selected gas properties of CF$_4$ at running conditions.}
    \label{tab:gasProperties}
    \begin{tabular}{|c|c|c|c|c|} 
   
    \end{tabular}
  \end{center}
\end{table*}

\begin{table}[ht!]
  \begin{center}
    \caption{Selected properties of stable $^{208}$Pb beams used to test detectors.}
    \label{tab:stableBeam}
    \begin{tabular}{|c|c|c|c|c|} 
    
    \end{tabular}
  \end{center}
\end{table}

\chapter{Chapter 2}
\begin{table*}[ht!]
  \begin{center}
    \caption{Selected gas properties of CF$_4$ at running conditions.}
    \label{tab:gasProperties2}
    \begin{tabular}{|c|c|c|c|c|} 
   
    \end{tabular}
  \end{center}
\end{table*}

\begin{table}[ht!]
  \begin{center}
    \caption{Selected properties of stable $^{208}$Pb beams used to test detectors.}
    \label{tab:stableBeam2}
    \begin{tabular}{|c|c|c|c|c|} 
    
    \end{tabular}
  \end{center}
\end{table}
\end{document}

Result:
image

The issue seems to be the declaration of a new caption type (\DeclareCaptionType{test}) in line 4. If that is commented out then the spacing is correct
image

from msu-thesis.

amunn avatar amunn commented on July 17, 2024

Don't use the caption methods for defining new float types. See ยง5.6.3 of the documentation for an example of how to set up a new floating environment.

from msu-thesis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.