# Tag Info

5

Use axis y line*=right, % and axis y line* = left too instead of axis y line=right, The starred version affects only the axis line leaving other things like positions of axis labels, tick lines etc. Since you are using \pgfplotsset inside the tikzpicture environment, it is better to add ylabel style={rotate=-90}, in it. To remove arrows from axis use ...

1

You were on right way ... you need just add style={rotate=-90}, to the second axis, or even better, put it with other common parameters into \pgfplotsset{...} . If you add here set layers, you will obtain borders aroun image without arrows. Slightly rearranged and simplified your code, which generate above image is: \documentclass[border=2mm, ...

1

The \label is outside the group, \section is enclosed, thus the closing argument brace should include the \label command: pagecommand={\section{appendixA}\label{mylabel}} In the form of the question pagecommand={\section{appendixA}}\label{mylabel}, the curly braces act as group: pagecommand=\begingroup\section{appendixA}\endgroup\label{mylabel} and ...

4

Extending touhami's idea, but making it work also for nonstandard chapter numbers (like for theorems in an appendix), I make \p@theorem expand to \compare@theorem{\thetheorem}, where \compare@theorem is a protected macro; thus only \thetheorem is expanded when writing to the .aux file. The macro \compare@theorem uses \pdfstrcmp (under the abstraction ...

3

The following solution weighs way more than the rather clever approach of @touhami; in exchange you gain more flexibility regarding changes to the theorem interface. How to use it: After defining a new theorem environment using \newtheorem you can use the new command \theoremnum to specify a numbering that is indipendent from the reference mechanism. (The ...

0

I think that the best solution is to use \newtagform from mathtools to define a new "tag form" for the equation numbers. For any given equation the label and reference "arguments" are static text that does not need to be processed by the macro (just by TeX). Therefore, the new tag form can be defined as: \newtagform{argumenttag}{(}{, \tagargument)} where ...

6

Here is what you want Theorem's label \renewcommand{\thetheorem}{\arabic{section}.\arabic{theorem}} LaTex uses a prefix \p@counter for cross-referencing i.e. a reference to a theorem produce \p@theorem\thetheorem in this case \p@theorem= null inside chapter and \p@theorem=chapter number outside. \p@theorem=\ifnum\thechapter=chapter of ...

1

This is a solution based on the shortlst package, with a small patch: I introduced $3$ keys: nc (number of columns; $3$ by default), il (interline stretch, 1 by default, may be useful in case of very high formulae) and ls (the value of \labelsep, 0.6em by default). It also uses xkeyval and setspace. An \item, if larger than one column, will occupy as many ...

4

Modified egreg's answer from the link provided in the question. \documentclass{article} \setlength{\parindent}{0mm} \usepackage{paralist} \usepackage{tabto} \newenvironment{tabbedenum}[1] {\NumTabs{#1}\inparaenum\let\latexitem\item \def\item{\def\item{\tab Problem~\latexitem}Problem~\latexitem}} %%<<-- just add Problem~ here {\endinparaenum} ...

1

Like this? \documentclass{article} \usepackage[inline]{enumitem} \begin{document} \begin{enumerate*}[label=Problem (\arabic*)] \item first \item second \item third \end{enumerate*} \end{document}

4

Here's a method which uses the tikzmark library for TikZ: \documentclass{article} \usepackage{tikz} \usetikzlibrary{tikzmark,decorations.pathreplacing,calc} \usepackage{bussproofs} \begin{document} \begin{prooftree} \AxiomC{\tikzmark{a}$X\vdash\phi\rightarrow\psi$\tikzmark{b}} \AxiomC{\tikzmark{c}$Y\vdash\phi$\tikzmark{d}} ...

4

Not being a proof guy, and without an image, I'm sort of guessing at how to interpret the OP's request. Here is my guess. I introduce \pointupat[<alignment>]{math content}{text description} as well as \ltxtoverbrace{<length>}{text description}. Obviously, a \pointdownat macro could be similarly composed. Here is the MWE. ...

1

I suggest you make the following changes: For the first argument of \captionof, do not use longtable; use table instead. Why? The syntax of this command is \captionof{<float type>}[<list entry>]{<heading>} The first argument should therefore be either figure or table, but not longtable. Note that longtable is not a "float" in the LaTeX ...

6

Here is a solution, based on blkarray, multirow and \bigstrut: \documentclass{book} \usepackage{amsmath, bm} \usepackage{blkarray, multirow, bigstrut} \newcommand\mystrut[1][0.6ex]{\setlength\bigstrutjot{#1}{\bigstrut[t]}} \usepackage{bm} \begin{document} \[ \bm{O}_4(2\phi) = \begin{bmatrix} \!\!\!\begin{blockarray}{c c c c} 1 & 0 & 0 & 0 ...

8

You can, with some tricks: \documentclass{article} \usepackage{amsmath} \begin{document} \[ \boldsymbol{O}_{4}(2\phi)= \begin{bmatrix} 1 & \mspace{-12mu} \begin{matrix} 0 & 0 & 0 \end{matrix} \\ \begin{matrix} 0 \\ 0 \\ 0 \end{matrix} & \mspace{-12mu} \begin{bmatrix} \vphantom{\begin{matrix} 0 \\ 0 \\ 0 \end{matrix}} ...

2

\label doesn't produce tags; it just sets the string for cross-referencing the object; in your code, however, \label is doing nothing since there's no numbering for eventual cross references. To have your equation numbered, since it fits in one logical line, you can use the equation environment, which automatically produces numbering (which can be further ...

Top 50 recent answers are included