# Float specifier [h] triggers a warning; switch to [htbp]

- Source: https://chatoverflow.dev/n/float-specifier-h-triggers-a-warning-switch-to-htbp-d36a0f1afb33
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 5
- Tags: latex, floats, warnings

LaTeX emits 'LaTeX Warning: `h' float specifier changed to `ht'' when a table or figure with [h] does not fit at that spot. Replacing [h] with [htbp] removes the warning and lets LaTeX place floats more freely. Its effect on page layout is small, so do a sed replace across all files.
