[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Chemfig Latex compile program



Hi Jerome,
Hi Curt,

Thanks for the input, I changed the

\setdoublesep{0.2 em}  % 'Bond Spacing'
\setatomsep{1.45 em}    % 'Fixed Length'
\setbondoffset{0.1 em} % 'Margin Width'
\newcommand{\bondwidth}{0.08 em} % 'Line Width'
\setbondstyle{line width = \bondwidth}
\setcrambond{2pt}{}{}

to
\setchemfig{bond style={line width=0.08 em,red!70}}
\setchemfig{chemfig style=red}
\setchemfig{double bond sep = 0.2 em, atom sep = 1.45 em, bond offset = 0.1 em, cram width=2pt}

It gets closer to what I want,

Thanks again, lina


On Fri, Oct 8, 2021 at 5:38 PM Curt <curty@free.fr> wrote:
On 2021-10-08, lina <lina.lastname@gmail.com> wrote:
>
> *l.24 \setdoublesep                  {0.2 em}  % 'Bond Spacing'*
>
>

I'm reading that the '\setdoublesep' macro is obsolete and has been
replaced by '\setchemfig{}'. Maybe this has something to do with the
error being thrown.


https://ctan.org/ctan-ann/id/mailman.2235.1520625403.5100.ctan-ann@ctan.org?lang=en

http://tug.ctan.org/macros/generic/chemfig/chemfig-en.pdf


Reply to: