#193 \label and \ref

None
open
nobody
texmakerx (141)
5
2012-11-18
2011-04-14
Anonymous
No

I have a macro that I use to define subsections in my own way:
\def\new_sec#1#2{\pagebreak[3]\begin{sub}\label{#2}{\sc\small\small

1}\rm\medskip}

One of the parameters is the label I use for this subsection. But when I use \ref{} the name of this label is not visible in the list given by the editor.

Can this problem be solved ?

Discussion

  • Jan  Sundermeyer

    Jan Sundermeyer - 2012-11-09
    • status: open --> closed
    • milestone: -->
     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2012-11-09

    no

     
  • Benito van der Zander

    it could just check if there is a \label|ref|...{#.} within the command (would be much easier in qce3)

     
  • Benito van der Zander

    • status: closed --> open
     
  • Tim Hoffmann

    Tim Hoffmann - 2012-11-18

    Wait until QCE3 if it is easier there.

    Also something like \newcommand*{\secRef}[1]{Section \label{#1}} should be parsed.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks