I want to get the line similar to the one in PRL articles at the end. I don't want to use RevTex but can't figure out a simple way of doing it in Latex. Any help will be appreciated.example of line I want


3 Answers 3


Here's an elementary, yet visually similar, approach:

enter image description here

\usepackage{graphicx,lipsum}% http://ctan.org/pkg/{graphicx,lipsum}



\PRLsep is a scaled/flattened version of $\bullet$ - 1/3 of \linewidth wide and 1pt tall.

  • 7
    If you use \blacklozenge from amssymb (or some black diamond shape, see symbols-a4.pdf) it looks even more alike. Aug 30, 2013 at 6:47
  • +1, this look much better than the original line in the published papers, which is a JPEG image.
    – Christoph
    Aug 30, 2013 at 7:58
  • We can also put the \makebox inside a center environment. Feb 13, 2021 at 8:02

I extended the example. Now, you can write a text between the seperator. But it is not perfect. The length measurement of \blacktriangleleft gives 7.7778pt, but this includes the white space arround it. So this space is also stretched. The calc-Package is required.

enter image description here

\newcommand*\PRLsep[1]{\settowidth{\PRLlen}{#1}\advance\PRLlen by -\textwidth\divide\PRLlen by -2\noindent\makebox[\the\PRLlen]{\resizebox{\the\PRLlen}{1pt}{$\blacktriangleleft$}}\raisebox{-.5ex}{#1}\makebox[\the\PRLlen]{\resizebox{\the\PRLlen}{1pt}{$\blacktriangleright$}}\bigskip}
  • 1
    Also amssymb is required.
    – HBat
    Dec 9, 2015 at 11:33

With TikZ:


\newcommand{\diamondrule}{\begin{center}\tikz{\fill[black] (0.5\diamondrulelength,0) -- (0,0.5\diamondrulethickness) -- (-0.5\diamondrulelength,0) -- (0,-0.5\diamondrulethickness) -- cycle;}\end{center}}



  • 1
    you can at least do it with some TikZ keys instead of blocking two more registers. Use \centering in a group instead center environment.
    – percusse
    Mar 8, 2016 at 8:10
  • @astrinus Would you be able to print an output of this code?
    – 3kstc
    May 1, 2018 at 10:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .