Gunnar G wrote:

I have included ifsym
and \StrokeTwo (a symbol from ifsym) does not work in the attached lyx file.
What is wrong?

You have to load ifsym with the option "misc":

\usepackage[misc]{ifsym}

regards Uwe

p.s.
 you have in the preamble

\usepackage{inputenc}

You should delete it, because LyX uses inputenc automatically with the right option.

p.p.s
If you finish ERT-commands with a space, you can be shure to avoid LaTeX-errors. For a space behind the ERT-command in the output, use a protected space (C-Space), as in the attached file
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage[misc]{ifsym}
\end_preamble
\language swedish
\inputencoding auto
\fontscheme default
\graphics default
\float_placement hbtp
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 1
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 18mm
\topmargin 18mm
\rightmargin 18mm
\headsep 13pt
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty

\layout Standard

foo has done bar 
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
StrokeTwo 
\end_inset 

\SpecialChar ~
times
\the_end

Reply via email to