Tagged Questions
12
votes
2answers
166 views
\if@minipage purpose in floats
In floating environments such as the captions of figures, LaTeX has a \global\@minipagefalse, why is this necessary and what does this switch do?
\long\def\@makecaption#1#2{%
...
14
votes
1answer
295 views
What is a BANG float?
This question follows up on What is the exact purpose of \ftype@<TYPE>?. The LaTeX kernel source refers to a BANG float in the ltoutput.dtx, but there is no explanation for it. Anybody knows ...
16
votes
3answers
342 views
What is the exact purpose of \ftype@<TYPE>?
I currently working on some float related code an saw that the standard float environments figure and table define (beside others) the macros \def\ftype@figure{1} and \def\ftype@table{2}.
The LaTeX ...
16
votes
2answers
222 views
How can I detect if I'm inside or outside of a float environment?
I am trying to detect whether I am inside or outside a float. I know the way how caption works. It uses the internal \@captype. But in the example below you see that this test failed by using ...
18
votes
4answers
517 views
How exactly does \def\p@figure{Figure~} work?
I took this line from my thesis style and added it into my document (preceded by \makeatletter) and what it does that whenever I used \ref{figureid} instead of putting just the figure number, it puts ...