文本对齐,第二行缩进

文本对齐,第二行缩进

我对 Tex 还很陌生。

我想指定参考书目项目,以便整个页面的文本对齐,但第二行和第三行缩进,如下所示:

在此处输入图片描述

在上面的例子中,我使用 \hspace*{5mm} 手动缩进,但正如您在第一项中看到的,它对于对齐效果不佳。有没有办法让我可以保持每行的对齐,但除了第一行之外的所有行都缩进?

我还没有找到符合此要求的 bibtex 样式。感谢您的帮助。

更新的问题

以下是最简代码:

\documentclass{article}
\begin{document}
\section*{SOURCES}

Barbero G., Evangelista L. R., Olivero D. 2000. Asymmetric ionic adsorp-
\hspace*{5mm}tion and cell polarization in liquid crystals. Journal of 
Applied Physics, 87, \hspace*{5mm}5: 2646–2648
\\
\\
Bazant M., Kilic M., Storey B., Ajdari A. 2009. Towards an understanding 
\hspace*{5mm}of induced-charge electrokinetics at large applied voltages in 
concentrated \hspace*{5mm}solutions. Advances in Colloid and Interface 
Science, 152, 2: 48–88
\\
\\
Bhuiyan L. B., Outhwaite C. W., Bratko D. 1992. Structure and thermodynami-
\hspace*{5mm}cs of micellar solutions in the modified Poisson-Boltzmann 
theory. Chemical \hspace*{5mm}Physics Letters, 193: 203–210

\end{document}

答案1

列表可能是最简单的方法。

\documentclass{article}
\usepackage{enumitem}

\newenvironment{sources}
 {\section*{SOURCES}
  \begin{itemize}[
    label={},
    leftmargin=5mm,
    itemindent=-5mm,
    labelwidth=0pt,
    labelsep=0pt,
    itemsep=\bigskipamount,
  ]}
 {\end{itemize}}

\begin{document}

\begin{sources}
\item Barbero G., Evangelista L. R., Olivero D. 2000. Asymmetric ionic 
adsorption and cell polarization in liquid crystals. Journal of 
Applied Physics, 87, 5:~2646–2648

\item Bazant M., Kilic M., Storey B., Ajdari A. 2009. Towards an understanding 
of induced-charge electrokinetics at large applied voltages in 
concentrated solutions. Advances in Colloid and Interface 
Science, 152, 2:~48–88

\item Bhuiyan L. B., Outhwaite C. W., Bratko D. 1992. Structure and thermodynamics
of micellar solutions in the modified Poisson-Boltzmann 
theory. Chemical Physics Letters, 193:~203–210
\end{sources}

\end{document}

在此处输入图片描述

答案2

一个带有软件包的解决方案hanging,另一个带有biblatex-apa一些补丁的解决方案,允许引用:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\usepackage{hanging}
\usepackage[style = apa, backend = biber, maxnames = 6]{biblatex}
\addbibresource{sources.bib}
\usepackage{xpatch} 

\xpatchbibmacro{name:apa:family-given}{%
\addcomma}{%
}{}{}

\DeclareDelimFormat[bib]{finalnamedelim}{%
  \ifthenelse{\value{listcount}>\maxprtauth}
    {}
    {\finalandcomma\space}}

   \renewbibmacro*{labelyear+extradate}{%
 \iffieldundef{labelyear}
 {\iffieldundef{origyear}
 {}
 {\printtext{\printorigdate}}}%
 {\printtext{\printlabeldateextra}}}


\renewcommand*{\bibpagespunct}{\addcolon\space}

\renewcommand{\bibhang}{5mm}

\defbibheading{sources}{\section*{SOURCES}}
%
\begin{document}

\section*{SOURCES}

\begin{hangparas}{5mm}{1}
Barbero G., Evangelista L. R., Olivero D. 2000. Asymmetric ionic adsorption and cell polarization in liquid crystals. Journal of Applied Physics, 87, 5: 2646–2648

Bazant M., Kilic M., Storey B., Ajdari A. 2009. Towards an understanding of induced-charge electrokinetics at large applied voltages in concentrated solutions. Advances in Colloid and Interface Science, 152, 2: 48–88

Bhuiyan L. B., Outhwaite C. W., Bratko D. 1992. Structure and thermodynamics of micellar solutions in the modified Poisson-Boltzmann theory. Chemical Physics Letters, 193: 203–210
\end{hangparas}
\bigskip

\nocite{*}
\printbibliography[heading = sources]

\end{document} 

文件sources.bib

% Encoding: UTF-8

@Article{BEO,
  author    = {Barbero, G. and Evangelista, L. R. and Olivero, D.},
  title     = {Asymmetric ionic adsorption and cell polarization in liquid crystals},
  journal   = {Journal of Applied Physics},
  year      = {2000},
  volume    = {87},
  number    = {5},
  pages     = {2646–2648},
  owner     = {Bernard},
  timestamp = {26.2018.01},
}

@Article{BKSA,
  author    = {Bazant, M. and Kilic, M. and Storey, B. and Ajdari, A.},
  title     = {Towards an understanding of induced-charge electrokinetics at large applied voltages in concentrated solutions},
  journal   = {Advances in Colloid and Interface Science},
  year      = {2009},
  volume    = {152},
  number    = {2},
  pages     = {48–88},
  owner     = {Bernard},
  timestamp = {26.2018.01},
}

@Article{BOB,
  author    = {Bhuiyan, L. B. and Outhwaite, C. W. and Bratko, D.},
  title     = {Structure and thermodynamics of micellar solutions in the modified Poisson-Boltzmann theory},
  journal   = {Chemical Physics Letters},
  year      = {1992},
  volume    = {193},
  pages     = {203–210},
  owner     = {Bernard},
  timestamp = {26.2018.01},
}

在此处输入图片描述

相关内容