-
Notifications
You must be signed in to change notification settings - Fork 302
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
Fullwidth caption #145
base: master
Are you sure you want to change the base?
Fullwidth caption #145
Conversation
A small issue I already identified is that the bounding box of the caption is not computed correctly yet. When placed in text, the caption is written into the following text. Additionally, when working with subfloat, subcaptions beneath the subfloats are also written over. |
Do the references get correctly labeled with |
I don't know from the top of my head. I never (knowingly) used |
I don't know enough tex to vouch for the quality of this PR, but something like this would be very helpful to me... |
I very much need this functionality. But looking at the list of PRs going back several years, with apparently no activity, is it fair to say that this repository has been abandoned? |
I have not seen any activity here in the last years. I wouldn't hold my breath. If you want to take the (a little rocky) road and use this feature without it being merged into the main branch: This works and you only need to download two files. The majority of the files in this repo are for the example projects to compile but are not needed for the actual document classes. To work with this locally you will need to do following:
|
I have a number of FW environments using a modified tufte style. Can you be more specific about what you want, maybe some pseudo-code? |
I looking for full width versions of Pseudocode:
This would make a full-width table with the caption positioned above the table, and with the caption using the full table width (if the text is long enough.) |
Here is some working code from a book I did. I substituted "etc" for the actual words. I can't attach the style and cls files because their "type" isn't supported by this "forum". A major oversight for LaTeX forum, I'd say. I think they are the same ones provided by the original author. I can't remember whether I did any fixes. If this code doesn't work for you, find a way for me to ship the files to you. Header: (missing a huge amount of stuff, but these linesare the essentials)
Full width table, caption below:
The following produces a full width figure on full page: (I may have been having problems with this figurefw; can't remember. This page used a jpg graphic embedded directly, with caption above figure):
|
Thank you very much, @Tafnab. |
This PR adds the
figurefw
andtablefw
environments which have a full width caption for use with full page and other large floats (as mentioned in #134). Both behave exactly like thefigure*
andtable*
environments, but also span the caption across the full width of the page.I added an example to the sample-book file, which recycles the sine wave figure. I am not sure, if an example is necessary and if the table example could be enough. Personally, I required this mostly for full-page figures that also needed long explanatory texts, so I added that to the document.
I only tested this with the sample book yet, so I would appreciate anyone testing that this doen't break in larger projects.