I have a small but irritating problem with a new layout I've written.
Everything works fine except for tables. I created a new environment
called "Header", and now all tables use this as a default instead of
"Standard".
The layout is attached.
Robin
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[article]{FAST}
# FAST document style
# Author : Robin Turner <[EMAIL PROTECTED]>
# Based loosely on the Article layout by Matthias Ettrich
<[EMAIL PROTECTED]>
#
# This layout was written for teachers at Bilkent University's
# Faculty Academic Support Team, for producing lesson materials.
# Input general definitions
Input stdclass.inc
# Get rid of some confusing environments ;-)
NoStyle LyX-Code
NoStyle Address
NoStyle Right_Address
NoStyle Verse
NoStyle Chapter
NoStyle Chapter*
NoStyle Title
NoStyle Paragraph
NoStyle Subparagraph
NoStyle Paragraph*
NoStyle Subparagraph*
MaxCounter Counter_Section
SecNumDepth 3
TocDepth 3
# Heading style definition
Style Heading
CopyStyle Part*
Align Center
Font
Size Larger
EndFont
End
# Change Part and Part* a little
Style Part
Align Left
AlignPossible Left Right Center
TopSep 2
BottomSep 1.5
Font
Size Larger
EndFont
End
Style Part*
Align Left
AlignPossible Left Center Right
TopSep 2
BottomSep 1.5
Font
Size Larger
EndFont
End
# Box style definition
# Adapted from a style by Herbert Voss
Style Box
Margin Static
LatexType Environment
LatexName myBox
NextNoIndent 1
LeftMargin m
RightMargin m
TopSep 0.5
ParSep 0.5
BottomSep 0.5
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
Font
color blue
EndFont
#define the environment myBox
Preamble
\newenvironment{myBox}{%
\noindent%
\begin{lrbox}{\@tempboxa}%
\begin{minipage}[t]{0.5\columnwidth}%
}{%
\end{minipage}%
\end{lrbox}%
\fbox{\parbox{0.5\columnwidth}{\usebox{\@tempboxa}}}%
\vspace{0.5ex}
}%
EndPreamble
End