# Tag Info

4

There is a \@@par after the title and before \ExecuteDoHook{heading/endgroup/section} in the source code. Therefore you have to add a \leavevmode and the line will be below of the section title: \AddtoDoHook{heading/endgroup/section}{\leavevmode\hfilllinegobble} So I would suggest to redefine \sectionlinesformat, eg.: \newcommand*{\hfilllinegobble}{\xrfill[...

2

I don't see directly an option for this so one must delve into algorithms2e. Luckily for you I've done this a couple of days ago for another answer, so I can still remember how it works :-) \documentclass[12pt, a4paper, titlepage]{article} \usepackage{geometry} % more generous margins \usepackage[ruled,vlined]{algorithm2e} \makeatletter \renewcommand*{\@...

2

I agree that is a problem but this is not a bug of nicematrix. The vertical rule ends a little bit (in fact 0.5 \arrayrulewidth) after the expected position in order to have a perfect corner when horizontal rules are also used. A solution would be to draw the vertical rule with Tikz in the \CodeAfter of the {NiceTabular}. Maybe you want a more automatic ...

2

In a way, I'm surprised that \cmidrule works at all outside of tabular-like and array environments. The fact the use of \cmidrule doesn't throw an immediate error message is not an indication that what you're doing can or should be expected to produce the result you're hoping to get. If you must use \cmidrule, do typeset the equations in question in an array ...

1

If you want to reduce vertical space in this example or in a similar case add negative space before, for example with \\[-2ex] In addition to the excessive space you notice booktabs adds vertical space both sides of the \cmidrule so it is harder to correct. \documentclass{article} \usepackage{amsmath} %\usepackage{booktabs} \begin{document} \begin{align*...

1

Use \linewidth instead of \textwidth \documentclass[11pt, letterpaper]{article} \usepackage[utf8]{inputenc} \usepackage[margin=1.5in]{geometry} \usepackage{lipsum} \usepackage{enumitem} \newcommand{\hr}{\rule[0.3em]{\linewidth}{0.4pt}\newline} \begin{document} \newpage \begin{enumerate}[leftmargin=0cm] \item \textit{\lipsum[1][1-2]} ...

1

Not sure if this is the output you're interested in, but by adding \multicolumn{1}{c}{} you can shorten the vertical line. In the following example, I also replaced some of the booktabs lines with \hline and \cline in order to avoid gaps around the intersections of horizontal and vertical lines. \documentclass{book} \usepackage{pgfplots} \usepackage{...

1

\documentclass{article} \usepackage{blindtext} \usepackage[type=user,unit=in]{fgruler} \fgrulerdefuserin{\fgrulertype{in}{upperleft}\fgrulertype{in}{lowerright}} \begin{document} \blinddocument \end{document}

1

Here is a simple way to do it using fancyhdr package. Although esdd provided you with a great answer, I have a different way of defining \headrule. I believe it is simpler and will not cause any issues down the road. \documentclass[twoside]{book} % Header and Footer \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} % Header Settings \fancyhead[LE,...

Only top voted, non community-wiki answers of a minimum length are eligible