Tag Info

7

We fight with a tag team → enumitem and tasks. \documentclass[12pt,a4paper]{article} \usepackage{enumitem} \usepackage{amsmath} \usepackage[more]{tasks} \NewTasks[ counter-format={tsk[a])}, label-format=\bfseries, label-width=1.5em, label-align=left, %% or right as you wish label-offset=0.5em, item-indent=2em, after-item-skip=0pt, ...

6

Add an appropriate \vphantom and flatten the longer text horizontally: \documentclass{article} \usepackage{amsmath} \begin{document} g'(t) = Df_{\gamma(t)} \bigl( \gamma'(t) \bigr) = \underbrace{\nabla f_{\gamma(t)}}_{\text{gradient}} \hspace{1.5em} \cdot \hspace{1.5em} ...

6

One way to achieve your layout objective is to use pmatrix* environments (in order to right-align all columns), \hphantom statements (to widen various columns as needed), and \mkern directives (to align the left-hand most columns of the Z, V, and R matrices/row vectors). If you're not comfortable with \hphantom directives inside pmatrix* environments, you ...

5

There is a bug in array-xetex-bidi.def, line 90 \let\\\@arraycr \let\tabularnewline\\\let\par\@empty \if@RTLtab\hbox\bgroup\beginR\vbox\bgroup\fi\@preamble} To be more precise, the bug is in \if@RTLtab\hbox\bgroup\beginR\vbox\bgroup\fi which unconditionally inserts the table in a \vbox, making irrelevant the \vtop started with the [t] option. If I ...

4

At coarse resolutions, rules can appear to differ in thickness, because of rounding to pixels. Those rules are exactly 0.4pt thick, because that's the default value when no height or depth keywords accompanied by a dimension follow. For instance at a resolution where 0.4pt doesn't correspond to an integral number of pixels, the viewer will round them and ...

3

Another way, using a minipage environment instead of a tabularx package: \documentclass{article} \usepackage{lipsum} \usepackage[a4paper]{geometry} \begin{document} \begin{tabular}{|l|c|} \hline \begin{minipage}[t]{0.85\textwidth}\lipsum[1]\end{minipage} & top\\ \hline \begin{minipage}{0.85\textwidth}\lipsum[1]\end{minipage} & center\\ ...

3

A full working example: \documentclass{article} \usepackage{amsmath} \usepackage{calc} \begin{document} \newlength{\lowerlength} \newlength{\upperlength} \newlength{\correction} \setlength{\upperlength}{\widthof{$\gamma'(t)$}} \setlength{\lowerlength}{\widthof{\scriptsize tangent to level line}} ...

3

Your original display is at the top, with my suggested alteration at the bottom: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{tabular}{p{5cm}p{5cm}} {\begin{align} \underset{u(t), \eta(t), r}{\text{min}}&\quad\int_{0}^{t_f}y^Ty dt\nonumber\\ \text{s.t:}&\quad \int_{0}^{t_f} u^Tu\leq f_{1,k}\nonumber\\ ...

3

Here's a solution that uses two minipage environments to house the align* environments. Note the use of \vphantoms in the right-hand minipage to ensure that the equations' rows line up across the two sets of equations. \documentclass{article} \usepackage{amsmath} \newcommand\tran{{}^T\!} % well-spaced transpose op. \begin{document} \begin{minipage}{5cm} ...

3

Well, one more possible solution: \documentclass[border=3mm, preview]{standalone}%preview enable showing math \usepackage{mathtools} % loads amsmath too \begin{document} \begin{align*} \min_{u(t),\eta(t),r} &\quad \int_{0}^{t_f} y^Ty dt &\Longrightarrow && \min_{u(t),\eta(t),r} &\quad z_2(t_f) ...

3

Maybe this is what you mean, with a simpler code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{mathtools, nccmath} \begin{document} \begin{align*} & \begin{aligned}[t] &\!\min_{\mathclap {u(t), \eta(t), r}}\quad\int_{0}^{t_f}y^Ty dt\\ & \text{\footnotesize s. t. \enspace}\mathrlap{\medmath{\begin{array}[t]{|l} ...

3

So far nothing wrong with your code. However, you declared width=20cm, and then scale it to 0.75 I suggest you to set width=\textwidth, height=75mm (or height left to 100mm, if you like to have only this figure on the page, this is not clear from your question) and omit scale option. I slightly simplify your code: \documentclass{book} ...

3

You can use a PGFplots groupplot. I've used \textwidth to set the width of the group, you don't need to exceed this size. Code \documentclass[11pt]{book} \usepackage[top=3cm,bottom=3cm,left=3.2cm,right=3.2cm,headsep=10pt,a4paper]{geometry} \usepackage{graphicx} \usepackage{tikz} \usepackage{float} \usepackage{pgfplots,pgfplotstable, booktabs} ...

3

You can scale then with \left\lvert and \right\rvert, just as with parentheses. f_{3,2} = \left(\sqrt{13} - 2 - \left\lvert \frac{\sqrt{13}}{6} + 2 - 2\sqrt{7}\left(1 + \delta V\right) \right\rvert \right)/4 If you load the mathtools package, you can use a \DeclarePairedDelimiter command which simplifies scaling delimiters: writing ...

3

You can use the matrix library of TikZ together with the positioning library to achieve something like this: Code \documentclass[tikz, border=2mm]{standalone} \usetikzlibrary{matrix, positioning} \begin{document} %\matrix (m) [matrix of math nodes,left delimiter=(,right delimiter=), % inner sep=2pt,outer sep=0pt]{ % a & b & [1em] 0 \\ % c ...

2

You're forgetting some &: \documentclass{article} \usepackage{showframe}% just for the example \usepackage{amsmath,amsfonts,amssymb,amsthm, bm} \begin{document} \begin{flalign} &\text{For the \emph{steady-state filter system}} & \bm{\Phi}_{f} & = (\mathbf{I}-\bar{\mathbf{K}}\mathbf{h}')\bm{\Phi} &&\\ &\text{For the ...

2

You can obtain it with [t] option to array environment. \begin{equation*} \begin{array}[t]{ll@{}ll} \text{minimize} & \|Ax-b\|_\infty &\\ \end{array} \quad \begin{array}[t]{ll@{}ll} \text{minimize} & t &\\ \text{subject to} & Ax-b \preceq t \mathbf{1} & \\ & -(Ax-b) \preceq t \mathbf{1}& \\ \end{array} \end{equation*}

2

I can't imagine less markup than this: \documentclass{article} \usepackage[demo]{graphicx} \begin{document} \begin{figure} \centering \begin{tabular}{@{}c@{}} \includegraphics{image} \end{tabular}\qquad \begin{tabular}{ll} \hline column1a & column2a \\ column1b & column2b \\ column1c & column2c \\ \hline \end{tabular} \caption{A ...

2

Here are two ways. The preferable one depends on the context, which has not been provided by the OP. Also, the term "just below" the dot is a bit ambiguous, as well. In Method I, a tabto approach is employed. This has the advantage of allowing the undertext to continue to line wrap to the beginning of the following line. (No mention is made by the OP if ...

2

You can try this (using pdftex): \newdimen\tstrutdim \def\tstrut{\lower.3\tstrutdim\vbox to\tstrutdim{}} \def\crl{\cr\noalign{\hrule}} \def\rotitem#1{\noalign{\setbox0=\hbox{ #1 }\global\tstrutdim=.5\wd0} \ \pdfsave\pdfsetmatrix{0 1 -1 0}\llap{ #1 \kern-.7\tstrutdim}\pdfrestore } \vbox{\offinterlineskip \tstrutdim=16pt ...

2

I'm sure there is a more elegant way, but a crude approach is to calculate the difference in width between each of the smaller left compounds (the first two) and the largest (the last) and add that as \hspace before the start of the smaller reactions. Showing each step: \documentclass[a4paper,pdftex,ngerman,12pt]{article} \usepackage{chemfig} ...

2

Either you specify some (explanatory) text after \begin{ex} or add the ~ character after \begin{ex}. The 'problem' is due to the definition of ex and \newtheorem and not related to the answers package at all. \documentclass{memoir} \usepackage{answers} \Newassociation{sol}{Solution}{ans} \renewcommand{\Solutionlabel}[1]{\small{#1.}} ...

1

Here are two possibilities, usng the makecell package, which allows line breaks for the \rotcell command: \documentclass[]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{geometry} \usepackage{booktabs} \usepackage{array, multirow} \usepackage{rotating, graphicx} \usepackage{makecell} \setcellgapes{4pt} \begin{document} ...

1

I would do this, but I am sure there is a better solution. $\text{This is the point} \ \text{. below which i wish to begin the next statement}$ $\phantom{\text{This is the point}} \ \text{I wish to start this statement from just below the dot}$

1

By help of tables nesting and use m column type from package `array: \documentclass[letter]{article} \usepackage{array,booktabs,paralist}%enumitem \usepackage{lipsum} \begin{document} \begin{tabular}{c m{2in} m{2in}} \toprule & \hfil \textbf{ColName1} & \hfil \textbf{ColName2} \\ \midrule \textbf{RowName1} & ...

1

Is this what you are looking for? \documentclass{book} \usepackage{pgfplotstable} \pgfplotsset{compat=1.12} \usepackage{booktabs} \usepackage{longtable} \usepackage{filecontents} \begin{filecontents}{dataa.dat} k z xbar Pkp1 Kkp1 1 12.0000 10.0000 0.2222 0.1111 2 17.7735 15.7735 1.3846 0.6923 3 21.1068 19.1068 0.5306 0.2653 4 23.0313 21.0313 ...

1

Since the input in the OP's question has the appearance of a spreadsheet, it is possible that the OP would prefer a tabular solution, rather than one set in mathematical notation. The only twist for adapting it was the introduction of \mybig{rows}{glyph} for making large parens. Currently, column alignments are centered, but that is easily customized. ...

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