微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何在 Latex 中将图像与底部对齐

如何解决如何在 Latex 中将图像与底部对齐

我正在尝试使用 Texmaker for Linear Algebra 在 Latex (MiKTex) 中创建文档。我在页面中写了一些文字,现在想调整该文字底部图片,但图片自动向上移动。

这是这个Image代码输出

代码

\begin{Large}

\justify
LaTeX is a software system for document preparation. When writing,the writer uses plain text as opposed to the formatted text found in "What You See Is What You Get" word processors like Microsoft Word,LibreOffice Writer and Apple Pages.\\
\\LaTeX is widely used in academia for the communication and publication of scientific documents in many fields,including mathematics,statistics,computer science,engineering,physics,economics,linguistics,quantitative psychology,philosophy,and political science. It also has a prominent role in the preparation and publication of books and articles that contain complex multilingual materials,such as Sanskrit and Greek. LaTeX uses the TeX typesetting program for formatting its output,and is itself written in the TeX macro language.\\
\\To download and install Latex we have to download two software,one is MiKTeX and second one is Texmaker,in first steps we will download and install MiKTex and then we will install Texmaker.
\end{Large}

\begin{flushleft}
\begin{Large}
\textbf{Step 1:}\\
\end{Large}
\end{flushleft}

\begin{Large}
\begin{flushleft}
First you need to go to Google search bar and search MiKTex Download.
\end{flushleft}
\end{Large}

\begin{figure}

\centering
\includegraphics[scale=0.7]{Mik1.jpg}
\end{figure}

解决方法

您应该在序言中添加浮动包 (\usepackage{float}),然后将浮动说明符添加到您的图 (\begin{figure}[b])

基本说明符: h - 将浮点数放置在这里,即大约在它出现在源文本中的同一点(但是,不完全在该位置); t - 将其置于页面顶部; b - 将其置于页面底部。

https://www.overleaf.com/learn/latex/Positioning_of_Figures

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其他元素将获得点击?
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。)
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver发生异常。为什么?
这是用Java进行XML解析的最佳库。
Java的PriorityQueue的内置迭代器不会以任何特定顺序遍历数据结构。为什么?
如何在Java中聆听按键时移动图像。
Java“Program to an interface”。这是什么意思?