MultiColumn \tableheadline

Issue #44 closed
Former user created an issue

``` What steps will reproduce the problem? 1. Solution to why LyX fails to compile the document 2. 3.

What is the expected output? What do you see instead? The expected output is small caps for table header of multiple columns by using multi-column and using \tableheadline {Header Name}. Instead LyX gives the following error when attempting to compile a pdf:

'Misplaced \omit.' ' ...icolumn{2}{l}{\tableheadline{Description}} \tabularnewline I expect to see \omit only after tab marks or the \cr of an alignment. Proceed, and I'll ignore this case.'

What version of the product are you using? On what operating system? Classis thesis for LyX on LyX 1.6.10, Windows XP.

Please provide any additional information below.

```

Original issue reported on code.google.com by `jms22@bath.ac.uk` on 2011-11-16 17:01:12

Comments (2)

  1. André Miede repo owner

    ``` \tableheadline uses inside as well: \newcommand{\tableheadline}[1]{\multicolumn{1}{c}{\spacedlowsmallcaps{#1}}}

    Please define a suitable environment for your purposes, e.g., \newcommand{\tableheadlinetwo}[1]{\multicolumn{2}{l}{\spacedlowsmallcaps{#1}}} ```

    Original issue reported on code.google.com by `amiede` on 2011-11-17 17:04:34 - Labels added: Type-Other, Priority-Low - Labels removed: Type-Defect, Priority-Medium

  2. Log in to comment