abovedisplayskip无效_latex公式图片行间距段间距调整心得 -
Latex 調公式、圖片、段落間距、行間距等心得
\\begin{algorithmic}[1] % 1 represent the number in order 按正常的1、2、3的順序顯示段前序號 , 2 represents the double number displayed. 只顯示雙數的序號。
%\\begin{figure}[!ht] %表示 在此處的上方顯示 圖片,
\\begin{figure}[tt] %只在上方顯示圖片。 不限于 此處(指定的位置)
%\\bibliography{IEEEabrv,refs}
%\\bibliographystyle{IEEEtran} 表示 IEEE 模板 的參考文獻。
用于設置 公式的段前段后間距:默認0pt %{\\setlength\\abovedisplayskip{5pt} %\\setlength\\belowdisplayskip{-8pt} 公式 %}
\\begin{figure}[tt]
\\setlength{\\abovecaptionskip}{0.cm} \\setlength{\\belowcaptionskip}{-0.cm} \\centering \\vspace{-0.3cm}
\\setlength{\\abovecaptionskip}{0.cm} \\setlength{\\belowcaptionskip}{-0.cm}
\\includegraphics[width=0.8\\columnwidth]{subplot_SINR_thput_size2.pdf}
\\caption{The comparison of $SINR$ and throughput with network size for different strategies.}
\\label{fig:SINR_thput_joint} \\end{figure}
width=0.8 表示占據一欄的 80%
而 如果讓圖片 占據雙欄,則 加* 即可。 其中占據 雙欄后 可以設定 width=1.8 總共2 欄。。。所有 可以這樣調大小。 \\begin{figure*}[tt] \\end{figure*}
對于tex 文件 無法打開的情況:error reading 解決方案:
1) 在winedit 的窗口中 工具欄中有個打開的按鈕,找到相應的文件,試一試:UTF-8的
形式,如圖:
2) 第二種方法:找到tex文件,右鍵,選擇-打開方式-以記事本的方式打開,然后將記事
本的東西復制到 新建的tex 文件中,這樣也能夠打開看內容。
當遇到此種錯誤:
就是常見的第二步Bibtex編譯時,獲得的*.bbl文件為空或者沒有引用文獻,如下所示:
\\begin{thebibliography}{} \\end{thebibliography}
如果得到的*.bbl為上述內容,那么下一次Latex編譯時必將報錯,報錯信息如下:(.\\.\\.\\*.bbl! LaTeX Error: Something's wrong--perhaps a missing \\item.
解決方案:就是
在劃線中輸入生成參考文獻的.bbl 的文件名(不包含后綴)
調整某一段的行間距: \\begin{spacing}{1.0} \\end{spacing}
微調公式與段前、和段后的距離: {\\setlength\\abovedisplayskip{3pt} \\setlength\\belowdisplayskip{1pt} 公式 }
算法中若加入:{\\small{ }}
整體的效果如下:右圖 是 加入small 后的效果。
以下語句用于設置公式與段前和段后的距離。 {\\setlength\\abovedisplayskip{3pt} \\setlength\\belowdisplayskip{1pt} 公式 }
調整段落首字母對齊方式:\\begin{flushleft} 段落 \\end{flushleft}
總結
以上是生活随笔為你收集整理的abovedisplayskip无效_latex公式图片行间距段间距调整心得 -的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python 支付宝支付 无效根证书_P
- 下一篇: 信奥中的数学:群论