Re: Business letter (on letterhead) template for LyX - simple _working_ minipage solution

2006-01-23 Thread Herbert Voss
Helge Hafting wrote: Herbert Voss wrote: Helge Hafting wrote: Latex does not seem to offer a proper way of aligning boxes by the box top, but there is a simple workaround. TeX offers everything ... A minipage is nothing else than a box and it is aligned in the same way as two characters a

Re: Business letter (on letterhead) template for LyX - simple _working_ minipage solution

2006-01-23 Thread Helge Hafting
Herbert Voss wrote: Helge Hafting wrote: Latex does not seem to offer a proper way of aligning boxes by the box top, but there is a simple workaround. TeX offers everything ... A minipage is nothing else than a box and it is aligned in the same way as two characters are aligned. That offe

Re: Business letter (on letterhead) template for LyX - simple _working_ minipage solution

2006-01-21 Thread Andre Poenitz
On Fri, Jan 20, 2006 at 03:49:44PM +0100, Herbert Voss wrote: > Helge Hafting wrote: > > >Latex does not seem to offer a proper way of aligning boxes by the > >box top, but there is a simple workaround. > > TeX offers everything ... Except undoing paragraph breaks. SCNR. Andre'

Re: Business letter (on letterhead) template for LyX - simple _working_ minipage solution

2006-01-20 Thread Herbert Voss
Kevin Pfeiffer wrote: Herbert Voss writes: Helge Hafting wrote: Latex does not seem to offer a proper way of aligning boxes by the box top, but there is a simple workaround. TeX offers everything ... Look-ahead beyond the paragraph? Okay one can explicitly add an additional latex run to

Re: Business letter (on letterhead) template for LyX - simple _working_ minipage solution

2006-01-20 Thread Kevin Pfeiffer
Herbert Voss writes: > Helge Hafting wrote: > > Latex does not seem to offer a proper way of aligning boxes by the > > box top, but there is a simple workaround. > > TeX offers everything ... Look-ahead beyond the paragraph? Okay one can explicitly add an additional latex run to determine where a

Re: Business letter (on letterhead) template for LyX - simple _working_ minipage solution

2006-01-20 Thread Herbert Voss
Helge Hafting wrote: Latex does not seem to offer a proper way of aligning boxes by the box top, but there is a simple workaround. TeX offers everything ... A minipage is nothing else than a box and it is aligned in the same way as two characters are aligned. Herbert

Minipage idea for Lyx 1.5 Was Re: Business letter (on letterhead) template for LyX

2006-01-20 Thread Helge Hafting
john wrote: Another suggestion from Ross Moore works brilliantly. Instead of a protected blank in the 1st line of each minipage, instead put a TeX \null. \null is a macro for \hbox{} which creates an empty box of zero dimensions. This effectively forces the minipages to top align with the very

Re: Business letter (on letterhead) template for LyX - simple _working_ minipage solution

2006-01-19 Thread john
Another suggestion from Ross Moore works brilliantly. Instead of a protected blank in the 1st line of each minipage, instead put a TeX \null. \null is a macro for \hbox{} which creates an empty box of zero dimensions. This effectively forces the minipages to top align with the very top of the min

Re: Business letter (on letterhead) template for LyX - simple _working_ minipage solution

2006-01-18 Thread Ross Moore
Hi John, On 19/01/2006, at 5:14 PM, john wrote: Aha! I've got it working - Helge minipages + Ross Moore \html stuff: Here's the solution: 1. Put \htmlonly latex tabular statement before the 1st minipage 2. replace the LyX hfill with a conditional \latexhtml{\hfill}{&} 3. Follow the 2nd minipa

Re: Business letter (on letterhead) template for LyX - simple _working_ minipage solution

2006-01-18 Thread john
Aha! I've got it working - Helge minipages + Ross Moore \html stuff: Here's the solution: 1. Put \htmlonly latex tabular statement before the 1st minipage 2. replace the LyX hfill with a conditional \latexhtml{\hfill}{&} 3. Follow the 2nd minipage with an \htmlonly \end{tabular} Of course you h

Re: Business letter (on letterhead) template for LyX - simple _working_ minipage solution

2006-01-18 Thread john
Latex2html will not place 2 minipages side-by-side. I got the official response from Ross Moore on the latex2html list. He said that he did not bother to program a lookahead to see how to stack minipages. In effect you have to write htmlonly code to force a tabular environment around the minipages

Re: Business letter (on letterhead) template for LyX - simple _working_ minipage solution

2006-01-18 Thread john
On Wed, 2006-01-18 at 10:50 +0100, Helge Hafting wrote: > john wrote: > > >On Tue, 2006-01-17 at 12:18 -0800, Rich Shepard wrote: > > > > > >>On Wed, 18 Jan 2006, John O'Gorman wrote: > >> > >> > >> > >>>I have 6 books on Tex/LaTeX but not that one! Can you give us a brief > >>>pointer to ho

Re: Business letter (on letterhead) template for LyX - simple _working_ minipage solution

2006-01-18 Thread Helge Hafting
john wrote: On Tue, 2006-01-17 at 12:18 -0800, Rich Shepard wrote: On Wed, 18 Jan 2006, John O'Gorman wrote: I have 6 books on Tex/LaTeX but not that one! Can you give us a brief pointer to how to fix it (or is it not fixable)? John, Yes, it's fixable. Let me paraphrase fro

Re: Business letter (on letterhead) template for LyX

2006-01-17 Thread Rich Shepard
On Wed, 18 Jan 2006, john wrote: Just a comment though. Helge was talking about using 2 minipages side-by-side (Which Kevin and I have found to not top-align properly).Your excerpt features 2 parbox structures side-by-side. Is the principle the same? If I read the book correctly, yes. I'v

Re: Business letter (on letterhead) template for LyX

2006-01-17 Thread john
On Tue, 2006-01-17 at 12:18 -0800, Rich Shepard wrote: > On Wed, 18 Jan 2006, John O'Gorman wrote: > > > I have 6 books on Tex/LaTeX but not that one! Can you give us a brief > > pointer to how to fix it (or is it not fixable)? > > John, > >Yes, it's fixable. Let me paraphrase from the book.

Re: Business letter (on letterhead) template for LyX

2006-01-17 Thread Rich Shepard
On Wed, 18 Jan 2006, John O'Gorman wrote: I have 6 books on Tex/LaTeX but not that one! Can you give us a brief pointer to how to fix it (or is it not fixable)? John, Yes, it's fixable. Let me paraphrase from the book. You want to place two parboxes of different heights side by side. The

Re: Business letter (on letterhead) template for LyX

2006-01-17 Thread Enrico Forestieri
Enrico Forestieri <[EMAIL PROTECTED]> writes: > Put these lines in the preamble: > > \leftskip=1in > \newcommand{\newmargin}[1]{\hangindent=1in\hangafter=-#1\break\leftskip=0in} > > and run latex a first time. Take note of where the pagebreak occurs. > Then insert there (in ERT) the command \new

Re: Business letter (on letterhead) template for LyX

2006-01-17 Thread John O'Gorman
On Wed, 2006-01-18 at 03:12, Rich Shepard wrote: > On Tue, 17 Jan 2006, Kevin Pfeiffer wrote: > > > This sounds good, but when I try it I get: > > > > XX > > XX > > XX > > XX > > John Hancock > > 1234 Broadway Blvd. > > > > Both are set to TOP alignm

Re: Business letter (on letterhead) template for LyX

2006-01-17 Thread Enrico Forestieri
Paul A. Rubin <[EMAIL PROTECTED]> writes: > > Hi all, > > I'm trying to concoct a LyX template to let me write letters on school > letterhead, the last task for which I still rely on WordPerfect. Having > looked at akletter, newlfm and komascript, I think komascript gives me > my best shot,

Re: Business letter (on letterhead) template for LyX

2006-01-17 Thread Stephen Harris
- Original Message - From: "Herbert Voss" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 17, 2006 8:47 AM Subject: Re: Business letter (on letterhead) template for LyX Stephen Harris wrote: I've read about widows and orphans: http://tug.org/TeXnik/mai

Re: Business letter (on letterhead) template for LyX

2006-01-17 Thread Herbert Voss
Stephen Harris wrote: I've read about widows and orphans: http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/widows Herbert

Re: Business letter (on letterhead) template for LyX

2006-01-17 Thread Stephen Harris
- Original Message - From: "Paul A. Rubin" <[EMAIL PROTECTED]> To: Sent: Monday, January 16, 2006 8:56 AM Subject: Re: Business letter (on letterhead) template for LyX Kevin Pfeiffer wrote: Paul A. Rubin writes: 1. (This is the only major issue.) Our letterhea

Re: Business letter (on letterhead) template for LyX

2006-01-17 Thread Rich Shepard
On Tue, 17 Jan 2006, Kevin Pfeiffer wrote: What is explained?? Kevin, The two minipages not being aligned at their top edges. Rich -- Richard B. Shepard, Ph.D. | Author of "Quantifying Environmental Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy

Re: Business letter (on letterhead) template for LyX

2006-01-17 Thread Kevin Pfeiffer
Rich Shepard writes: > On Tue, 17 Jan 2006, Kevin Pfeiffer wrote: [...] >This is explained in Section 5.1.4, Problems With Vertical > Placement (pp. 89-90) in Kopka and Daly, Guide to LaTeX, 4th Ed. What is explained?? I was simply trying out Helge's "easy" solution. Is there something in her

Re: Business letter (on letterhead) template for LyX

2006-01-17 Thread Rich Shepard
On Tue, 17 Jan 2006, Kevin Pfeiffer wrote: This sounds good, but when I try it I get: XX XX XX XX John Hancock 1234 Broadway Blvd. Both are set to TOP alignment; they are side-by-side, with suitable width (100pt and 25%colwidth). Kevin, This

Re: Business letter (on letterhead) template for LyX

2006-01-17 Thread john
On Tue, 2006-01-17 at 09:43 +0100, Helge Hafting wrote: > > > It is easy enough. :-) > Insert two minipages, reduce the size from 100% of line to something smaller > so they fit beside each other on the same line. Make sure they both use > "top" alignment (default). > > In the first minipage, ins

Re: Business letter (on letterhead) template for LyX

2006-01-17 Thread Kevin Pfeiffer
Helge Hafting writes: > It is easy enough. :-) > Insert two minipages, reduce the size from 100% of line to something > smaller so they fit beside each other on the same line. Make sure > they both use "top" alignment (default). This sounds good, but when I try it I get: XX XX XX XXX

Re: Business letter (on letterhead) template for LyX

2006-01-17 Thread Helge Hafting
john wrote: On Mon, 2006-01-16 at 15:16 -0800, Rich Shepard wrote: On Tue, 17 Jan 2006, John O'Gorman wrote: I am trying to put a logo at the top left of the page. Alongside the logo, I want my business name in \Huge letters. (This is mainly for the purpose of building web pages.)

Re: Business letter (on letterhead) template for LyX

2006-01-16 Thread john
Aha! I've done it! The secret was rather silly. It was in the includegraphics dialogue box. I had been supplying a width and checking the maintain aspect ratio box. Regardless of what size I set, latex2htnl was creating an tag with WIDTH=470 HEIGHT=471. Looking at Kevin's code, I noticed that he

Re: Business letter (on letterhead) template for LyX

2006-01-16 Thread john
On Tue, 2006-01-17 at 04:19 +0100, Kevin Pfeiffer wrote: > Attached is one rough suggestion (just cribbed together with some > hard-wired values and not tried in a letter template. Thanks for that. A different approach. Unfortunately, latex2html could not render it properly. The -ve vspace comm

Re: Business letter (on letterhead) template for LyX

2006-01-16 Thread Rich Shepard
On Tue, 17 Jan 2006, Kevin Pfeiffer wrote: Attached is one rough suggestion (just cribbed together with some hard-wired values and not tried in a letter template. Kevin, Very nicely done! Rich -- Richard B. Shepard, Ph.D. | Author of "Quantifying Environmental Applied Ecos

Re: Business letter (on letterhead) template for LyX

2006-01-16 Thread Kevin Pfeiffer
john writes: > In fact I have a little progress. With a bit of bodging tables within > tables I have got it how I like for DVI and PDF output. > Unfortunately latex2html now stuffs up the logo (making it too big). Attached is one rough suggestion (just cribbed together with some hard-wired values

Re: Business letter (on letterhead) template for LyX

2006-01-16 Thread john
On Mon, 2006-01-16 at 16:23 -0800, Rich Shepard wrote: >It probably _is_ easy when you know exactly how to do it. :-) I found this > approach took me less time. Yes. In fact I have a little progress. With a bit of bodging tables within tables I have got it how I like for DVI and PDF output.

Re: Business letter (on letterhead) template for LyX

2006-01-16 Thread Rich Shepard
On Tue, 17 Jan 2006, john wrote: Shrug. I had hoped it would be easy in LyX (because that's what I tell everyone!) John, It probably _is_ easy when you know exactly how to do it. :-) I found this approach took me less time. Rich -- Richard B. Shepard, Ph.D. | Author of "Qu

Re: Business letter (on letterhead) template for LyX

2006-01-16 Thread john
On Mon, 2006-01-16 at 15:16 -0800, Rich Shepard wrote: > On Tue, 17 Jan 2006, John O'Gorman wrote: > > > I am trying to put a logo at the top left of the page. Alongside the logo, > > I want my business name in \Huge letters. (This is mainly for the purpose > > of building web pages.) > > John, >

Re: Business letter (on letterhead) template for LyX

2006-01-16 Thread Rich Shepard
On Tue, 17 Jan 2006, John O'Gorman wrote: I am trying to put a logo at the top left of the page. Alongside the logo, I want my business name in \Huge letters. (This is mainly for the purpose of building web pages.) John, Something like the attached? I did this in OO.o, trimmed the page s

Re: Business letter (on letterhead) template for LyX

2006-01-16 Thread John O'Gorman
I have a similar problem but not with a letter class. I am trying to put a logo at the top left of the page. Alongside the logo, I want my business name in \Huge letters. (This is mainly for the purpose of building web pages.) The problem is that the Name is vertically centred alongside the logo.

Re: Business letter (on letterhead) template for LyX

2006-01-16 Thread Andre Poenitz
On Mon, Jan 16, 2006 at 11:11:39AM +0100, Kevin Pfeiffer wrote: > Paul A. Rubin writes: > > > 1. (This is the only major issue.) Our letterhead includes logos on > > both the left side of the paper and along the top. Dealing with the > > top is not a problem, but for the life of me I cannot find

Re: Business letter (on letterhead) template for LyX

2006-01-16 Thread Paul A. Rubin
Kevin Pfeiffer wrote: Paul A. Rubin writes: 1. (This is the only major issue.) Our letterhead includes logos on both the left side of the paper and along the top. Dealing with the top is not a problem, but for the life of me I cannot find a way in komascript to make the left margin two inche

Re: Business letter (on letterhead) template for LyX

2006-01-16 Thread Kevin Pfeiffer
Paul A. Rubin writes: > 1. (This is the only major issue.) Our letterhead includes logos on > both the left side of the paper and along the top. Dealing with the > top is not a problem, but for the life of me I cannot find a way in > komascript to make the left margin two inches on the first pag

Re: Business letter (on letterhead) template for LyX

2006-01-15 Thread Kevin Pfeiffer
From comp.text.tex (1996): Eric Fruits ([EMAIL PROTECTED]) (comp.text.tex <[EMAIL PROTECTED]>) wrote: : I have letterhead with all the important info (logo, etc.) on the left : margin, instead of the top or bottom of the page. Consequently, I'd : like to hack the letter class in some way so t

Re: Business letter (on letterhead) template for LyX

2006-01-15 Thread Helge Hafting
On Sun, Jan 15, 2006 at 07:13:53PM +0100, Kevin Pfeiffer wrote: > > (I also think that one probably does not need the ifthenelse package for > this; LaTex/TeX must have some basic logic controls built in, I think.) Tex have it. The ifthenelse package isn't magic - like every other package it co

Re: Business letter (on letterhead) template for LyX

2006-01-15 Thread Kevin Pfeiffer
Paul A. Rubin writes: > Alas, that would force me to write the letter, finalize the content, > see where the first page ended and manually adjust the remaining text > to the second "letter". That would be about the same as using a hand calculator every time the computer needs to solve a math equa

Re: Business letter (on letterhead) template for LyX

2006-01-15 Thread Rich Shepard
On Sun, 15 Jan 2006, Paul A. Rubin wrote: I noticed the reference to fuzzy logic in your sig. I take it you do a lot of work for the government? :-) As I recall, fuzzy logic is built on fuzzy truth: true; false; sort of true; true enough to fool the voters; ... /Paul, The last part of your

Re: Business letter (on letterhead) template for LyX

2006-01-15 Thread Paul A. Rubin
Martin A. Hansen wrote: it is possible to tweak some of the distances between the blocks in a .lco file for komascript letter v2. pay attention to page 155 ff of srcguien. martin Thanks, Martin. The same tweaks can be done in the document preamble, and they do let me adjust the position of

Re: Business letter (on letterhead) template for LyX

2006-01-15 Thread Paul A. Rubin
Stephen Harris wrote: I was reading in Extended.lyx and Juergen mentions scrlttr2 as quite configurable for writing letters with Koma-script. I see "logo" mentioned in Chapter 6 of the document below (in English). http://www.math.upenn.edu/tex_docs/latex/koma-script/scrguien.pdf The scrlttr

Re: Business letter (on letterhead) template for LyX

2006-01-15 Thread Paul A. Rubin
Rich Shepard wrote: Letters are about the only writing I do with OO.o; everything else is on LyX. I, too, would like a business letter template (full block mode) with my logo/letterhead on the first page and the recipient's name, the date, and current page number on subsequent pages. If y

Re: Business letter (on letterhead) template for LyX

2006-01-15 Thread Martin A. Hansen
ot; <[EMAIL PROTECTED]> > To: > Sent: Saturday, January 14, 2006 4:23 PM > Subject: Business letter (on letterhead) template for LyX > > > > Hi all, > > > > I'm trying to concoct a LyX template to let me write letters on school > > letterhead, the l

Re: Business letter (on letterhead) template for LyX

2006-01-15 Thread Stephen Harris
- Original Message - From: "Paul A. Rubin" <[EMAIL PROTECTED]> To: Sent: Saturday, January 14, 2006 4:23 PM Subject: Business letter (on letterhead) template for LyX Hi all, I'm trying to concoct a LyX template to let me write letters on school letterhead, th

Re: Business letter (on letterhead) template for LyX

2006-01-14 Thread Rich Shepard
On Sat, 14 Jan 2006, Paul A. Rubin wrote: I'm trying to concoct a LyX template to let me write letters on school letterhead, the last task for which I still rely on WordPerfect. Having looked at akletter, newlfm and komascript, I think komascript gives me my best shot, and I have a template that

Business letter (on letterhead) template for LyX

2006-01-14 Thread Paul A. Rubin
Hi all, I'm trying to concoct a LyX template to let me write letters on school letterhead, the last task for which I still rely on WordPerfect. Having looked at akletter, newlfm and komascript, I think komascript gives me my best shot, and I have a template that just falls short of what I ne