Tag Info

Hot answers tagged

10

You can't really nest floating environments (it doesn't make sense logically). That's the main problem, and may stem from the fact that you think you need a table environment in order to place a tabular. That's not the case. You're probably after the following: \documentclass{article} \usepackage{braket} \begin{document} \begin{table}[ht] \centering ...


7

In addition to getting rid of the table and minipage "wrappers", you could also use array environments instead of tabular environments. I suggest this because the contents of the tables are all in math mode, and array environments are meant to be used for math material. (tabular environments, in contrast, are meant for tables that contain mostly text.) Being ...


6

It's much simpler if you use amsmath: \documentclass{article} \usepackage{amsmath} \begin{document} \[ \left\{ \begin{aligned} \omega_{s}^{-} &= 8.43 \\ \omega_{s}^{+} &= 4.43 \\ \omega_{c}^{-} &= -500\\ \omega_{c}^{+} &= 500\\ \end{aligned} \right. \qquad\Longrightarrow\qquad \left\{ \begin{aligned} \Omega_{s}^{-} &= 9 \\ ...


5

I don't think there is any minipage package, but the minipage environment is defined in the LaTeX kernel, so no packages are required to use it. The code you show doesn't work because you've used \caption outside a floating environment (figure), it has nothing to with the minipage or operating system. So you could add a figure environment around the two ...


5

The comments above tell you what to do, the reason that what you did did not do anything is that you were centering the minipages but they were full width already so centering (or flush left or right) does nothing as a full width box is already "centred". Within the minipage the settings are restored closer to default page settings, so if you want to ...


3

Neither table, tabular or minipage add something to the list of tables. This is done by \caption inside table or \captionof{table} (package caption or capt-of). Example: \documentclass{article} \usepackage{caption} \begin{document} \listoftables \newpage \begin{table} \caption{First table} \begin{tabular}{l} foo\\bar \end{tabular} ...


3

Do not leave blank lines between the two objects; a blank line is just \par, so the second object starts a new paragraph: \documentclass{article} \usepackage{tikz-qtree} \begin{document} \begin{figure} \begin{minipage}[b]{0.5\linewidth} \centering \begin{tikzpicture}[scale=.85,sibling distance=0pt] \Tree [.TP [.DP \edge[roof]; {a 'we'} ] ...


3

You know, you don't have to use \maketitle. Or you could \renewcommand{\maketitle}.... \documentclass[twoside]{article} \usepackage{graphics} \usepackage{mwe} \begin{document} \begin{minipage}{0.65\textwidth} {\fontsize{22pt}{10pt}\selectfont\textbf{Title}}\\ \Large \textsc{Name}\\[2mm] \large University \\ \normalsize e@mail.com \\ ...


2

If all you need to do is to place the caption beside the image, then there are other ways than using a multi-column environment, such as using two minipages next to one another, the first with the image, the second with the caption. Another way is to use the captionofbeside environment provided by the KOMA classes. Note that I don't know exactly how wide ...


2

Here is a plain TeX version. I'm not saying this is better in anyway, it's just to show you what can be done with an old fashioned \halign. Note that on the left I've used \openup to increase the line spacing and a \strut to make the left brace more "inclusive"; compare to the cramped version on the right without them. Obviously you'd make them the same ...


1

Not sure why it fixes it, but I subtract 1 from the figure counter before leaving vwcol, and then add it back in after leaving the environment. Something to do with vwcol, I presume, or else as you suspect, and interaction of vwcol and minipage. \documentclass[a4paper,12pt]{scrartcl} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} ...


1

There are many ways, one of them: \documentclass{article} \usepackage{amsmath} \usepackage{array} \begin{document} \[ \left\{ \begin{array}{@{}l@{}>{{}}l@{}} \omega_s^- &= 8.43 \\ \omega_s^+ &= 4.43 \\ \omega_c^- &= -500 \\ \omega_c^+ &= 500 \end{array} \right.\kern-\nulldelimiterspace \quad \Rightarrow ...


1

\begin{equation*} \begin{cases} \omega_{s}^{-} = 8.43 \\ \omega_{s}^{+} = 4.43 \\ \omega_{c}^{-} = -500\\ \omega_{c}^{+} = 500\\ \end{cases} \qquad\implies\qquad \begin{cases} \Omega_{s}^{-} = 9 \\ \Omega_{s}^{+} = 5 \\ \Omega_{c}^{-} = -1\\ ...


1

It's much simpler than what you did : use the cases environment: \documentclass[12pt,a4paper,bothsides]{article} \usepackage[utf8]{inputenc} \usepackage[showframe, nomarginpar]{geometry} \usepackage{mathtools} \begin{document} \[ \begin{cases} \omega_{s}^{-} = 8.43 \\ \omega_{s}^{+} = 4.43 \\ ...



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