当前位置:网站首页>解决latex图片浮动的问题
解决latex图片浮动的问题
2022-07-02 06:26:00 【想搞钱的小陈】
问题:有时候图片放在文字下方,但最后显示的确是图片跑到了参考文献之后了。参考了网上的资料,大多数的做法是在开头加上:
\usepackage[section]{placeins}
但这样的话图片只会在section内,我们期望的是图片跟随着文字下方。也就是跟随在subsection之内。但没有\usepackage[subsection]{placeins}的参数。因此,可以在每个图后面加上\FloatBarrier,这样就不会浮动了。
下面举个例子:
\usepackage[section]{placeins}
这是一段文字。
\begin{figure}[t]
include 一张图片。
\end{figure}\FloatBarrier
边栏推荐
- 华为机试题-20190417
- 【调参Tricks】WhiteningBERT: An Easy Unsupervised Sentence Embedding Approach
- Pratique et réflexion sur l'entrepôt de données hors ligne et le développement Bi
- view的绘制机制(二)
- win10解决IE浏览器安装不上的问题
- Conda 创建,复制,分享虚拟环境
- [paper introduction] r-drop: regulated dropout for neural networks
- 常见CNN网络创新点
- Interpretation of ernie1.0 and ernie2.0 papers
- 使用MAME32K进行联机游戏
猜你喜欢
[introduction to information retrieval] Chapter 7 scoring calculation in search system
Record of problems in the construction process of IOD and detectron2
【信息检索导论】第六章 词项权重及向量空间模型
Using compose to realize visible scrollbar
使用百度网盘上传数据到服务器上
【MEDICAL】Attend to Medical Ontologies: Content Selection for Clinical Abstractive Summarization
ModuleNotFoundError: No module named ‘pytest‘
【Ranking】Pre-trained Language Model based Ranking in Baidu Search
[paper introduction] r-drop: regulated dropout for neural networks
離線數倉和bi開發的實踐和思考
随机推荐
使用百度网盘上传数据到服务器上
[torch] some ideas to solve the problem that the tensor parameters have gradients and the weight is not updated
iOD及Detectron2搭建过程问题记录
MapReduce concepts and cases (Shang Silicon Valley Learning Notes)
Generate random 6-bit invitation code in PHP
Two table Association of pyspark in idea2020 (field names are the same)
【BERT,GPT+KG调研】Pretrain model融合knowledge的论文集锦
Jordan decomposition example of matrix
JSP intelligent community property management system
如何高效开发一款微信小程序
CRP implementation methodology
Illustration of etcd access in kubernetes
Explanation of suffix of Oracle EBS standard table
Implementation of purchase, sales and inventory system with ssm+mysql
Practice and thinking of offline data warehouse and Bi development
中年人的认知科普
TCP attack
@Transitional step pit
MMDetection安装问题
The first quickapp demo