I'm working on the website ShareLaTeX and I want to adapt the code giving by thruston in this link with the compiler PdfLaTeX instead of LuaLaTeX. I already tried to change the compiler in ShareLaTeX from PdfLaTeX to LuaLaTeX but it didn't work I guess it's due to other package I'm using in my memoir. This is my documant class :
\documentclass[headings=big,twoside,chapterprefix=true,fleqn]{scrreprt}
How can I adapt the code with PdfLaTeX ?