On 10/07/2011 08:17 AM, Guenter Milde wrote:
  Custom LaTeX code before LyX-generated preamble:              
   +-----------------------------------------------------------------+
   | \usepackage[put]{mathdesign}                                   |
   |                                                                |
   +-----------------------------------------------------------------+


May I object! ;)
Please always consider calling \usepackage in two parts, especially in LyX generated code:

\PassOptionsToPackage{put}{mathdesign}
\usepackage{mathdesign}



to allow for the possibility of adding more options to the packages called. (calling \usepackage with options twice isn't allowed)



Custom LaTeX code before LyX-generated preamble:                
  +-----------------------------------------------------------------+
  | \PassOptionsToPackage{some_other_option}{mathdesign}            |
  |                                                                 |
  +-----------------------------------------------------------------+

LyX-generated preamble:
 +-----------------------------------------------------------------+
  | \PassOptionsToPackage{}{mathdesign}                             |
  | \usepackage{mathdesign}                                         |
  +-----------------------------------------------------------------+


Custom LaTeX code after LyX-generated preamble:
  +-----------------------------------------------------------------+
  | \input{mypreamble}                                              |
  |                                                                 |
  |                                                                 |
  +-----------------------------------------------------------------+







Reply via email to