여러 줄로 된 그림 캡션을 중앙에 배치하려고 하는데 실패했습니다. 캡션의 줄을 괄호로 구분하려고 하면 {}
캡션 줄이 반대라는 점을 제외하면 작동합니다. 아래에 MWE를 첨부하겠습니다.
또한 캡션 줄을 분리하더라도 목차에 표시되도록 하려면 어떻게 해야 합니까?
감사해요!
\documentclass[12pt, oneside]{article}
\usepackage{geometry}
\geometry{letterpaper}
\geometry{left=1.5in, right=1in, top=1in, bottom=1in}
\usepackage{amssymb}
\usepackage [english]{babel}
\usepackage [autostyle, english = american]{csquotes}
\MakeOuterQuote{"}
\usepackage{floatrow}
\usepackage{tabularx}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\renewcommand\tabularxcolumn[1]{m{#1}}
\usepackage[title,titletoc,page,header]{appendix}
\renewcommand{\appendixpagename}{\centering Appendices}
\usepackage[nottoc]{tocbibind}
\usepackage{graphicx}
\graphicspath{ {Images/} }
\linespread{1.6}
\begin{document}
\listoffigures
\newpage
\indent X-ray generation is produced by inelastic collisions of the incident electrons with electrons in discrete orbitals of atoms in the sample. As excited electrons return to lower energy states, they yield x-rays that are of a fixed wavelength. These wavelengths are related to the difference in energy levels of electrons in different shells for a given element. This allows characteristic x-rays to be generated for each element in a material that is "excited" by the electron. One of the benefits of SEM analysis is that it is "non-destructive"; the x-rays generated by the electron interactions do not lead to volume loss of the sample, so it is possible to analyze materials repeatedly.
Figure 3 displays a typical SEM schematic.
\begin{figure}[ht] \centering
\includegraphics[scale=0.30]{SEMSchematic}
\caption{Typical SEM Schematic Displaying Electron Source, Focal Lenses, and}{Detectors}
\end{figure}
\end{document}
답변1
어쩌면 이것이 당신이 원하는 것일 수도 있습니다. 마지막 캡션 줄이 중앙에 오나요? 반면에 일반적으로 줄 간격을 늘릴 때 각주와 캡션의 경우 간격을 늘리는 것을 원하지 않습니다. set space 패키지가 이러한 세부 사항을 처리하므로 자유롭게 로드 \linespread
하고 \setstretch
.
\documentclass[12pt, oneside]{article}
\usepackage{geometry}
\geometry{letterpaper}
\geometry{left=1.5in, right=1in, top=1in, bottom=1in}
\usepackage{amssymb}
\usepackage [english]{babel}
\usepackage [autostyle, english = american]{csquotes}
\MakeOuterQuote{"}
\usepackage{floatrow}
\usepackage{tabularx}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\renewcommand\tabularxcolumn[1]{m{#1}}
\usepackage[title,titletoc,page,header]{appendix}
\renewcommand{\appendixpagename}{\centering Appendices}
\usepackage[nottoc]{tocbibind}
\usepackage[demo]{graphicx}
\graphicspath{ {Images/} }
\usepackage{caption}
\captionsetup{justification=centerlast}
\usepackage{setspace}
%\linespread{1.6}
\setstretch{1.6}
\begin{document}
\listoffigures
\newpage
\indent X-ray generation is produced by inelastic collisions of the incident electrons with electrons in discrete orbitals of atoms in the sample. As excited electrons return to lower energy states, they yield x-rays that are of a fixed wavelength. These wavelengths are related to the difference in energy levels of electrons in different shells for a given element. This allows characteristic x-rays to be generated for each element in a material that is "excited" by the electron. One of the benefits of SEM analysis is that it is "non-destructive"; the x-rays generated by the electron interactions do not lead to volume loss of the sample, so it is possible to analyze materials repeatedly.
Figure 3 displays a typical SEM schematic.
\begin{figure}[ht] \centering
\includegraphics[scale=0.30]{SEMSchematic}
\caption{Typical SEM Schematic Displaying Electron Source, Focal Lenses, and Detectors}
\end{figure}
\end{document}