Re: Footer in Koma letter - \lfoot - \cfoot - \rfoot
On Tue, 24 Jun 2014 21:29:59 +0200 Jean-Marie Pacquet 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
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
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
On Tue, 24 Jun 2014 07:49:22 -0400 Ross Reyes 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
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}
Footer in Koma letter - \lfoot - \cfoot - \rfoot
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. I have googled and I have read custom header and footer documents as well as .pdf files that tell me a great deal about headers and footers and even used a footer file that was from the wrong KOMA script or something and was chastised for attempting to use it by LyX. Looked through my DIN.lco and every place possible where tweak might be made. I never realised there were so many LaTeX sites that had something about footnotes on them. After futie attempts have had a million error messages and openings that conflicted when I used "fancy" instead of default, and on and on. Tried longtable and multirow, footnotesize and just about everything that was suggested in all my readings with different parameters and I have given it best. So I am here again. The one thing I haven't done, is create my own template to do what I want rather than use the letter template. In the past I used a template I made myself, but it was just created from a KOMA article template, and I think when I discovered the letter template I liked it better? But can only imagine that's why I changed. Why else? Anyway it's done my head in, and I realise it's laziness in a way because eventually, maybe a year from now I'll read something that puts it all together and I'll be able to do it. Or maybe never and accept living without it. But if someone can help me in this it would be truly great. It's just stubbornness that makes me want to use the template like this, and a certain amount of ire that I can't find where this type of footnote for a letter, is documented. Because it's a very popular way to create a letter. With something like manager, assistant manager and office address, or president, secretary and treasurer, or similar and their contact details in the footer of a letter? It's probably somewhere I have just not thought to look, or under a heading I haven' associated with a letter. Thanks in advance, Charlie -- Registered Linux User:- 329524 *** Whether the flower looks better in the nosegay than in the meadow where it grew and we had to wet our feet to get it! Is the scholastic air any advantage? ..Henry David Thoreau *** Debian GNU/Linux - just the best way to create magic -