# Tag Info

3

You have the wrong syntax in the \FOR line: \documentclass{article} \usepackage{algorithm} \usepackage{algorithmic} \begin{document} \begin{algorithm} \caption{An Algorithm} \label{alg1} \begin{algorithmic}[1] \REQUIRE a set of candidate data records $CDRs$ \ENSURE a set of re-segmented data records $DRs$ \STATE \label{alg:line1}Sort CDRs in ascending ...

5

I took a look at my rdfref package, which wasn't easy, as I haven't written any documentation and there were also no comments in the source code. So I improved the situation, fixed some bugs, wrote some comments, but the documentation is still to be done. rdfref is inspired with RDF, as name suggests. The idea is that every referencing command (\rdflabel, ...

2

pagereference package There is the (undocumented and very old) pagereference package: Pro­vides a mech­a­nism for record­ing the lo­ca­tion of la­bels placed in a doc­u­ment. The pack­age re­quires a two-pass pro­cess (it asks the user whether this is the “sec­ond pass”). The first pass es­tab­lishes where things are (writ­ing the val­ues of page ...

4

Another instance of problems with material in vertical mode; use \leavevmode: \documentclass{article} \usepackage[framemethod=tikz]{mdframed} \parskip=32pt \begin{document} \begin{mdframed}[suppressfirstparskip=false,frametitle={Theorem 1.}] Text \label{Yeah} \end{mdframed} \begin{mdframed}[suppressfirstparskip=false,frametitle={Theorem 2.}] ...

4

This solution modifies the default template for the label. This requires biber rather than bibtex as the backend. This means that the compilation sequence needs to be altered, too: pdflatex <filename>.tex biber <filename> pdflatex <filename>.tex with possibly an additional pdflatex <filename>.tex It will work fine with latex ...

1

you can add a new node to your draw command to create a label: \draw (Point1) -- (Point2) node [<position>, fill=white] {Label Text}; The position Parameter can be one of: midway near end near start Also you can set the label above or below the connector created by the draw command. Herefore you can use above above=10pt below below=10pt ... ...

0

Instead of the deprecated subfigure package, you may want to use the subcaption package and its subfigure environment. Specifically, you could use subcaption environments for those images you wish to give a caption and label to, and minipage environments for the remaining images, i.e., the one which needn't or shouldn't get captions and labels. ...

2

You can use \addtocounter{subfigure}{-1} as demonstrated in the following MWE: % arara: pdflatex \documentclass{article} \usepackage{subfig} \usepackage[demo]{graphicx} \begin{document} \begin{figure} \centering \subfloat[]{\includegraphics{image}} % label/numbering \subfloat{\includegraphics{image}} % no label/numbering \\ ...

1

1

Providing a minimal example, makes life easier ... \documentclass{minimal} \usepackage{pst-plot} \begin{document} \begin{pspicture} \psaxes[Ox=1,Oy=2]{->}(1,2)(-2.5,-1.5)(4.7,5.7) \end{pspicture} \end{document} and the complete example: \documentclass{article} \usepackage{pstricks-add} \usepackage{expl3} \ExplSyntaxOn \cs_new_eq:NN \calc ...

1

You can even use the cleveref and ntheorem (or amsthm) packages. Provided the \newtheoremdeclarations are writtenafter cleveref loading, supposing for instance some_label refers a given theorem, you can write in your .tex file something like : According to \cref{some_label}… and the result will be: According to theorem 2.1.4 … So not only the ...

5


2

The nodes near coords key does exactly this, so adding that to the axis options and you're almost done. You will also want to stretch the axis a little, as there is not enough for the label as it is now, so add enlarge y limits={value=0.2,upper} as well. I would also set ymin=0. Finally, move the legend with legend pos=north west, so that it doesn't cover up ...

5


Top 50 recent answers are included