Math & Sciencebaposter, chemstyle | Cross-References of Compounds

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
taddam
Posts: 4
Joined: Sun Sep 30, 2012 9:34 pm

baposter, chemstyle | Cross-References of Compounds

Post by taddam »

Hello,

does anyone know why cross-referencing does not work for compounds in baposter? When I refer to a compound I get consecutive number instead of a right compound number.

My header.

Code: Select all

\documentclass[portrait,paperwidth=820mm,paperheight=1100mm,fontscale=0.350]{baposter}

\usepackage[T1]{fontenc}
\usepackage{ae}
\usepackage[runs=2]{auto-pst-pdf}
\usepackage{chemstyle}
\usepackage{graphicx}
\usepackage{geometry}
\usepackage{multirow}
\usepackage[utf8]{inputenc}
\usepackage{multicol}
Declaration of Scheme.

Code: Select all

\begin{scheme}[H]
  \schemeref[TMP1]{cmpd:a}
  \schemeref[TMP2]{cmpd:b}
  \schemeref[TMP3]{cmpd:c}
  \includegraphics[scale=0.35]{scheme}
  \label{sch:sch1}
\end{scheme}
Cross reference to compound.

Code: Select all

\compound{cmpd:b}
Last edited by localghost on Mon Oct 01, 2012 4:39 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

baposter, chemstyle | Cross-References of Compounds

Post by localghost »

For an adequate problem description and in order to avoid guesses and random shots kindly prepare a proper, self-contained and minimal example. Loosely code snippets are not very helpful.


Thorsten
taddam
Posts: 4
Joined: Sun Sep 30, 2012 9:34 pm

baposter, chemstyle | Cross-References of Compounds

Post by taddam »

I solved the problem by generating the compounds list by this script
http://www.jkwchui.com/Apps/schemerefPa ... parse.html.
The script generated formula:

Code: Select all

\compound*{}
which i pasted just after the \begin.
Post Reply