Re: Section with line (slightly off-topic)
Herbert Voss wrote: On Fri, 1 Dec 2000, Matej Cepl wrote: Your Sectiontitle \hrulefill with style chapter, section or any otherone and \hrulefill in tex(red) Because the result should be template for future use as base of the bulkletin of our church, so that it should cover as much as possible. than may do it with lyx-layout. frommy point of view it shall be no problem to define this chapter/section/.. layout in the lyx layout-file -- a solution with latex preamble (e.g. for chapter): \let\myChapter\chapter \renewcommand\chapter[1]{\myChapter{#1 \hrulefill}} -- a solution for lyx-layout (e.g. for chapter): in ~/.lyx/layouts/stdsections.inc add: # myChapter style definition Style myChapter MarginStatic LatexType Command LatexName myChapter NeedProtect 1 NextNoIndent 1 ParSkip 0.4 TopSep4 BottomSep 0.8 ParSep0.8 Align Block AlignPossible Block, Left LabelType Counter_Chapter LabelString "myChapter " LabelStringAppendix "myAppendix " # standard font definition Font Series Bold SizeHuge EndFont Preamble \newcommand\myChapter[1]{\chapter{#1 \hrulefill}} EndPreamble End Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: Section with line (slightly off-topic)
On Thu, Nov 30, 2000 at 11:47:00AM +0100, Matej Cepl wrote: Hi, trying to create sectino with line. What I mean is something like this Section title___ (to the right edge) \usepackage{titlesec} \titleformat{\section}[hang] {\ttfamily\huge\bfseries} {}{}{\hrulefill} Use: \usepackage{titlesec} \newcommand{\hruleafter}[1]{#1\hrulefill} \titleformat{\section}[hang] {\ttfamily\huge\bfseries} {}{0ex}{\hruleafter}
Re: Section with line (slightly off-topic)
Herbert Voss wrote: On Fri, 1 Dec 2000, Matej Cepl wrote: Your Sectiontitle \hrulefill with style chapter, section or any otherone and \hrulefill in tex(red) Because the result should be template for future use as base of the bulkletin of our church, so that it should cover as much as possible. than may do it with lyx-layout. frommy point of view it shall be no problem to define this chapter/section/.. layout in the lyx layout-file -- a solution with latex preamble (e.g. for chapter): \let\myChapter\chapter \renewcommand\chapter[1]{\myChapter{#1 \hrulefill}} -- a solution for lyx-layout (e.g. for chapter): in ~/.lyx/layouts/stdsections.inc add: # myChapter style definition Style myChapter MarginStatic LatexType Command LatexName myChapter NeedProtect 1 NextNoIndent 1 ParSkip 0.4 TopSep4 BottomSep 0.8 ParSep0.8 Align Block AlignPossible Block, Left LabelType Counter_Chapter LabelString "myChapter " LabelStringAppendix "myAppendix " # standard font definition Font Series Bold SizeHuge EndFont Preamble \newcommand\myChapter[1]{\chapter{#1 \hrulefill}} EndPreamble End Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: Section with line (slightly off-topic)
On Thu, Nov 30, 2000 at 11:47:00AM +0100, Matej Cepl wrote: Hi, trying to create sectino with line. What I mean is something like this Section title___ (to the right edge) \usepackage{titlesec} \titleformat{\section}[hang] {\ttfamily\huge\bfseries} {}{}{\hrulefill} Use: \usepackage{titlesec} \newcommand{\hruleafter}[1]{#1\hrulefill} \titleformat{\section}[hang] {\ttfamily\huge\bfseries} {}{0ex}{\hruleafter}
Re: Section with line (slightly off-topic)
Herbert Voss wrote: > > On Fri, 1 Dec 2000, Matej Cepl wrote: > > > > Your Sectiontitle \hrulefill > > > > > > with style chapter, section or any otherone and \hrulefill in tex(red) > > > > Because the result should be template for future use as base of > > the bulkletin of our church, so that it should cover as much as > > possible. > > than may do it with lyx-layout. frommy point of view it shall be > no problem to define this chapter/section/.. layout in the lyx > layout-file -- a solution with latex preamble (e.g. for chapter): \let\myChapter\chapter \renewcommand\chapter[1]{\myChapter{#1 \hrulefill}} -- a solution for lyx-layout (e.g. for chapter): in ~/.lyx/layouts/stdsections.inc add: # myChapter style definition Style myChapter MarginStatic LatexType Command LatexName myChapter NeedProtect 1 NextNoIndent 1 ParSkip 0.4 TopSep4 BottomSep 0.8 ParSep0.8 Align Block AlignPossible Block, Left LabelType Counter_Chapter LabelString "myChapter " LabelStringAppendix "myAppendix " # standard font definition Font Series Bold SizeHuge EndFont Preamble \newcommand\myChapter[1]{\chapter{#1 \hrulefill}} EndPreamble End Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: Section with line (slightly off-topic)
On Thu, Nov 30, 2000 at 11:47:00AM +0100, Matej Cepl wrote: > Hi, > > trying to create sectino with line. What I mean is something > like this > > Section title___ (to the right edge) > > \usepackage{titlesec} > \titleformat{\section}[hang] > {\ttfamily\huge\bfseries} > {}{}{\hrulefill} Use: \usepackage{titlesec} \newcommand{\hruleafter}[1]{#1\hrulefill} \titleformat{\section}[hang] {\ttfamily\huge\bfseries} {}{0ex}{\hruleafter}
Section with line (slightly off-topic)
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
Re: Section with line (slightly off-topic)
Matej Cepl wrote: 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 } why don't you use Your Sectiontitle \hrulefill with style chapter, section or any otherone and \hrulefill in tex(red) Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Section with line (slightly off-topic)
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
Re: Section with line (slightly off-topic)
Matej Cepl wrote: 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 } why don't you use Your Sectiontitle \hrulefill with style chapter, section or any otherone and \hrulefill in tex(red) Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Section with line (slightly off-topic)
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
Re: Section with line (slightly off-topic)
Matej Cepl wrote: > > 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 > } > why don't you use Your Sectiontitle \hrulefill with style chapter, section or any otherone and \hrulefill in tex(red) Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/