# Tag Info

0

Hm, very unusual request ... however if you persist, try \documentclass{article} \usepackage{amsmath} \usepackage{tabularx} \begin{document} \begin{subequations} \begin{tabularx}{\hsize}{@{}XXXc@{}} $$\label{eq:UBCs_D100} Re = \frac{U L}{\nu}, \notag \addtocounter{equation}{1}$$ ...

8

In this code I define a \parunderbrace command, with two arguments, which adjusts automatically to the width of the formula: \documentclass{article} \usepackage{mathtools} \usepackage{ragged2e} \newlength\ubwidth \newcommand\parunderbrace[2]{\settowidth\ubwidth{$#1$}\underbrace{#1}_{\parbox{\ubwidth}{\scriptsize\RaggedRight#2}}} \begin{document} ... 14 If you want to change the behaviour of \underbrace globally you could say \documentclass{article} \usepackage{amsmath} \makeatletter \let\ams@underbrace=\underbrace \def\underbrace#1_#2{% \setbox0=\hbox{\displaystyle#1}% \ams@underbrace{#1}_{\parbox[t]{\the\wd0}{#2}}% } \makeatother \begin{document} \underbrace{f(x) = a^2 + 2ab + b^2}_{This is some ... 5 Here is a slightly different solution, with the alignat environment, and the \mathrlap command from mathtools, an extension of amsmath. I also suggest another layout, using alignat and aligned: \documentclass{article} \usepackage{mathtools,amssymb} \usepackage{lipsum} \usepackage{eqparbox} \def\cdotsfill{\leavevmode \leaders\hbox{\cdots}\hfill \kern0pt} ... 1 The command to remove the equation number is \notag. Here a MWE. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{gather} \rho=a*b \notag\\ \alpha=2*\rho. \end{gather} \end{document} 5 Try $$\begin{gathered} \rho=a*b \\ \alpha=2*\rho. \label{eqn_one} \end{gathered}$$ equation provides one number for content, which is in gathered environment. Number is vertically centered. It centers two equations. For use of gathered, you need load package amsmath in preamble. 0 Thanks guys for your concern. I solved the problem. It looks like there wasn't any problem with the document structure and latex code, but with my files! When I started writing this document in LaTeX, a haven't mark the option in TeXmaker, that every "build" files would go to new folder "build", and in some time, when I was working on other documents, I ... 2 One solution is to use standalone instead of externalize (which has the advantage of being far more efficient as well). \documentclass[multi={tikzpicture}]{standalone} \usepackage{tikz,pgfplots} \begin{document} \begin{tikzpicture}[scale=1] \begin{axis}[legend pos=outer north east] \addplot[red,domain=1:2] {x^2}; \addlegendentry{x^2}; ... 0 I created a partial MWE, but without access to the university .sty file I couldn't get \listofalgorithms to do anything. Using \label and \ref worked as expected. The only thing written to the lom file was the title line. You should search for anything involving \@writefile{lom} or at least \@writefile. \documentclass{book} \usepackage{lipsum} ... 1 Using stacks: \documentclass{article} \usepackage{amsmath,stackengine} \stackMath \begin{document} \[ \sum_{p,q}g^{pq}A_{1\ldots \stackengine{2pt} {\scriptstyle p} {\scriptstyle\text{ath position}\rule[1pt]{2ex}{.5pt}\mkern-5mu\raisebox{1.1pt} {\stackon[-.1pt]{\rule{.5pt}{9.1pt}}{\uparrow}}}{U}{r}{F}{T}{S} \ldots \stackengine{2pt} {\scriptstyle ... 0 A simpler, yet not exactly identical, solution without using tikz is: \documentclass{article} \begin{document} \[ \begin{array}{c} A_{1\ldots pq\ldots4}\\ \;\;\swarrow\;\searrow\\ a\mbox{th position}\qquad b\mbox{th position} \end{array} \end{document}

1

The label=... syntax gives a clue that enumitem is used. \boxed is from amsmath or mathtools package, but it doesn't need to be enclosed with a $...$ pair, since it's basically the same as \fbox. \documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate}[label={\fbox{\Alph*}}] \item text text text \item text text text \item ...

0

You can define a non-floating environment which can break over pages and put the minted environment in that one. This is a documented feature: 8 FAQ and Troubleshooting I need a listing environment that supports page breaks. The built-in listing environment is a standard float; it doesn’t support page breaks. You will probably want to ...

1

The texlive-lang-european is for a bunch of European languages, among which there's not French; do sudo apt-get install texlive-lang-french See https://packages.debian.org/stable/tex/texlive-lang-french and https://packages.debian.org/stable/tex/texlive-lang-european for details about the packages.

0

One possible way of achieving this "manually" would be: \documentclass{article} \usepackage{paralist} \begin{document} \begin{compactenum}[\bfseries I.] \item \textbf{Some text:} item one. \item \textbf{Some other text:} item two. \end{compactenum} \end{document} Which would look like this: If you want the same kind of coustom text for all ...

1

The position of the label is calculated through the auto option. It is designed to make labels floating alongside the curve without overlapping. As a result the pin-edge is nearly orthogonal to the tangent line for safety. It is not difficult to override auto but it may ruin the whole engine. A workaround is to use the temporary point (label visualizer ...

4

New solution answering the question You want to build headings to your problems and their parts using information appearing later in the document. The obvious way to do this is using \label and \ref but as you want to do this behind the scenes the label names need to be generated dynamically. Dynamic labels for cross-referencing Below I have defined two ...

0

You can also consider using \stackrel \stackrel{\rm{1:1}}{\rightarrow}

3

(La)TeX can not balance square brackets and it gets confused thinking that the ] in f[x] is closing the opening [ from \datavisualization; help it by using an extra pair of braces,as in {$f[x]$} so the inner brackets are hidden: \documentclass{article} \usepackage{tikz} \usetikzlibrary{datavisualization} ...

2

According to the documentation of ntheorem, section 3.2.1, you should add the option amsmath together with thmmarks if you load the amsmath package: \usepackage[amsmath,thmmarks]{ntheorem} Full example: \documentclass[a4paper,11pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{paralist} ...

2

Using a more simplified example you can see it's the thmmarks option that causes the problem \documentclass[a4paper,11pt]{article} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage %[thmmarks] {ntheorem} \numberwithin{equation}{section} \newtheorem{mydef}{Definition}[section] \begin{document} \section{First section} \begin{mydef}[Something] ...

3

In RL mode (arabic or farsi text) numbers should by coded using \I{123} to be typested in arabo-indic digits or extended arabo-indic digits. \textLR{123} to be typested in arabic digits. Here we can use (\I{\ref{eq:label}}). We can redefine \ref command like this \let\arref\ref \renewcommand{\ref}[1]{\I{\arref{#1}}}

Top 50 recent answers are included