This concerns the "lineno" package. The \linelabel directive works within the ordinary linenumbers environment. How to create a line number label within a internallinenumbers environment to be able to reference a line number? I need this to be able to refer to a line in the pseudocode in a figure.
Or, alternatively - is there an environment like figure in which the ordinary linenumbers and \linelabel work?