Hi,
trying to create sectino with line. What I mean is something
like this
Section title_______________________________ (to the right edge)
Even though I persuade both titlesec and sectsty very
forcefully, neither of them seems to be of any help. The best
what I can get is the line BELOW the section title not on the
same line by this definition in preamble:
\usepackage{sectsty}
\makeatletter
\newcommand{\nadpisline}[1]{%
\ttfamily
\huge
\bfseries
#1
\hrulefill
}
\makeatother
\sectionfont{\nadpisline}
Other unwanted result is by this:
\usepackage{titlesec}
\titleformat{\section}[hang]
{\ttfamily\huge\bfseries}
{}{}{\hrulefill}
which makes line in beginning of the line not in its end.
I am counting my penalty points for off-topic question, but I
have not been really able to find answer anywhere else.
Thanks
Matej Cepl