Re: Footer in Koma letter - \lfoot - \cfoot - \rfoot
On 6/23/2014 11:37 PM, Charlie wrote: In: Debian Jessie using: Lyx Version 2.0.6 I wanted to put a horizontal line and beneath it a custom footer, that has the three elements: \lfoot - \cfoot - \rfoot This is what I use for my header/footer construction in the preamble \usepackage{graphics} \usepackage{fancyhdr} \lhead{\resizebox{0.44in}{!}{\includegraphics{A_Logo.jpg}}} \chead{Your Name, town, USA, 484-xxx-} \rhead{\resizebox{0.44in}{!}{\includegraphics{B_Logo.jpg}}} \lfoot{Company, Inc. - Proprietary and Confidential} \cfoot{} \rfoot{\thepage} \let\oldmaketitle=\maketitle \def\maketitle{\oldmaketitle\thispagestyle{fancy}} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt}
Re: Footer in Koma letter - \lfoot - \cfoot - \rfoot
On Tue, 24 Jun 2014 07:49:22 -0400 Ross Reyes philip_...@yahoo.com wrote: On 6/23/2014 11:37 PM, Charlie wrote: In: Debian Jessie using: Lyx Version 2.0.6 I wanted to put a horizontal line and beneath it a custom footer, that has the three elements: \lfoot - \cfoot - \rfoot This is what I use for my header/footer construction in the preamble \usepackage{graphics} \usepackage{fancyhdr} \lhead{\resizebox{0.44in}{!}{\includegraphics{A_Logo.jpg}}} \chead{Your Name, town, USA, 484-xxx-} \rhead{\resizebox{0.44in}{!}{\includegraphics{B_Logo.jpg}}} \lfoot{Company, Inc. - Proprietary and Confidential} \cfoot{} \rfoot{\thepage} \let\oldmaketitle=\maketitle \def\maketitle{\oldmaketitle\thispagestyle{fancy}} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt} Thanks Ross. I have the header covered and the rest of the text doesn't do anything, though left the text in the \lfoot and added text into the \cfoot and the \rfoot. There was no output at all. I think that would work in an article template but not in the letter one. I actually tried several variations of this and came up blank or received error messages from some attempts. Thank you. Charlie -- Registered Linux User:- 329524 *** The keeping of bees is like the direction of sunbeams. Henry David Thoreau *** Debian GNU/Linux - just the best way to create magic -
Re: Footer in Koma letter - \lfoot - \cfoot - \rfoot
Le 24/06/2014 05:37, Charlie a écrit : In: Debian Jessie using: Lyx Version 2.0.6 I wanted to put a horizontal line and beneath it a custom footer, that has the three elements: \lfoot - \cfoot - \rfoot So that I can place three different names and address details onto the first page of the document. Hi Charlie, Which version of KomaScript are you using? On a recent version of the user's guide (scrguien.pdf dated 2012-05-15.) , there is an example (at the end of section 4.10, page 178) of a first page footer with 2 columns (left and right). It won't be very difficult to add a center column. -- Jean-Marie
Re: Footer in Koma letter - \lfoot - \cfoot - \rfoot
Le 24/06/2014 16:20, Jean-Marie Pacquet a écrit : [...] It won't be very difficult to add a center column. If you have a 2.9x version of KomaScript (like me) the following modified example will do what you want. If your version is 3.x you should replace the first line \firstfoot{% with \setkomavar{firstfoot}{%. All this has to be inserted in your .lco parameter file. % Define a new letter foot \firstfoot{% \parbox[t]{\textwidth}{\footnotesize \rule{\linewidth}{2pt} \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{Partners:}\\ Jim Smith\\ Russ Mayer \end{tabular}% \hfill \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{Banks:}\\ Citigroup\\ Deutsche Bank \end{tabular}% \hfill \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{Manager:}\\ Jane Fonda\\[1ex] \multicolumn{1}{@{}l@{}}{Court Of Jurisdiction:}\\ Great Plains \end{tabular}% \ifkomavarempty{frombank}{}{% \hfill \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{\usekomavar*{frombank}:}\\ \usekomavar{frombank} \end{tabular}% }% }% } Cheers -- Jean-Marie
Re: Footer in Koma letter - \lfoot - \cfoot - \rfoot
On Tue, 24 Jun 2014 21:29:59 +0200 Jean-Marie Pacquet j...@pacquet.net wrote: Le 24/06/2014 16:20, Jean-Marie Pacquet a écrit : [...] It won't be very difficult to add a center column. If you have a 2.9x version of KomaScript (like me) the following modified example will do what you want. If your version is 3.x you should replace the first line \firstfoot{% with \setkomavar{firstfoot}{%. All this has to be inserted in your .lco parameter file. % Define a new letter foot \firstfoot{% \parbox[t]{\textwidth}{\footnotesize \rule{\linewidth}{2pt} \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{Partners:}\\ Jim Smith\\ Russ Mayer \end{tabular}% \hfill \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{Banks:}\\ Citigroup\\ Deutsche Bank \end{tabular}% \hfill \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{Manager:}\\ Jane Fonda\\[1ex] \multicolumn{1}{@{}l@{}}{Court Of Jurisdiction:}\\ Great Plains \end{tabular}% \ifkomavarempty{frombank}{}{% \hfill \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{\usekomavar*{frombank}:}\\ \usekomavar{frombank} \end{tabular}% }% }% } Cheers Thank you Jean-Marie, The first example you pointed me to on page 178 works, and I was working on tweaking it, and then I saw you had sent this email, which works perfectly. I feel like such an idiot. My only excuse is that I had looked on the net and through other documentation that I didn't fine that reference in the scrguien.pdf. It's not unusual for me to go the hard way first. I did look through the scrguien.pdf that you have directed me to in the past and I've got in my LyX information file, but maybe I was already overloaded with footnote information? I really have no excuse. Anyway, as ever, and as previously thank you for your help and taking the time to create the result. It's much appreciated and works a treat. Thank you once again. Stay well, Charlie -- Registered Linux User:- 329524 *** The smallest seed of faith is better than the largest fruit of happiness. .Henry David Thoreau *** Debian GNU/Linux - just the best way to create magic -
Re: Footer in Koma letter - \lfoot - \cfoot - \rfoot
On 6/23/2014 11:37 PM, Charlie wrote: In: Debian Jessie using: Lyx Version 2.0.6 I wanted to put a horizontal line and beneath it a custom footer, that has the three elements: \lfoot - \cfoot - \rfoot This is what I use for my header/footer construction in the preamble \usepackage{graphics} \usepackage{fancyhdr} \lhead{\resizebox{0.44in}{!}{\includegraphics{A_Logo.jpg}}} \chead{Your Name, town, USA, 484-xxx-} \rhead{\resizebox{0.44in}{!}{\includegraphics{B_Logo.jpg}}} \lfoot{Company, Inc. - Proprietary and Confidential} \cfoot{} \rfoot{\thepage} \let\oldmaketitle=\maketitle \def\maketitle{\oldmaketitle\thispagestyle{fancy}} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt}
Re: Footer in Koma letter - \lfoot - \cfoot - \rfoot
On Tue, 24 Jun 2014 07:49:22 -0400 Ross Reyes philip_...@yahoo.com wrote: On 6/23/2014 11:37 PM, Charlie wrote: In: Debian Jessie using: Lyx Version 2.0.6 I wanted to put a horizontal line and beneath it a custom footer, that has the three elements: \lfoot - \cfoot - \rfoot This is what I use for my header/footer construction in the preamble \usepackage{graphics} \usepackage{fancyhdr} \lhead{\resizebox{0.44in}{!}{\includegraphics{A_Logo.jpg}}} \chead{Your Name, town, USA, 484-xxx-} \rhead{\resizebox{0.44in}{!}{\includegraphics{B_Logo.jpg}}} \lfoot{Company, Inc. - Proprietary and Confidential} \cfoot{} \rfoot{\thepage} \let\oldmaketitle=\maketitle \def\maketitle{\oldmaketitle\thispagestyle{fancy}} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt} Thanks Ross. I have the header covered and the rest of the text doesn't do anything, though left the text in the \lfoot and added text into the \cfoot and the \rfoot. There was no output at all. I think that would work in an article template but not in the letter one. I actually tried several variations of this and came up blank or received error messages from some attempts. Thank you. Charlie -- Registered Linux User:- 329524 *** The keeping of bees is like the direction of sunbeams. Henry David Thoreau *** Debian GNU/Linux - just the best way to create magic -
Re: Footer in Koma letter - \lfoot - \cfoot - \rfoot
Le 24/06/2014 05:37, Charlie a écrit : In: Debian Jessie using: Lyx Version 2.0.6 I wanted to put a horizontal line and beneath it a custom footer, that has the three elements: \lfoot - \cfoot - \rfoot So that I can place three different names and address details onto the first page of the document. Hi Charlie, Which version of KomaScript are you using? On a recent version of the user's guide (scrguien.pdf dated 2012-05-15.) , there is an example (at the end of section 4.10, page 178) of a first page footer with 2 columns (left and right). It won't be very difficult to add a center column. -- Jean-Marie
Re: Footer in Koma letter - \lfoot - \cfoot - \rfoot
Le 24/06/2014 16:20, Jean-Marie Pacquet a écrit : [...] It won't be very difficult to add a center column. If you have a 2.9x version of KomaScript (like me) the following modified example will do what you want. If your version is 3.x you should replace the first line \firstfoot{% with \setkomavar{firstfoot}{%. All this has to be inserted in your .lco parameter file. % Define a new letter foot \firstfoot{% \parbox[t]{\textwidth}{\footnotesize \rule{\linewidth}{2pt} \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{Partners:}\\ Jim Smith\\ Russ Mayer \end{tabular}% \hfill \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{Banks:}\\ Citigroup\\ Deutsche Bank \end{tabular}% \hfill \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{Manager:}\\ Jane Fonda\\[1ex] \multicolumn{1}{@{}l@{}}{Court Of Jurisdiction:}\\ Great Plains \end{tabular}% \ifkomavarempty{frombank}{}{% \hfill \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{\usekomavar*{frombank}:}\\ \usekomavar{frombank} \end{tabular}% }% }% } Cheers -- Jean-Marie
Re: Footer in Koma letter - \lfoot - \cfoot - \rfoot
On Tue, 24 Jun 2014 21:29:59 +0200 Jean-Marie Pacquet j...@pacquet.net wrote: Le 24/06/2014 16:20, Jean-Marie Pacquet a écrit : [...] It won't be very difficult to add a center column. If you have a 2.9x version of KomaScript (like me) the following modified example will do what you want. If your version is 3.x you should replace the first line \firstfoot{% with \setkomavar{firstfoot}{%. All this has to be inserted in your .lco parameter file. % Define a new letter foot \firstfoot{% \parbox[t]{\textwidth}{\footnotesize \rule{\linewidth}{2pt} \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{Partners:}\\ Jim Smith\\ Russ Mayer \end{tabular}% \hfill \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{Banks:}\\ Citigroup\\ Deutsche Bank \end{tabular}% \hfill \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{Manager:}\\ Jane Fonda\\[1ex] \multicolumn{1}{@{}l@{}}{Court Of Jurisdiction:}\\ Great Plains \end{tabular}% \ifkomavarempty{frombank}{}{% \hfill \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{\usekomavar*{frombank}:}\\ \usekomavar{frombank} \end{tabular}% }% }% } Cheers Thank you Jean-Marie, The first example you pointed me to on page 178 works, and I was working on tweaking it, and then I saw you had sent this email, which works perfectly. I feel like such an idiot. My only excuse is that I had looked on the net and through other documentation that I didn't fine that reference in the scrguien.pdf. It's not unusual for me to go the hard way first. I did look through the scrguien.pdf that you have directed me to in the past and I've got in my LyX information file, but maybe I was already overloaded with footnote information? I really have no excuse. Anyway, as ever, and as previously thank you for your help and taking the time to create the result. It's much appreciated and works a treat. Thank you once again. Stay well, Charlie -- Registered Linux User:- 329524 *** The smallest seed of faith is better than the largest fruit of happiness. .Henry David Thoreau *** Debian GNU/Linux - just the best way to create magic -
Re: Footer in Koma letter - \lfoot - \cfoot - \rfoot
On 6/23/2014 11:37 PM, Charlie wrote: In: Debian Jessie using: Lyx Version 2.0.6 I wanted to put a horizontal line and beneath it a custom footer, that has the three elements: \lfoot - \cfoot - \rfoot This is what I use for my header/footer construction in the preamble \usepackage{graphics} \usepackage{fancyhdr} \lhead{\resizebox{0.44in}{!}{\includegraphics{A_Logo.jpg}}} \chead{Your Name, town, USA, 484-xxx-} \rhead{\resizebox{0.44in}{!}{\includegraphics{B_Logo.jpg}}} \lfoot{Company, Inc. - Proprietary and Confidential} \cfoot{} \rfoot{\thepage} \let\oldmaketitle=\maketitle \def\maketitle{\oldmaketitle\thispagestyle{fancy}} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt}
Re: Footer in Koma letter - \lfoot - \cfoot - \rfoot
On Tue, 24 Jun 2014 07:49:22 -0400 Ross Reyeswrote: > > On 6/23/2014 11:37 PM, Charlie wrote: > > In: > > Debian Jessie > > using: > > Lyx Version 2.0.6 > > > > I wanted to put a horizontal line and beneath it a custom footer, > > that has the three elements: > > > > \lfoot - \cfoot - \rfoot > > This is what I use for my header/footer construction in the preamble > > \usepackage{graphics} > \usepackage{fancyhdr} > \lhead{\resizebox{0.44in}{!}{\includegraphics{A_Logo.jpg}}} > \chead{Your Name, town, USA, 484-xxx-} > \rhead{\resizebox{0.44in}{!}{\includegraphics{B_Logo.jpg}}} > \lfoot{Company, Inc. - Proprietary and Confidential} > \cfoot{} > \rfoot{\thepage} > \let\oldmaketitle=\maketitle > \def\maketitle{\oldmaketitle\thispagestyle{fancy}} > \renewcommand{\headrulewidth}{0.4pt} > \renewcommand{\footrulewidth}{0.4pt} > Thanks Ross. I have the header covered and the rest of the text doesn't do anything, though left the text in the \lfoot and added text into the \cfoot and the \rfoot. There was no output at all. I think that would work in an article template but not in the letter one. I actually tried several variations of this and came up blank or received error messages from some attempts. Thank you. Charlie -- Registered Linux User:- 329524 *** The keeping of bees is like the direction of sunbeams. Henry David Thoreau *** Debian GNU/Linux - just the best way to create magic -
Re: Footer in Koma letter - \lfoot - \cfoot - \rfoot
Le 24/06/2014 05:37, Charlie a écrit : In: Debian Jessie using: Lyx Version 2.0.6 I wanted to put a horizontal line and beneath it a custom footer, that has the three elements: \lfoot - \cfoot - \rfoot So that I can place three different names and address details onto the first page of the document. Hi Charlie, Which version of KomaScript are you using? On a recent version of the user's guide (scrguien.pdf dated 2012-05-15.) , there is an example (at the end of section 4.10, page 178) of a first page footer with 2 columns (left and right). It won't be very difficult to add a center column. -- Jean-Marie
Re: Footer in Koma letter - \lfoot - \cfoot - \rfoot
Le 24/06/2014 16:20, Jean-Marie Pacquet a écrit : [...] It won't be very difficult to add a center column. If you have a 2.9x version of KomaScript (like me) the following modified example will do what you want. If your version is > 3.x you should replace the first line "\firstfoot{%" with "\setkomavar{firstfoot}{%". All this has to be inserted in your .lco parameter file. % Define a new letter foot \firstfoot{% \parbox[t]{\textwidth}{\footnotesize \rule{\linewidth}{2pt} \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{Partners:}\\ Jim Smith\\ Russ Mayer \end{tabular}% \hfill \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{Banks:}\\ Citigroup\\ Deutsche Bank \end{tabular}% \hfill \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{Manager:}\\ Jane Fonda\\[1ex] \multicolumn{1}{@{}l@{}}{Court Of Jurisdiction:}\\ Great Plains \end{tabular}% \ifkomavarempty{frombank}{}{% \hfill \begin{tabular}[t]{l@{}}% \multicolumn{1}{@{}l@{}}{\usekomavar*{frombank}:}\\ \usekomavar{frombank} \end{tabular}% }% }% } Cheers -- Jean-Marie
Re: Footer in Koma letter - \lfoot - \cfoot - \rfoot
On Tue, 24 Jun 2014 21:29:59 +0200 Jean-Marie Pacquetwrote: > Le 24/06/2014 16:20, Jean-Marie Pacquet a écrit : > > [...] It won't be very difficult to add a center column. > > > If you have a 2.9x version of KomaScript (like me) the following > modified example will do what you want. If your version is > 3.x you > should replace the first line "\firstfoot{%" with > "\setkomavar{firstfoot}{%". > All this has to be inserted in your .lco parameter file. > > > % Define a new letter foot > > \firstfoot{% >\parbox[t]{\textwidth}{\footnotesize > \rule{\linewidth}{2pt} > \begin{tabular}[t]{l@{}}% >\multicolumn{1}{@{}l@{}}{Partners:}\\ >Jim Smith\\ >Russ Mayer > \end{tabular}% > \hfill > \begin{tabular}[t]{l@{}}% >\multicolumn{1}{@{}l@{}}{Banks:}\\ >Citigroup\\ >Deutsche Bank > \end{tabular}% > \hfill > \begin{tabular}[t]{l@{}}% >\multicolumn{1}{@{}l@{}}{Manager:}\\ >Jane Fonda\\[1ex] >\multicolumn{1}{@{}l@{}}{Court Of Jurisdiction:}\\ >Great Plains > \end{tabular}% > \ifkomavarempty{frombank}{}{% >\hfill >\begin{tabular}[t]{l@{}}% > \multicolumn{1}{@{}l@{}}{\usekomavar*{frombank}:}\\ > \usekomavar{frombank} >\end{tabular}% > }% >}% > } > > Cheers Thank you Jean-Marie, The first example you pointed me to on page 178 works, and I was working on tweaking it, and then I saw you had sent this email, which works perfectly. I feel like such an idiot. My only excuse is that I had looked on the net and through other documentation that I didn't fine that reference in the scrguien.pdf. It's not unusual for me to go the hard way first. I did look through the scrguien.pdf that you have directed me to in the past and I've got in my LyX information file, but maybe I was already overloaded with footnote information? I really have no excuse. Anyway, as ever, and as previously thank you for your help and taking the time to create the result. It's much appreciated and works a treat. Thank you once again. Stay well, Charlie -- Registered Linux User:- 329524 *** The smallest seed of faith is better than the largest fruit of happiness. .Henry David Thoreau *** Debian GNU/Linux - just the best way to create magic -