# Tag Info

7

They are lot of questions and I did lot of modifications, hence there is no point in giving the list of modifications made. Please study the code: \documentclass[13pt,a4paper,headlines=6,headinclude=true]{scrartcl} \usepackage{pgfplots} \pgfplotsset{compat=1.12} \usetikzlibrary{intersections} \begin{document} \begin{tikzpicture}[scale=1.5] ...

6

You can draw curly braces by using decorations. I shifted the ylabel on the y axis by 1mm because it was right in the middle of the brace, and did a similar thing to the node in the middle of the plot. I also changed the font size to 12pt because my editor was complaining, so you should change it back, but the drawing should be the same. Output Code ...

5


4

I slightly changed your \foreach statement to include [evaluate=\x as \degree using int(\x*30)] and $\degree^\circ$ to print degrees. You can change the steps by changing the number 30. Output Code \documentclass[margin=10pt]{standalone} \usepackage{amsmath,amsfonts,amsthm} \usepackage{gensymb} \usepackage{tikz} \begin{document} \begin{tikzpicture} ...

3

You can use \pgfmathparse to multiply. Since you get the decimals, you may need int also like node[anchor = north] {\pgfmathparse{int(30*\x)}$\SI{\pgfmathresult}{\degree}$}; Note that I have used siunitx for the degrees. \documentclass{article} \usepackage{tikz} \usepackage{siunitx} \begin{document} \begin{tikzpicture} \draw[step = 0.5 cm, gray, very ...

3

@ is not a letter, which can be used in command names. It can be used in class and package files, where @ has category code letter. Otherwise \makeatletter and \makeatother can be used to change the category code: \makeatletter \newcommand{\reqlabel}[2]{% \label{#1}% \protected@write\@auxout{}{% \string \newlabel {#1_long}{{\string\ref{#1} ...

3

you should really have posted these as two separate questions, instead of adding on to the first. but you could try \documentclass{article} \usepackage{amsmath} \begin{document} $$\mathbf{q}=(\mu_1, \mu_2, \ldots ,\mu_{n-2}, \mu_n )^{\text{T}} \label{2}$$ and L = \log(l) = ...

3

Is this what you want: \documentclass{article} \usepackage{amsmath} \newcommand{\pd}[2]{\frac{\partial {#1}}{\partial {#2}}} \begin{document} \begin{align} \begin{split} \pd{EU}{\alpha} &= d(\theta) U'(\pi_{1}) [G_{\alpha}(\alpha, \theta, \epsilon) - \bar{P} C_{\alpha}(\alpha, \theta)] \\ &\quad+ (1-d(\theta)) U'(\pi_{0}) [G_{\alpha}(\alpha, ...

3

here's an approach that should give you the result you're looking for. \documentclass{article} \usepackage{amsmath} \newcommand{\pd}[2]{\frac{\partial {#1}}{\partial {#2}}} \begin{document} \setcounter{equation}{3} \begin{align} \begin{split}\smash[b]{\pd{EU}{\alpha}} &= d(\theta) U'(\pi_{1}) [G_{\alpha}(\alpha, \theta, \epsilon) - \bar{P} ...

2

Use \nonumber (or \notag) to avoid numbering a specific equation inside an align, otherwise it will be numbered (and you can \label-\ref it): \documentclass{article} \usepackage{amsmath,mathabx} \newcommand{\pd}[2]{\frac{\partial #1}{\partial #2}} \begin{document} \begin{align} \pd{EU}{\alpha} &= d(\theta) U'(\pi_{1}) \bigl[G_{\alpha}(\alpha, ...

2

I've just realized that there is, in fact, a simple solution. First, a demonstration of what happens normally (a MWE if you will): settings.outformat="png"; settings.render=4; import three; size(4cm); currentprojection = perspective(2,0.7,0.8); path3 thecircle = circle(c=X, r=0.5, normal=X); surface cyl = extrude(thecircle, -2X); draw(cyl, ...

2

This should solve the issue. The _ will have the right category code when the .aux file is read at begin document. I believe the problem is in the fact that arguments are grabbed “too soon” when hyperref is loaded. \documentclass{article} \usepackage{hyperref} \makeatletter \AtBeginDocument{ \catcode_=12 \begingroup\lccode~=_ ...

2

A way of doing this with MetaPost, for whom it may interest. Mainly a question of choosing the relevant scale for the x-axis, and of allowing a loop inside the labels of this axis, thanks to the \mplibtextextlabel{enable} instruction in the preamble. This makes the string arguments of each label commands be typeset by (Lua)LaTeX through the textext macro, ...

1

A PSTricks solution: \documentclass{article} \usepackage[margin = 3cm]{geometry} % avoid overfull \hbox' warning \usepackage{pst-plot} % axes and grid \usepackage{siunitx} % values with units on x-axis \ExplSyntaxOn \cs_new_eq:NN \calc \fp_eval:n \ExplSyntaxOff % redefines x-axis \makeatletter \def\pst@@@hlabel#1{\ang{\calc{30*#1}}} \makeatother ...

1

Just add another label after the \\. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{subequations} \begin{align} \label{eq:pv-omega} \hat{p} = pv \ll j\Omega \quad \Rightarrow \quad \gamma=2,\\ \label{eq:pv-omega2} \hat{p} = pv \gg j\Omega \quad \Rightarrow \quad \gamma=0. \end{align} \end{subequations} I solved ...

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