# Tag Info

5

(Updated answer after the OP posted a second, more elaborate MWE.) The varioref package implements the following decision rule with regard to generating page call-outs: If the item being cross-referenced and the cross-reference are on the same page, no page-related affix is produced; If the item being cross-referenced and the cross-reference are on ...

4

Basically, I gave every tree node a name and consolidated the midway nodes into one \path at the end. I probably could have come up with a better naming protocol. \documentclass{standalone} \usepackage{tikz-qtree} \begin{document} \begin{tikzpicture}[font=\small, every tree node/.style={inner sep=0.0625cm, circle, draw}, level ...

4

In general the labelling of the equations is based on their description rather than the order in which they appear. In a technical writing it is very common to add/delete the equations, figures, and tables. A general scheme followed in my lab is: Use fg for figure, tb for table, and eq for equations. For example, in your case you might want to use ...

4

The purpose of the \label–\ref mechanism is to free the user from the burden of renaming cross references as soon as some of the numbers change. Your projected scheme is completely equivalent to not adding any \label command and doing cross references just by the assigned number. Yes, you have the benefit of the \ref command, but your code would be ...

3

You can use extra x ticks and extra x tick labels. However the space for these numbers becomes smaller and smaller. We can take refuge under x post scale and enlarge the x axis. \documentclass[border=3mm]{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{semilogxaxis}[x post scale=3, xmin=1, xmax=1000, ...

2

Normally \label is set by the last \refstepcounter, but since the hypertarget part isn't working, it doesn't really matter. \documentclass[slidescentered]{beamer} \usepackage{amsthm,thmtools,xparse,lipsum,hyperref} \makeatletter \protected\def\thistheoremname{} \declaretheoremstyle[ spaceabove=\topsep, spacebelow=\topsep, headfont=\normalfont\bfseries, ...

2

Place \label after \caption. The \caption macro is the one actually stepping the associated counter which is referred to by \label and \ref. This is the same for figure, table or any newly defined float: \documentclass[a4paper, 11pt]{article} \usepackage{caption} % Use table caption \usepackage{chemfig} % Use chemical strutures ...

2

With the help of package enumitem and some black magic which I am unable to explain. \documentclass{article} \usepackage{enumitem} \protected\def\mylabel#1{\ifodd#1A:\else B:\fi} \AtBeginDocument{\sbox0{\bfseries A:\hspace\labelsep}% %\edef\Ahmad{\dimexpr\number\wd0 sp\relax}% pleasing but slower \edef\Ahmad{\the\wd0}% } ...

2

A variant, based on the enumerate environment, with enumitem and etoolbox: \documentclass{article} \usepackage{enumitem} \usepackage{etoolbox} \newlist{alternate}{enumerate}{1} \renewcommand\labelalternatei{\bfseries\protect\ifnumodd{\value{alternatei}}{A:}{B:}} \begin{document} Some text some text some text some text some text some text some text some ...

2


2

You mentioned the possibility of using an alternative package. You also mentioned a forest, somewhere along the line. Perhaps if you can't see the forest for the trees, you should just draw a forest instead. This solution is based on the current version of forest. I defines a style derivation tree based on your current code. It also defines circular empty ...

2

If you cramp up the horizontal spacing (to rather dangerously small values) then it fits: \documentclass[twocolumn]{svjour3} \usepackage{amsmath} \begin{document} \title{Insert your title here} \author{First Author} \maketitle \section{Section title} \label{sec:1} Some text. Some text. Some text. Some text. Some text. Some text. \vspace{12cm} ...

1

\documentclass{article} \usepackage{refcount} \usepackage{blindtext} \makeatletter \let\latex@@ref\ref \newcounter{pagegaptreshhold} \setcounter{pagegaptreshhold}{2} \newcounter{tmpcntr} \renewcommand{\ref}[1]{% \setcounter{tmpcntr}{\value{page}}% \addtocounter{tmpcntr}{-\getpagerefnumber{#1}}% \ifnum\value{tmpcntr} < 0 % ...

1

\documentclass{article} \usepackage{pstricks-add} \begin{document} \psset{psgrid,gridcoor={(-7,-5)(7,5)}, gridpara={gridlabels=0pt,gridcolor=red!30, subgridcolor=green!30, subgridwidth=0.5\pslinewidth, subgriddiv=2,labelFontSize=\scriptstyle}% } ...

1

Use the ylabelOffset key: \documentclass{article} \usepackage{pstricks-add} \usepackage{auto-pst-pdf} \begin{document} \begin{center} \psset{xunit=1cm,yunit=1cm} \begin{pspicture}(-7.5,-5.5)(7.5,5.5) \psgrid[gridwidth=0.2pt, gridlabels=0pt, subgriddiv=2](-7,-5)(7,5) \psaxes[labelFontSize=\scriptstyle, ticks=none, ylabelOffset=0.08, ...

1

My approach would be to just use major ticks, and to specify explicitly which ones you need. You can use ... in the list of ticks and their labels. I admit that it's kind of repetitive, but I don't know whether it is possible to shorten this syntax further (in a reasonable way). For two decades (as in your example) it's ok I guess. ...

1

For your example, nodes with a monospaced font is sufficient, so you can use something like node[draw,align=center,font=\ttfamily]{imimi\\23451}. That said, a matrix is just a special type of node, so you can actually use node[matrix] {...} in TikZ tree structure. See example below. I also added a simple example of a more manual way of setting things up, ...

Only top voted, non community-wiki answers of a minimum length are eligible