In the memoir class, how can I modify the format for the ell chapter style. In the manual, the code is not listed (unlike the other styles).


Basically in the above, all I want to do is make the horizontal and vertical line a little thicker and of a different colour.

I have been through the source code of the memoir package, but cannot find where the code is for this particular chapter style.

  • In memoir.cls (version: 2016/05/16 v3.7f), I have \makechapterstyle{ell}{% at line 3321. – jon Mar 8 '17 at 22:32
  • Well I just downloaded the source from ctan.org/tex-archive/macros/latex/contrib/memoir, and it doensn't contain a memoir.cls file. What am I missing? – Nicholas Hamilton Mar 9 '17 at 2:39
  • Do you have memoir.ins? Run latex memoir.ins. But why are you downloading from CTAN? What version of memoir are you currently using? – jon Mar 9 '17 at 2:47
  • I figured it out. Just looked for the local version installed by mactex, I thought downloading would be more convenient, as I just wanted to find the macro to redefine, anyway all good. – Nicholas Hamilton Mar 9 '17 at 4:57
  • So would you be so kind and post it as an answer and accept it? Otherwise it appears under the unanswered questions – jjdb May 5 '17 at 10:23

This is how I ended up modifying it, the \chs@ell@helper command needed redefining:

%Modify the fancy chapter lines.
            \leavevmode\chapnumfont #1\vphantom{1}%
            \midrule %\hline%

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.