Re: Cleaning up (was multicols and tabbing)

2001-03-25 Thread Herbert Voss

Christopher Jones wrote:
 
 Works like a charm. Thanks again.
 
 So here is some minor stuff left to address with this project of mine:
 
 First, I still have the problem I had before, with the \fbox and \parbox stuff.
 
 Second, I am printing this on USLegal, with .25in margins all around, and .50in
 columnsep (3 cols). It prints out just like I expect it, but the PostScript
 output is screwy. (1) Nothing past the second column appears, and (2) though it
 is a two pager, only one page shows up (though both of them print). None of
 this happens when I make a custom size, increasing the USLegal width by one
 inch in Landscape, nor does it happen when I use letter size, in any
 orientation, or Legal in portrait orientation. So. The problem is exclusively
 with USLegal, landscape orientation. What is the problem?

can you give a short lyx-example file for that behaviour?

Herbert


-- 
http://perce.de/lyx/



Re: Cleaning up (was multicols and tabbing)

2001-03-25 Thread Christopher Jones

Well... I guess I got it figured out afterall. I figured out the \parbox stuff,
and I figured out that if I produce the document in Legal/Landscape and then
put gv into portrait, I can see the document properly (except that it's
sideways). I got both pages to show up... I am not sure what exactly I did to
fix that. Anyway, here's the example file just for the heck of it. Maybe you
know why I have to put gv into portrait in order to see the whole thing.

On Sun, 25 Mar 2001, you wrote:
 Christopher Jones wrote:
  
  Works like a charm. Thanks again.
  
  So here is some minor stuff left to address with this project of mine:
  
  First, I still have the problem I had before, with the \fbox and \parbox stuff.
  
  Second, I am printing this on USLegal, with .25in margins all around, and .50in
  columnsep (3 cols). It prints out just like I expect it, but the PostScript
  output is screwy. (1) Nothing past the second column appears, and (2) though it
  is a two pager, only one page shows up (though both of them print). None of
  this happens when I make a custom size, increasing the USLegal width by one
  inch in Landscape, nor does it happen when I use letter size, in any
  orientation, or Legal in portrait orientation. So. The problem is exclusively
  with USLegal, landscape orientation. What is the problem?
 
 can you give a short lyx-example file for that behaviour?
 
 Herbert
 
 
 -- 
 http://perce.de/lyx/

#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
%%--Column Stuff--%%

\usepackage{multicol}
\setlength{\ParIindent}{1cm}
\setlength{\ParIIindent}{1.25cm}

\setlength{\columnsep}{0.5in}
\setlength{\columnseprule}{0.5pt}
\raggedcolumns

%%--The Headers and Footers--%%

\usepackage{fancyhdr}
\renewcommand{\headrulewidth}{0pt}
\cfoot{}
\rfoot{}

%%--Other Stuff--%

\setlength{\fboxsep}{.025\columnwidth}
\end_preamble
\language english
\inputencoding latin1
\fontscheme times
\graphics default
\paperfontsize 11
\spacing single 
\papersize executivepaper
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\paperorientation landscape
\paperwidth 14in
\paperheight 8.5in
\leftmargin 0.25in
\topmargin 0.25in
\rightmargin 0.25in
\bottommargin 0.25in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Standard


\latex latex 

\backslash 
lfoot{
\size scriptsize 
* Standing
\size default 
}
\layout Standard


\latex latex 

\backslash 
begin{multicols*}{3}
\layout Standard

This is page one.
\layout Standard

First column begins here.
\layout Standard
\align left 
blahblahblahblah
\layout Standard

blahblahblahblah
\layout Standard

blahblahblahblah
\layout Standard

blahblahblahblah
\layout Standard

blahblahblahblah 
\layout Standard

blahblahblahblah 
\layout Standard

blahblahblahblah
\layout Standard

blahblahblahblah
\layout Standard

blahblahblahblah
\layout Standard


\latex latex 

\backslash 
columnbreak
\layout Standard

Second column begins here.
\layout Standard

blahblahblahblah
\layout Standard

This is a paragraph.
 blahb lahblahblah blahblahblahb lah blahb lahblahblah blah blahblahblah
 bl ahblahbl ahblah blahblahbl ahblah b ahblah blah blah blahblah blah blah
 blahbla hblahblah blahblah blahb lah 
\layout myParII

Q.1 blahblahblahblah blahblahblahblah blahblahblahblah blahblahblahblah 
\layout myParII

A.
 blahblahblahblah blahblahblahblah blahblahblahblah blahblahblahblah 
\layout myParII

Q.2 blahblahblahblah blahblahblahblah blahblahblahblah blahblahblahblah 
\layout myParII

A.
 blahblahblahblah blahblahblahblah blahblahblahblah blahblahblahblah 
\layout Standard


\latex latex 

\backslash 
framebox{
\backslash 
parbox[c]{.95
\backslash 
columnwidth}{
\latex default 
blah bla hblah bl ah
\latex latex 
 
\latex default 
blahbla hbl ahb lah
\latex latex 
 
\latex default 
blahbla hbl ahblah
\latex latex 
 
\latex default 
bla hblah blah blah
\latex latex 
 
\latex default 
bl ahblahb lah blah
\latex latex 
 
\latex default 
bla hblah blahb lah
\latex latex 
 
\latex default 
bl ahb lah blahblah
\latex latex 
 
\latex default 
blahblah bla hb lah
\latex latex 
 
\latex default 
bla hb lahbl ah blah
\latex latex 
 
\latex default 
blahblah bla hblah
\latex latex 
 
\latex default 
blahb lah bla hblah
\latex latex 
}}
\layout Standard

This is another paragraph.
 Obviously, I figured out about the frameboxes.
 So nevermind about that part.
\layout Standard


\latex latex 

\backslash 
columnbreak
\layout Standard

Third column begins here.
\layout Standard

This is a standard paragraph.
 blah blahbl a hblah b lahbla hblahb lah bla blahblahblah bla hblahblahblah
 blah bla hblahblah blahblah blahbl ah blahblahb lahblah blahbl ahbla hblah
 blah blahbl ahblah blahblahb lahblah blahblahblahblah blahbla hblahbl ah
 blah blahblahblah bla hblahblahbl ah bla hbla hblah blah blahbla hbla hblah
 blahblahblahblah
\layout 

Re: Cleaning up (was multicols and tabbing)

2001-03-25 Thread Herbert Voss

Christopher Jones wrote:
 
 Works like a charm. Thanks again.
 
 So here is some minor stuff left to address with this project of mine:
 
 First, I still have the problem I had before, with the \fbox and \parbox stuff.
 
 Second, I am printing this on USLegal, with .25in margins all around, and .50in
 columnsep (3 cols). It prints out just like I expect it, but the PostScript
 output is screwy. (1) Nothing past the second column appears, and (2) though it
 is a two pager, only one page shows up (though both of them print). None of
 this happens when I make a custom size, increasing the USLegal width by one
 inch in Landscape, nor does it happen when I use letter size, in any
 orientation, or Legal in portrait orientation. So. The problem is exclusively
 with USLegal, landscape orientation. What is the problem?

can you give a short lyx-example file for that behaviour?

Herbert


-- 
http://perce.de/lyx/



Re: Cleaning up (was multicols and tabbing)

2001-03-25 Thread Christopher Jones

Well... I guess I got it figured out afterall. I figured out the \parbox stuff,
and I figured out that if I produce the document in Legal/Landscape and then
put gv into portrait, I can see the document properly (except that it's
sideways). I got both pages to show up... I am not sure what exactly I did to
fix that. Anyway, here's the example file just for the heck of it. Maybe you
know why I have to put gv into portrait in order to see the whole thing.

On Sun, 25 Mar 2001, you wrote:
 Christopher Jones wrote:
  
  Works like a charm. Thanks again.
  
  So here is some minor stuff left to address with this project of mine:
  
  First, I still have the problem I had before, with the \fbox and \parbox stuff.
  
  Second, I am printing this on USLegal, with .25in margins all around, and .50in
  columnsep (3 cols). It prints out just like I expect it, but the PostScript
  output is screwy. (1) Nothing past the second column appears, and (2) though it
  is a two pager, only one page shows up (though both of them print). None of
  this happens when I make a custom size, increasing the USLegal width by one
  inch in Landscape, nor does it happen when I use letter size, in any
  orientation, or Legal in portrait orientation. So. The problem is exclusively
  with USLegal, landscape orientation. What is the problem?
 
 can you give a short lyx-example file for that behaviour?
 
 Herbert
 
 
 -- 
 http://perce.de/lyx/

#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
%%--Column Stuff--%%

\usepackage{multicol}
\setlength{\ParIindent}{1cm}
\setlength{\ParIIindent}{1.25cm}

\setlength{\columnsep}{0.5in}
\setlength{\columnseprule}{0.5pt}
\raggedcolumns

%%--The Headers and Footers--%%

\usepackage{fancyhdr}
\renewcommand{\headrulewidth}{0pt}
\cfoot{}
\rfoot{}

%%--Other Stuff--%

\setlength{\fboxsep}{.025\columnwidth}
\end_preamble
\language english
\inputencoding latin1
\fontscheme times
\graphics default
\paperfontsize 11
\spacing single 
\papersize executivepaper
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\paperorientation landscape
\paperwidth 14in
\paperheight 8.5in
\leftmargin 0.25in
\topmargin 0.25in
\rightmargin 0.25in
\bottommargin 0.25in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Standard


\latex latex 

\backslash 
lfoot{
\size scriptsize 
* Standing
\size default 
}
\layout Standard


\latex latex 

\backslash 
begin{multicols*}{3}
\layout Standard

This is page one.
\layout Standard

First column begins here.
\layout Standard
\align left 
blahblahblahblah
\layout Standard

blahblahblahblah
\layout Standard

blahblahblahblah
\layout Standard

blahblahblahblah
\layout Standard

blahblahblahblah 
\layout Standard

blahblahblahblah 
\layout Standard

blahblahblahblah
\layout Standard

blahblahblahblah
\layout Standard

blahblahblahblah
\layout Standard


\latex latex 

\backslash 
columnbreak
\layout Standard

Second column begins here.
\layout Standard

blahblahblahblah
\layout Standard

This is a paragraph.
 blahb lahblahblah blahblahblahb lah blahb lahblahblah blah blahblahblah
 bl ahblahbl ahblah blahblahbl ahblah b ahblah blah blah blahblah blah blah
 blahbla hblahblah blahblah blahb lah 
\layout myParII

Q.1 blahblahblahblah blahblahblahblah blahblahblahblah blahblahblahblah 
\layout myParII

A.
 blahblahblahblah blahblahblahblah blahblahblahblah blahblahblahblah 
\layout myParII

Q.2 blahblahblahblah blahblahblahblah blahblahblahblah blahblahblahblah 
\layout myParII

A.
 blahblahblahblah blahblahblahblah blahblahblahblah blahblahblahblah 
\layout Standard


\latex latex 

\backslash 
framebox{
\backslash 
parbox[c]{.95
\backslash 
columnwidth}{
\latex default 
blah bla hblah bl ah
\latex latex 
 
\latex default 
blahbla hbl ahb lah
\latex latex 
 
\latex default 
blahbla hbl ahblah
\latex latex 
 
\latex default 
bla hblah blah blah
\latex latex 
 
\latex default 
bl ahblahb lah blah
\latex latex 
 
\latex default 
bla hblah blahb lah
\latex latex 
 
\latex default 
bl ahb lah blahblah
\latex latex 
 
\latex default 
blahblah bla hb lah
\latex latex 
 
\latex default 
bla hb lahbl ah blah
\latex latex 
 
\latex default 
blahblah bla hblah
\latex latex 
 
\latex default 
blahb lah bla hblah
\latex latex 
}}
\layout Standard

This is another paragraph.
 Obviously, I figured out about the frameboxes.
 So nevermind about that part.
\layout Standard


\latex latex 

\backslash 
columnbreak
\layout Standard

Third column begins here.
\layout Standard

This is a standard paragraph.
 blah blahbl a hblah b lahbla hblahb lah bla blahblahblah bla hblahblahblah
 blah bla hblahblah blahblah blahbl ah blahblahb lahblah blahbl ahbla hblah
 blah blahbl ahblah blahblahb lahblah blahblahblahblah blahbla hblahbl ah
 blah blahblahblah bla hblahblahbl ah bla hbla hblah blah blahbla hbla hblah
 blahblahblahblah
\layout 

Re: Cleaning up (was multicols and tabbing)

2001-03-25 Thread Herbert Voss

Christopher Jones wrote:
> 
> Works like a charm. Thanks again.
> 
> So here is some minor stuff left to address with this project of mine:
> 
> First, I still have the problem I had before, with the \fbox and \parbox stuff.
> 
> Second, I am printing this on USLegal, with .25in margins all around, and .50in
> columnsep (3 cols). It prints out just like I expect it, but the PostScript
> output is screwy. (1) Nothing past the second column appears, and (2) though it
> is a two pager, only one page shows up (though both of them print). None of
> this happens when I make a custom size, increasing the USLegal width by one
> inch in Landscape, nor does it happen when I use letter size, in any
> orientation, or Legal in portrait orientation. So. The problem is exclusively
> with USLegal, landscape orientation. What is the problem?

can you give a short lyx-example file for that behaviour?

Herbert


-- 
http://perce.de/lyx/



Re: Cleaning up (was multicols and tabbing)

2001-03-25 Thread Christopher Jones

Well... I guess I got it figured out afterall. I figured out the \parbox stuff,
and I figured out that if I produce the document in Legal/Landscape and then
put gv into portrait, I can see the document properly (except that it's
sideways). I got both pages to show up... I am not sure what exactly I did to
fix that. Anyway, here's the example file just for the heck of it. Maybe you
know why I have to put gv into portrait in order to see the whole thing.

On Sun, 25 Mar 2001, you wrote:
> Christopher Jones wrote:
> > 
> > Works like a charm. Thanks again.
> > 
> > So here is some minor stuff left to address with this project of mine:
> > 
> > First, I still have the problem I had before, with the \fbox and \parbox stuff.
> > 
> > Second, I am printing this on USLegal, with .25in margins all around, and .50in
> > columnsep (3 cols). It prints out just like I expect it, but the PostScript
> > output is screwy. (1) Nothing past the second column appears, and (2) though it
> > is a two pager, only one page shows up (though both of them print). None of
> > this happens when I make a custom size, increasing the USLegal width by one
> > inch in Landscape, nor does it happen when I use letter size, in any
> > orientation, or Legal in portrait orientation. So. The problem is exclusively
> > with USLegal, landscape orientation. What is the problem?
> 
> can you give a short lyx-example file for that behaviour?
> 
> Herbert
> 
> 
> -- 
> http://perce.de/lyx/

#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
%%--Column Stuff--%%

\usepackage{multicol}
\setlength{\ParIindent}{1cm}
\setlength{\ParIIindent}{1.25cm}

\setlength{\columnsep}{0.5in}
\setlength{\columnseprule}{0.5pt}
\raggedcolumns

%%--The Headers and Footers--%%

\usepackage{fancyhdr}
\renewcommand{\headrulewidth}{0pt}
\cfoot{}
\rfoot{}

%%--Other Stuff--%

\setlength{\fboxsep}{.025\columnwidth}
\end_preamble
\language english
\inputencoding latin1
\fontscheme times
\graphics default
\paperfontsize 11
\spacing single 
\papersize executivepaper
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\paperorientation landscape
\paperwidth 14in
\paperheight 8.5in
\leftmargin 0.25in
\topmargin 0.25in
\rightmargin 0.25in
\bottommargin 0.25in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Standard


\latex latex 

\backslash 
lfoot{
\size scriptsize 
* Standing
\size default 
}
\layout Standard


\latex latex 

\backslash 
begin{multicols*}{3}
\layout Standard

This is page one.
\layout Standard

First column begins here.
\layout Standard
\align left 
blahblahblahblah
\layout Standard

blahblahblahblah
\layout Standard

blahblahblahblah
\layout Standard

blahblahblahblah
\layout Standard

blahblahblahblah 
\layout Standard

blahblahblahblah 
\layout Standard

blahblahblahblah
\layout Standard

blahblahblahblah
\layout Standard

blahblahblahblah
\layout Standard


\latex latex 

\backslash 
columnbreak
\layout Standard

Second column begins here.
\layout Standard

blahblahblahblah
\layout Standard

This is a paragraph.
 blahb lahblahblah blahblahblahb lah blahb lahblahblah blah blahblahblah
 bl ahblahbl ahblah blahblahbl ahblah b ahblah blah blah blahblah blah blah
 blahbla hblahblah blahblah blahb lah 
\layout myParII

Q.1 blahblahblahblah blahblahblahblah blahblahblahblah blahblahblahblah 
\layout myParII

A.
 blahblahblahblah blahblahblahblah blahblahblahblah blahblahblahblah 
\layout myParII

Q.2 blahblahblahblah blahblahblahblah blahblahblahblah blahblahblahblah 
\layout myParII

A.
 blahblahblahblah blahblahblahblah blahblahblahblah blahblahblahblah 
\layout Standard


\latex latex 

\backslash 
framebox{
\backslash 
parbox[c]{.95
\backslash 
columnwidth}{
\latex default 
blah bla hblah bl ah
\latex latex 
 
\latex default 
blahbla hbl ahb lah
\latex latex 
 
\latex default 
blahbla hbl ahblah
\latex latex 
 
\latex default 
bla hblah blah blah
\latex latex 
 
\latex default 
bl ahblahb lah blah
\latex latex 
 
\latex default 
bla hblah blahb lah
\latex latex 
 
\latex default 
bl ahb lah blahblah
\latex latex 
 
\latex default 
blahblah bla hb lah
\latex latex 
 
\latex default 
bla hb lahbl ah blah
\latex latex 
 
\latex default 
blahblah bla hblah
\latex latex 
 
\latex default 
blahb lah bla hblah
\latex latex 
}}
\layout Standard

This is another paragraph.
 Obviously, I figured out about the frameboxes.
 So nevermind about that part.
\layout Standard


\latex latex 

\backslash 
columnbreak
\layout Standard

Third column begins here.
\layout Standard

This is a standard paragraph.
 blah blahbl a hblah b lahbla hblahb lah bla blahblahblah bla hblahblahblah
 blah bla hblahblah blahblah blahbl ah blahblahb lahblah blahbl ahbla hblah
 blah blahbl ahblah blahblahb lahblah blahblahblahblah blahbla hblahbl ah
 blah blahblahblah bla hblahblahbl ah bla hbla hblah blah blahbla 

Re: multicols and tabbing

2001-03-24 Thread Herbert Voss

Christopher Jones wrote:
 
 Thanks so much! Since I sent that post, I had come up with the following
 slution:
 
 \begin{tabbing}
 Q. XXX \= \parbox[t]{\columnwidth}{...} \\
 ...
 \end{tabbing}
 
 Your solution worked MUCH better, since mine, though it kept the text within
 the column, left the \parbox extended too far to the right (left margin was OK),
 leaving only about 1cm of margin between the text and the right-hand column
 edge. I had tried using other variables than \columnwidth, such as \linewidth,
 but to no avail.

i thought that there must be a better solution, like a lyx one ;-)
here it comes:
save the following attached lyx-styles in ~/.lyx.layouts.
insert in ~./lyx/layouts/stdclass.inc a line

Input myPar.layout

restart lyx and you have the two paragraph-styles myParI and myParII
within lyx. the also attached lyx-file tab.lyx shows the use of these 
layouts. it works only when you've installed the myPar-styles correct.

Herbert


-- 
http://perce.de/lyx/

# Extended textclass definition file. 
# Author : Herbert Voss [EMAIL PROTECTED]
# 
# This include files contains various standard environments for lists.
#
# myParI style definition
Preamble
  \newlength{\ParIindent}\setlength{\ParIindent}{0.5cm}
  \newlength{\ParIIindent}\setlength{\ParIIindent}{0.75cm}
EndPreamble

Style myParI
  MarginFirst_Dynamic
  LatexType List_Environment
  LatexName myParI
  NextNoIndent  1
  LeftMarginMM
  RightMargin   MM
  ParIndent MM
  LabelSep  XX
  ParSkip   0.4
  ItemSep   0.1
  TopSep0.7
  BottomSep 0.7
  ParSep0.3
  Align Block
  AlignPossible Block, Left
  LabelType Manual
  LabelString   MM
  LabelFont
Shape   italic
  EndFont
#
#define the latex environment myParI
#
  Preamble
\newenvironment{myParI}{%
   \begin{list}{}{
 \setlength{\labelwidth}{\ParIindent}\setlength{\leftmargin}{\ParIindent}
 \setlength{\labelsep}{0cm}\setlength{\rightmargin}{0cm}
 \setlength{\parsep}{0.25ex plus0.1ex minus 0.1ex}
 \setlength{\itemsep}{0ex plus0.2ex}
 \let\makelabel\myParIlabel}%
   }
   {\end{list}}
\newcommand*\myParIlabel[1]{\raggedright #1}
  EndPreamble
End

# myParII style definition
Style myParII
  MarginFirst_Dynamic
  LatexType List_Environment
  LatexName myParII
  NextNoIndent  1
  LeftMarginMMM
  RightMargin   MMM
  ParIndent MMM
  LabelSep  
  ParSkip   0.4
  ItemSep   0.2
  TopSep0.7
  BottomSep 0.7
  ParSep0.3
  Align Block
  AlignPossible Block, Left
  LabelType Manual
  LabelString   MM
  LabelFont
Shape   italic
  EndFont
#
#define the latex environment myParII
#
  Preamble
 \newenvironment{myParII}{%
   \begin{list}{}{
 \setlength{\labelwidth}{\ParIIindent}\setlength{\leftmargin}{\ParIIindent}
 \setlength{\labelsep}{0cm}\setlength{\rightmargin}{0cm}
 \setlength{\parsep}{0.25ex plus0.1ex minus 0.1ex}
 \setlength{\itemsep}{0ex plus0.2ex}
 \let\makelabel\myParIIlabel}%
   }
   {\end{list}}
\newcommand*\myParIIlabel[1]{\raggedright #1}
  EndPreamble
End



#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{multicol}
\end_preamble
\language ngerman
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

A standardline without any special formatting.
 You can change the indenting with
\layout Standard


\family typewriter 

\backslash 
setlength{
\backslash 
ParIindent}{0.5cm}
\layout Standard


\family typewriter 

\backslash 
settolength{
\backslash 
ParIIindent}{0.75cm}
\layout Standard

The predefined values are 0.5cm and 0.75cm
\layout Standard


\latex latex 

\backslash 
begin{multicols}{3}
\layout myParI

Q.
 a line with paragraphstyle 
\series bold 
myPartI
\series default 
 
\layout myParII

A.
 a line with paragraphstyle 
\series bold 
myPartII
\layout myParI

Q.
 a line with paragraphstyle 
\series bold 
myPartI
\series default 
 a line with paragraphstyle 
\series bold 
myPartI
\series default 
 a line with paragraphstyle 
\series bold 
myPartI
\series default 
 
\layout myParII

A.
 a line with paragraphstyle 
\series bold 
myPartII
\series default 
a line with paragraphstyle 
\series bold 
myPartII
\series default 
a line with 

Cleaning up (was multicols and tabbing)

2001-03-24 Thread Christopher Jones

Works like a charm. Thanks again.

So here is some minor stuff left to address with this project of mine:

First, I still have the problem I had before, with the \fbox and \parbox stuff.

Second, I am printing this on USLegal, with .25in margins all around, and .50in
columnsep (3 cols). It prints out just like I expect it, but the PostScript
output is screwy. (1) Nothing past the second column appears, and (2) though it
is a two pager, only one page shows up (though both of them print). None of
this happens when I make a custom size, increasing the USLegal width by one
inch in Landscape, nor does it happen when I use letter size, in any
orientation, or Legal in portrait orientation. So. The problem is exclusively
with USLegal, landscape orientation. What is the problem?

 
 Christopher Jones wrote:
  
  Thanks so much! Since I sent that post, I had come up with the following
  slution:
  
  \begin{tabbing}
  Q. XXX \= \parbox[t]{\columnwidth}{...} \\
  ...
  \end{tabbing}
  
  Your solution worked MUCH better, since mine, though it kept the text within
  the column, left the \parbox extended too far to the right (left margin was OK),
  leaving only about 1cm of margin between the text and the right-hand column
  edge. I had tried using other variables than \columnwidth, such as \linewidth,
  but to no avail.
 
 i thought that there must be a better solution, like a lyx one ;-)
 here it comes:
 save the following attached lyx-styles in ~/.lyx.layouts.
 insert in ~./lyx/layouts/stdclass.inc a line
 
 Input myPar.layout
 
 restart lyx and you have the two paragraph-styles myParI and myParII
 within lyx. the also attached lyx-file tab.lyx shows the use of these 
 layouts. it works only when you've installed the myPar-styles correct.
 
 Herbert
 
 
 -- 
 http://perce.de/lyx/


Content-Type: text/plain; name="myPar.layout"
Content-Transfer-Encoding: 7bit
Content-Description: 



Content-Type: text/plain; name="tab.lyx"
Content-Transfer-Encoding: 7bit
Content-Description: 




Re: multicols and tabbing

2001-03-24 Thread Herbert Voss

Christopher Jones wrote:
 
 Thanks so much! Since I sent that post, I had come up with the following
 slution:
 
 \begin{tabbing}
 Q. XXX \= \parbox[t]{\columnwidth}{...} \\
 ...
 \end{tabbing}
 
 Your solution worked MUCH better, since mine, though it kept the text within
 the column, left the \parbox extended too far to the right (left margin was OK),
 leaving only about 1cm of margin between the text and the right-hand column
 edge. I had tried using other variables than \columnwidth, such as \linewidth,
 but to no avail.

i thought that there must be a better solution, like a lyx one ;-)
here it comes:
save the following attached lyx-styles in ~/.lyx.layouts.
insert in ~./lyx/layouts/stdclass.inc a line

Input myPar.layout

restart lyx and you have the two paragraph-styles myParI and myParII
within lyx. the also attached lyx-file tab.lyx shows the use of these 
layouts. it works only when you've installed the myPar-styles correct.

Herbert


-- 
http://perce.de/lyx/

# Extended textclass definition file. 
# Author : Herbert Voss [EMAIL PROTECTED]
# 
# This include files contains various standard environments for lists.
#
# myParI style definition
Preamble
  \newlength{\ParIindent}\setlength{\ParIindent}{0.5cm}
  \newlength{\ParIIindent}\setlength{\ParIIindent}{0.75cm}
EndPreamble

Style myParI
  MarginFirst_Dynamic
  LatexType List_Environment
  LatexName myParI
  NextNoIndent  1
  LeftMarginMM
  RightMargin   MM
  ParIndent MM
  LabelSep  XX
  ParSkip   0.4
  ItemSep   0.1
  TopSep0.7
  BottomSep 0.7
  ParSep0.3
  Align Block
  AlignPossible Block, Left
  LabelType Manual
  LabelString   MM
  LabelFont
Shape   italic
  EndFont
#
#define the latex environment myParI
#
  Preamble
\newenvironment{myParI}{%
   \begin{list}{}{
 \setlength{\labelwidth}{\ParIindent}\setlength{\leftmargin}{\ParIindent}
 \setlength{\labelsep}{0cm}\setlength{\rightmargin}{0cm}
 \setlength{\parsep}{0.25ex plus0.1ex minus 0.1ex}
 \setlength{\itemsep}{0ex plus0.2ex}
 \let\makelabel\myParIlabel}%
   }
   {\end{list}}
\newcommand*\myParIlabel[1]{\raggedright #1}
  EndPreamble
End

# myParII style definition
Style myParII
  MarginFirst_Dynamic
  LatexType List_Environment
  LatexName myParII
  NextNoIndent  1
  LeftMarginMMM
  RightMargin   MMM
  ParIndent MMM
  LabelSep  
  ParSkip   0.4
  ItemSep   0.2
  TopSep0.7
  BottomSep 0.7
  ParSep0.3
  Align Block
  AlignPossible Block, Left
  LabelType Manual
  LabelString   MM
  LabelFont
Shape   italic
  EndFont
#
#define the latex environment myParII
#
  Preamble
 \newenvironment{myParII}{%
   \begin{list}{}{
 \setlength{\labelwidth}{\ParIIindent}\setlength{\leftmargin}{\ParIIindent}
 \setlength{\labelsep}{0cm}\setlength{\rightmargin}{0cm}
 \setlength{\parsep}{0.25ex plus0.1ex minus 0.1ex}
 \setlength{\itemsep}{0ex plus0.2ex}
 \let\makelabel\myParIIlabel}%
   }
   {\end{list}}
\newcommand*\myParIIlabel[1]{\raggedright #1}
  EndPreamble
End



#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{multicol}
\end_preamble
\language ngerman
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

A standardline without any special formatting.
 You can change the indenting with
\layout Standard


\family typewriter 

\backslash 
setlength{
\backslash 
ParIindent}{0.5cm}
\layout Standard


\family typewriter 

\backslash 
settolength{
\backslash 
ParIIindent}{0.75cm}
\layout Standard

The predefined values are 0.5cm and 0.75cm
\layout Standard


\latex latex 

\backslash 
begin{multicols}{3}
\layout myParI

Q.
 a line with paragraphstyle 
\series bold 
myPartI
\series default 
 
\layout myParII

A.
 a line with paragraphstyle 
\series bold 
myPartII
\layout myParI

Q.
 a line with paragraphstyle 
\series bold 
myPartI
\series default 
 a line with paragraphstyle 
\series bold 
myPartI
\series default 
 a line with paragraphstyle 
\series bold 
myPartI
\series default 
 
\layout myParII

A.
 a line with paragraphstyle 
\series bold 
myPartII
\series default 
a line with paragraphstyle 
\series bold 
myPartII
\series default 
a line with 

Cleaning up (was multicols and tabbing)

2001-03-24 Thread Christopher Jones

Works like a charm. Thanks again.

So here is some minor stuff left to address with this project of mine:

First, I still have the problem I had before, with the \fbox and \parbox stuff.

Second, I am printing this on USLegal, with .25in margins all around, and .50in
columnsep (3 cols). It prints out just like I expect it, but the PostScript
output is screwy. (1) Nothing past the second column appears, and (2) though it
is a two pager, only one page shows up (though both of them print). None of
this happens when I make a custom size, increasing the USLegal width by one
inch in Landscape, nor does it happen when I use letter size, in any
orientation, or Legal in portrait orientation. So. The problem is exclusively
with USLegal, landscape orientation. What is the problem?

 
 Christopher Jones wrote:
  
  Thanks so much! Since I sent that post, I had come up with the following
  slution:
  
  \begin{tabbing}
  Q. XXX \= \parbox[t]{\columnwidth}{...} \\
  ...
  \end{tabbing}
  
  Your solution worked MUCH better, since mine, though it kept the text within
  the column, left the \parbox extended too far to the right (left margin was OK),
  leaving only about 1cm of margin between the text and the right-hand column
  edge. I had tried using other variables than \columnwidth, such as \linewidth,
  but to no avail.
 
 i thought that there must be a better solution, like a lyx one ;-)
 here it comes:
 save the following attached lyx-styles in ~/.lyx.layouts.
 insert in ~./lyx/layouts/stdclass.inc a line
 
 Input myPar.layout
 
 restart lyx and you have the two paragraph-styles myParI and myParII
 within lyx. the also attached lyx-file tab.lyx shows the use of these 
 layouts. it works only when you've installed the myPar-styles correct.
 
 Herbert
 
 
 -- 
 http://perce.de/lyx/


Content-Type: text/plain; name="myPar.layout"
Content-Transfer-Encoding: 7bit
Content-Description: 



Content-Type: text/plain; name="tab.lyx"
Content-Transfer-Encoding: 7bit
Content-Description: 




Re: multicols and tabbing

2001-03-24 Thread Herbert Voss

Christopher Jones wrote:
> 
> Thanks so much! Since I sent that post, I had come up with the following
> slution:
> 
> \begin{tabbing}
> Q. XXX \= \parbox[t]{\columnwidth}{...} \\
> ...
> \end{tabbing}
> 
> Your solution worked MUCH better, since mine, though it kept the text within
> the column, left the \parbox extended too far to the right (left margin was OK),
> leaving only about 1cm of margin between the text and the right-hand column
> edge. I had tried using other variables than \columnwidth, such as \linewidth,
> but to no avail.

i thought that there must be a better solution, like a lyx one ;-)
here it comes:
save the following attached lyx-styles in ~/.lyx.layouts.
insert in ~./lyx/layouts/stdclass.inc a line

Input myPar.layout

restart lyx and you have the two paragraph-styles myParI and myParII
within lyx. the also attached lyx-file tab.lyx shows the use of these 
layouts. it works only when you've installed the myPar-styles correct.

Herbert


-- 
http://perce.de/lyx/

# Extended textclass definition file. 
# Author : Herbert Voss <[EMAIL PROTECTED]>
# 
# This include files contains various standard environments for lists.
#
# myParI style definition
Preamble
  \newlength{\ParIindent}\setlength{\ParIindent}{0.5cm}
  \newlength{\ParIIindent}\setlength{\ParIIindent}{0.75cm}
EndPreamble

Style myParI
  MarginFirst_Dynamic
  LatexType List_Environment
  LatexName myParI
  NextNoIndent  1
  LeftMarginMM
  RightMargin   MM
  ParIndent MM
  LabelSep  XX
  ParSkip   0.4
  ItemSep   0.1
  TopSep0.7
  BottomSep 0.7
  ParSep0.3
  Align Block
  AlignPossible Block, Left
  LabelType Manual
  LabelString   MM
  LabelFont
Shape   italic
  EndFont
#
#define the latex environment myParI
#
  Preamble
\newenvironment{myParI}{%
   \begin{list}{}{
 \setlength{\labelwidth}{\ParIindent}\setlength{\leftmargin}{\ParIindent}
 \setlength{\labelsep}{0cm}\setlength{\rightmargin}{0cm}
 \setlength{\parsep}{0.25ex plus0.1ex minus 0.1ex}
 \setlength{\itemsep}{0ex plus0.2ex}
 \let\makelabel\myParIlabel}%
   }
   {\end{list}}
\newcommand*\myParIlabel[1]{\raggedright #1}
  EndPreamble
End

# myParII style definition
Style myParII
  MarginFirst_Dynamic
  LatexType List_Environment
  LatexName myParII
  NextNoIndent  1
  LeftMarginMMM
  RightMargin   MMM
  ParIndent MMM
  LabelSep  
  ParSkip   0.4
  ItemSep   0.2
  TopSep0.7
  BottomSep 0.7
  ParSep0.3
  Align Block
  AlignPossible Block, Left
  LabelType Manual
  LabelString   MM
  LabelFont
Shape   italic
  EndFont
#
#define the latex environment myParII
#
  Preamble
 \newenvironment{myParII}{%
   \begin{list}{}{
 \setlength{\labelwidth}{\ParIIindent}\setlength{\leftmargin}{\ParIIindent}
 \setlength{\labelsep}{0cm}\setlength{\rightmargin}{0cm}
 \setlength{\parsep}{0.25ex plus0.1ex minus 0.1ex}
 \setlength{\itemsep}{0ex plus0.2ex}
 \let\makelabel\myParIIlabel}%
   }
   {\end{list}}
\newcommand*\myParIIlabel[1]{\raggedright #1}
  EndPreamble
End



#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{multicol}
\end_preamble
\language ngerman
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

A standardline without any special formatting.
 You can change the indenting with
\layout Standard


\family typewriter 

\backslash 
setlength{
\backslash 
ParIindent}{0.5cm}
\layout Standard


\family typewriter 

\backslash 
settolength{
\backslash 
ParIIindent}{0.75cm}
\layout Standard

The predefined values are 0.5cm and 0.75cm
\layout Standard


\latex latex 

\backslash 
begin{multicols}{3}
\layout myParI

Q.
 a line with paragraphstyle 
\series bold 
myPartI
\series default 
 
\layout myParII

A.
 a line with paragraphstyle 
\series bold 
myPartII
\layout myParI

Q.
 a line with paragraphstyle 
\series bold 
myPartI
\series default 
 a line with paragraphstyle 
\series bold 
myPartI
\series default 
 a line with paragraphstyle 
\series bold 
myPartI
\series default 
 
\layout myParII

A.
 a line with paragraphstyle 
\series bold 
myPartII
\series default 
a line with paragraphstyle 
\series bold 
myPartII
\series default 
a 

Cleaning up (was multicols and tabbing)

2001-03-24 Thread Christopher Jones

Works like a charm. Thanks again.

So here is some minor stuff left to address with this project of mine:

First, I still have the problem I had before, with the \fbox and \parbox stuff.

Second, I am printing this on USLegal, with .25in margins all around, and .50in
columnsep (3 cols). It prints out just like I expect it, but the PostScript
output is screwy. (1) Nothing past the second column appears, and (2) though it
is a two pager, only one page shows up (though both of them print). None of
this happens when I make a custom size, increasing the USLegal width by one
inch in Landscape, nor does it happen when I use letter size, in any
orientation, or Legal in portrait orientation. So. The problem is exclusively
with USLegal, landscape orientation. What is the problem?

> 
> Christopher Jones wrote:
> > 
> > Thanks so much! Since I sent that post, I had come up with the following
> > slution:
> > 
> > \begin{tabbing}
> > Q. XXX \= \parbox[t]{\columnwidth}{...} \\
> > ...
> > \end{tabbing}
> > 
> > Your solution worked MUCH better, since mine, though it kept the text within
> > the column, left the \parbox extended too far to the right (left margin was OK),
> > leaving only about 1cm of margin between the text and the right-hand column
> > edge. I had tried using other variables than \columnwidth, such as \linewidth,
> > but to no avail.
> 
> i thought that there must be a better solution, like a lyx one ;-)
> here it comes:
> save the following attached lyx-styles in ~/.lyx.layouts.
> insert in ~./lyx/layouts/stdclass.inc a line
> 
> Input myPar.layout
> 
> restart lyx and you have the two paragraph-styles myParI and myParII
> within lyx. the also attached lyx-file tab.lyx shows the use of these 
> layouts. it works only when you've installed the myPar-styles correct.
> 
> Herbert
> 
> 
> -- 
> http://perce.de/lyx/


Content-Type: text/plain; name="myPar.layout"
Content-Transfer-Encoding: 7bit
Content-Description: 



Content-Type: text/plain; name="tab.lyx"
Content-Transfer-Encoding: 7bit
Content-Description: 




multicols and tabbing

2001-03-23 Thread Christopher Jones

Thanks to Herr Voss for the tabbing example file. And thanks to everyone for
your suggestions. 

I decieded to go with latex tabbing. This introduces a problem which seems to
derive from my use of another package, namely the multicols package. My
document needs to be trifold, three columns. Hence my use of multicols.
However, tabbing seems to ignore the fact that there are more than two columns
in the document, so that anything within the tabbing environment, though it
starts in the correct column, goes right across the page. So in the printout I
get text on top of text. In the ps file text just dissappears past a given
column. (This is also why I can't use a table, which I tried the first time.)

I would manually insert breaks in the tabbed section, but since I need
block-justified text, this (unelegant) solution won't do this time.

So what do I do? 



Re: multicols and tabbing

2001-03-23 Thread Herbert Voss

Christopher Jones wrote:
 
 Thanks to Herr Voss for the tabbing example file. And thanks to everyone for
 your suggestions.
 
 I decieded to go with latex tabbing. This introduces a problem which seems to
 derive from my use of another package, namely the multicols package. My
 document needs to be trifold, three columns. Hence my use of multicols.
 However, tabbing seems to ignore the fact that there are more than two columns
 in the document, so that anything within the tabbing environment, though it
 starts in the correct column, goes right across the page. So in the printout I
 get text on top of text. In the ps file text just dissappears past a given
 column. (This is also why I can't use a table, which I tried the first time.)
 
 I would manually insert breaks in the tabbed section, but since I need
 block-justified text, this (unelegant) solution won't do this time.
 
 So what do I do?

have a look at the attached lyx-file. it's a solution on the run ...
if it's useful, copy the latex preamble into the one of your textfile.
only the bold text in this file is important, the rest is nonsense
hope it helps

Herbert


-- 
http://perce.de/lyx/

#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{multicol}
\newlength{\tabI}
\newlength{\tabII}
\newlength{\tabIII}
\newlength{\tabIV}
\setlength{\tabI}{0.3cm}%  the first tabfield 
\setlength{\tabIII}{1cm}%   the second tabfield
\newcommand{\myEnumI}[2]{%
  \noindent\begin{minipage}[t]{\tabI}#1\end{minipage}\hfill\ 
\begin{minipage}[t]{0.95\tabII} #2\end{minipage}%
}
\newcommand{\myEnumII}[2]{%
  \noindent\begin{minipage}[t]{\tabIII}#1\end{minipage}\hfill\ 
\begin{minipage}[t]{0.95\tabIV} #2\end{minipage}%
}
\end_preamble
\language ngerman
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 
\layout Standard


\latex latex 

\backslash 
begin{multicols}{3}
\layout Standard


\latex latex 

\backslash 
setlength{
\backslash 
tabII}{
\backslash 
columnwidth}
\backslash 
addtolength{
\backslash 
tabII}{-
\backslash 
tabI}% behind 
\backslash 
begin{multicol}!
\layout Standard


\latex latex 

\backslash 
setlength{
\backslash 
tabIV}{
\backslash 
columnwidth}
\backslash 
addtolength{
\backslash 
tabIV}{-
\backslash 
tabIII}% behind 
\backslash 
begin{multicol}!
\layout Standard


\series bold 
These setlength commands MUST be placed here, because we need at this position
 the columnwidht! if you have another part in the text with multicols repeat
 these two lines.
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumII{
\latex default 
A.
\latex latex 
}{
\latex default 
blah blah blah
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah Tblah blah blah Tblah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumII{
\latex default 
A.
\latex latex 
}{
\latex default 
blah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumII{
\latex default 
A.
\latex latex 
}{
\latex default 
blah blah blah Tblah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumII{
\latex default 
A.
\latex latex 
}{
\latex default 
blah blah blah Tblah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumII{
\latex default 
A.
\latex latex 
}{
\latex default 
blah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah Tblah blah blah The line with 
\backslash 
kill is only my tabbing line, which defines the tabstops.
 in this case

multicols and tabbing

2001-03-23 Thread Christopher Jones

Thanks to Herr Voss for the tabbing example file. And thanks to everyone for
your suggestions. 

I decieded to go with latex tabbing. This introduces a problem which seems to
derive from my use of another package, namely the multicols package. My
document needs to be trifold, three columns. Hence my use of multicols.
However, tabbing seems to ignore the fact that there are more than two columns
in the document, so that anything within the tabbing environment, though it
starts in the correct column, goes right across the page. So in the printout I
get text on top of text. In the ps file text just dissappears past a given
column. (This is also why I can't use a table, which I tried the first time.)

I would manually insert breaks in the tabbed section, but since I need
block-justified text, this (unelegant) solution won't do this time.

So what do I do? 



Re: multicols and tabbing

2001-03-23 Thread Herbert Voss

Christopher Jones wrote:
 
 Thanks to Herr Voss for the tabbing example file. And thanks to everyone for
 your suggestions.
 
 I decieded to go with latex tabbing. This introduces a problem which seems to
 derive from my use of another package, namely the multicols package. My
 document needs to be trifold, three columns. Hence my use of multicols.
 However, tabbing seems to ignore the fact that there are more than two columns
 in the document, so that anything within the tabbing environment, though it
 starts in the correct column, goes right across the page. So in the printout I
 get text on top of text. In the ps file text just dissappears past a given
 column. (This is also why I can't use a table, which I tried the first time.)
 
 I would manually insert breaks in the tabbed section, but since I need
 block-justified text, this (unelegant) solution won't do this time.
 
 So what do I do?

have a look at the attached lyx-file. it's a solution on the run ...
if it's useful, copy the latex preamble into the one of your textfile.
only the bold text in this file is important, the rest is nonsense
hope it helps

Herbert


-- 
http://perce.de/lyx/

#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{multicol}
\newlength{\tabI}
\newlength{\tabII}
\newlength{\tabIII}
\newlength{\tabIV}
\setlength{\tabI}{0.3cm}%  the first tabfield 
\setlength{\tabIII}{1cm}%   the second tabfield
\newcommand{\myEnumI}[2]{%
  \noindent\begin{minipage}[t]{\tabI}#1\end{minipage}\hfill\ 
\begin{minipage}[t]{0.95\tabII} #2\end{minipage}%
}
\newcommand{\myEnumII}[2]{%
  \noindent\begin{minipage}[t]{\tabIII}#1\end{minipage}\hfill\ 
\begin{minipage}[t]{0.95\tabIV} #2\end{minipage}%
}
\end_preamble
\language ngerman
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 
\layout Standard


\latex latex 

\backslash 
begin{multicols}{3}
\layout Standard


\latex latex 

\backslash 
setlength{
\backslash 
tabII}{
\backslash 
columnwidth}
\backslash 
addtolength{
\backslash 
tabII}{-
\backslash 
tabI}% behind 
\backslash 
begin{multicol}!
\layout Standard


\latex latex 

\backslash 
setlength{
\backslash 
tabIV}{
\backslash 
columnwidth}
\backslash 
addtolength{
\backslash 
tabIV}{-
\backslash 
tabIII}% behind 
\backslash 
begin{multicol}!
\layout Standard


\series bold 
These setlength commands MUST be placed here, because we need at this position
 the columnwidht! if you have another part in the text with multicols repeat
 these two lines.
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumII{
\latex default 
A.
\latex latex 
}{
\latex default 
blah blah blah
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah Tblah blah blah Tblah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumII{
\latex default 
A.
\latex latex 
}{
\latex default 
blah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumII{
\latex default 
A.
\latex latex 
}{
\latex default 
blah blah blah Tblah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumII{
\latex default 
A.
\latex latex 
}{
\latex default 
blah blah blah Tblah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumII{
\latex default 
A.
\latex latex 
}{
\latex default 
blah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah Tblah blah blah The line with 
\backslash 
kill is only my tabbing line, which defines the tabstops.
 in this case

multicols and tabbing

2001-03-23 Thread Christopher Jones

Thanks to Herr Voss for the tabbing example file. And thanks to everyone for
your suggestions. 

I decieded to go with latex tabbing. This introduces a problem which seems to
derive from my use of another package, namely the multicols package. My
document needs to be trifold, three columns. Hence my use of multicols.
However, tabbing seems to ignore the fact that there are more than two columns
in the document, so that anything within the tabbing environment, though it
starts in the correct column, goes right across the page. So in the printout I
get text on top of text. In the ps file text just dissappears past a given
column. (This is also why I can't use a table, which I tried the first time.)

I would manually insert breaks in the tabbed section, but since I need
block-justified text, this (unelegant) solution won't do this time.

So what do I do? 



Re: multicols and tabbing

2001-03-23 Thread Herbert Voss

Christopher Jones wrote:
> 
> Thanks to Herr Voss for the tabbing example file. And thanks to everyone for
> your suggestions.
> 
> I decieded to go with latex tabbing. This introduces a problem which seems to
> derive from my use of another package, namely the multicols package. My
> document needs to be trifold, three columns. Hence my use of multicols.
> However, tabbing seems to ignore the fact that there are more than two columns
> in the document, so that anything within the tabbing environment, though it
> starts in the correct column, goes right across the page. So in the printout I
> get text on top of text. In the ps file text just dissappears past a given
> column. (This is also why I can't use a table, which I tried the first time.)
> 
> I would manually insert breaks in the tabbed section, but since I need
> block-justified text, this (unelegant) solution won't do this time.
> 
> So what do I do?

have a look at the attached lyx-file. it's a solution on the run ...
if it's useful, copy the latex preamble into the one of your textfile.
only the bold text in this file is important, the rest is nonsense
hope it helps

Herbert


-- 
http://perce.de/lyx/

#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{multicol}
\newlength{\tabI}
\newlength{\tabII}
\newlength{\tabIII}
\newlength{\tabIV}
\setlength{\tabI}{0.3cm}% < the first tabfield 
\setlength{\tabIII}{1cm}%  < the second tabfield
\newcommand{\myEnumI}[2]{%
  \noindent\begin{minipage}[t]{\tabI}#1\end{minipage}\hfill\ 
\begin{minipage}[t]{0.95\tabII} #2\end{minipage}%
}
\newcommand{\myEnumII}[2]{%
  \noindent\begin{minipage}[t]{\tabIII}#1\end{minipage}\hfill\ 
\begin{minipage}[t]{0.95\tabIV} #2\end{minipage}%
}
\end_preamble
\language ngerman
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 
\layout Standard


\latex latex 

\backslash 
begin{multicols}{3}
\layout Standard


\latex latex 

\backslash 
setlength{
\backslash 
tabII}{
\backslash 
columnwidth}
\backslash 
addtolength{
\backslash 
tabII}{-
\backslash 
tabI}% behind 
\backslash 
begin{multicol}!
\layout Standard


\latex latex 

\backslash 
setlength{
\backslash 
tabIV}{
\backslash 
columnwidth}
\backslash 
addtolength{
\backslash 
tabIV}{-
\backslash 
tabIII}% behind 
\backslash 
begin{multicol}!
\layout Standard


\series bold 
These setlength commands MUST be placed here, because we need at this position
 the columnwidht! if you have another part in the text with multicols repeat
 these two lines.
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumII{
\latex default 
A.
\latex latex 
}{
\latex default 
blah blah blah
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah Tblah blah blah Tblah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumII{
\latex default 
A.
\latex latex 
}{
\latex default 
blah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumII{
\latex default 
A.
\latex latex 
}{
\latex default 
blah blah blah Tblah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumII{
\latex default 
A.
\latex latex 
}{
\latex default 
blah blah blah Tblah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumII{
\latex default 
A.
\latex latex 
}{
\latex default 
blah blah blah T
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
myEnumI{
\latex default 
Q.
\latex latex 
}{
\latex default 
blah blah blah Tblah blah blah The line with 
\backslash