-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List of Figures should only have first line of caption #36
Comments
This assumes that you captions have a ".", I think. Most of mine do, because they're multi-sentence ;) Also, watch out for subcaptions, subrefs within captions, and various \protect commands, which might trip it up. |
I don't think it is a bug. The class file is not supposed to (and cannot) automagically fix everything. There will be things that can be documented so that people can manually take care of necessary steps. It is a well-known standard LaTeX behavior of many commands (such as However, being able to automate it to comply with the style guide in a more effortless manner would be great. I can think of two potential means of accomplishing it. First approach would be to define a helper macro, say, |
If the CLS file generates a PDF by default (without the user's customizations) that does not comply with the dissertation style guide, it is a bug. I like the idea of specifying an attribute for the document to get caption to behave differently with graceful degradation to the default behavior if not specified. As above, there is likely a more sophisticated macros that can account for "." literals in the caption that do not indicate the end of a sentence. Requiring the user to modify their caption to manually indicate this (e.g., The solution I proposed above is generally working for me. I am hoping we can come up with something more elegant for those that have to deal with this in the future (e.g., you, @ibnesayeed ;) ). |
Per page 49 of the Dissertation Guideline. Currently, the full caption is shown.
While this could be remedied with duplicating the text,
\caption[lorem ipsum]{lorem ipsum}
, the text must exactly match and only be one sentence, which seems like it is self-conflicting but this what the guide states.I have figured out a way (src) to fix this but it would be far more elegant if it overrode the original caption command.
Add this to custommacros.sty:
then replace instances of
\caption{}
with\slcaption
.The text was updated successfully, but these errors were encountered: