Tag Info

9

For one-off spacing changes, \smallskip, \medskip, and \bigskip are defined for this task. \documentclass{article} \newcommand\TestSkip[1]{% \begin{minipage}[t]{0.2\linewidth} \raggedright This is some dummy text. #1 This is some dummy text. \end{minipage}} \begin{document} \TestSkip{} \TestSkip{\smallskip} \TestSkip{\medskip} ...

7


7

There is a TeX math-mode primitive called \atop that does exactly what you need. However, it uses so-called infix notation and is not widely used in LaTeX. Fortunately, it's not difficult to create a LaTeX-style macro called, say, \myatop that mimics the syntax of the LaTeX macro \frac. In fact, the construction of the \myatop macro in the example below is ...

7

You might use anchors something like this to align the items in the legend on the left (i.e. west) side: %Legend \node[anchor=east] at (-9,-6) (leg1) {$1$. PSU}; \node[below=1mm of leg1.south west, anchor=north west] (leg2) {$2$. Sputter Source}; \node[right=6mm of leg1,anchor=west] (leg8) {$8$. Pumps}; However, you will probably need ...

5

Here's an example which makes simple use of flowfram. The package also supports non-rectangular frames but you cannot have the text automatically flow into and out of such frames. See the documentation for details. \documentclass[a4paper]{article} \usepackage{xcolor} \usepackage{flowfram} \pagestyle{empty} ...

5

It is sometimes easy to forget that nodes are very flexible and powerful with respect to the text they can contain. Pure TikZ solutions are possible, of course, as the other answers show. But TikZ/TeX solutions to the problem exist as well. Try this with a minipage environment: \node at (-9,-6) (leg) {% \minipage{4cm} %% alter to suit 1. PSU\\2. ...

5

\documentclass{article} \usepackage[T1]{fontenc} \usepackage{fouriernc} \usepackage{mathtools} \usepackage{amsthm} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} \begin{align*} \omega_{1}^2&=1-2\sqrt[3]{19}+\sqrt[3]{19^2}\\ \omega_{1}^{2}&=b\omega_{1}+a\omega_{2}+r\\ a=3, & \qquad b=-3, \qquad r=-3 \\ ...

4

You can use $\vcenter{...}$: \documentclass{article} \usepackage{graphicx} \usepackage{longtable,amsmath,tabularx} \begin{document} \begin{longtable}{m{0.2\linewidth} m{0.7\linewidth}} \hline $\vcenter{\includegraphics[keepaspectratio,width=\linewidth]{example-image-a.jpg}}$ & \$\!\begin{aligned} A &= b\cdot{}h\\ P &= 2(b+h)\\ ...

4

You can use adjustbox package with export option so that the keys are available inside the \includegraphics command. \usepackage[export]{adjustbox} and then use valign=c \includegraphics[keepaspectratio,width=\linewidth,valign=c]{example-image-a.jpg} Code: \documentclass{article} \usepackage{graphicx} \usepackage{longtable,amsmath,tabularx} ...

4


3

Since you are loading mathtools, you can use its \mathmakebox macro. \documentclass[10pt]{article} \usepackage{mathtools} \usepackage{mathtools} %\usepackage{amsmath} %% already loaded by mathtools \usepackage{amsthm} %for proof \usepackage{calc} %% provides \widthof \begin{document} \begin{align*} \frac{\partial V(u)}{\partial ...

3

You can use split for getting equation numbers and \\[2ex] for the additional space \documentclass[11pt,a4paper,oneside]{report} \usepackage{graphicx} %% no need of pdftex \usepackage[T1]{fontenc} \usepackage{fouriernc} \usepackage{mathtools} \usepackage{amsfonts,amssymb,amsthm} %% no need of amsmath, already loaded by mathtools \usepackage[a4paper, ...

2

You need to put the vspace before the hspace and leave a blank line before the vspace, so it is working in vertical mode.

2

The code could be written as shown below \documentclass{article} \usepackage[pdftex]{graphicx} \usepackage[T1]{fontenc} \usepackage{fouriernc} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} \begin{align*} \omega_{1}^2&=1-2\sqrt[3]{19}+\sqrt[3]{19^2}\\ ...

2

mathtools provides a multlined environment, which is to multline as aligned is to align, so you can use this within the flalign. Note the negative space \!. \documentclass[11pt,a4paper]{article} \usepackage{mathtools} \usepackage{showframe} % to indicate border of text area \begin{document} \begin{flalign*} &D= ...

2

A solution that relies on the stackengine package. I define a \varfrac command in math mode and a \varfractextcommand for textmode. An optional argument is the vertical spacing between the numerator and denominator (separated by \\), that defaults to 8pt. Depending on the contents of the fraction you may reduce or increase this spacing. Another way of ...

2

Here is some dirty method. you have to use proper widths \documentclass[10pt]{article} \usepackage[a6paper]{geometry} \usepackage{longtable} \usepackage{tabu} \tabulinesep = 1mm %% for better look \begin{document} \begin{longtabu} to \textwidth {|X|p{10mm}|p{10mm}|p{10mm}|} \hline \multicolumn{4}{|p{\linewidth}|}{ \centering ...

2


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