9

Edit the code of the second and third table as follows \begin{tabular}[t]{@{}|l|p{4.5cm}|l|l|l|l|} ...... \end{tabular} \quad \begin{tabular}[t]{@{}|l|p{4.5cm}|l|} ...... \end{tabular} Rest of the code remains same


5

Three possibilities, I think multline is possibly the most semantically correct here, it is a single equation, split over thelines, but use whichever layout you like \documentclass{article} \usepackage{amsmath} \begin{document} gather \begin{gather}\nonumber \begin{bmatrix} \dot{a}\\ \dot{b}\\ \dot{c}\\ \dot{d}\\ \dot{e} \end{bmatrix} = \begin{bmatrix} -...


5

You can use what's suggested in https://tex.stackexchange.com/a/59660/4427, namely baseline=-\the\fontdimen22\textfont2 Code: \documentclass{article} \usepackage{amsmath} % math \usepackage{amssymb} % math \usepackage{amsthm} \usepackage{graphicx} % to use \includegraphics{} \usepackage{tikz} \usepackage{tikz-feynman} \begin{document} %propagator line \...


4

A solution as I suggested in a comment, and a simpler one, based on eqparbox: \documentclass{article} \usepackage{graphicx} \usepackage{array} \newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \usepackage{eqparbox} \begin{document} \begin{table} \centering \begin{tabular}{|C{2em}|C{2em}|}\hline \...


4

In order not to guess about the width of the material on the right side, you can use tabularx and nest array and tabular in it. \documentclass{article} \usepackage{geometry} \usepackage{amsmath,bm} \usepackage{tabularx,array} \usepackage{arydshln} \geometry{ a4paper, total={170 mm,257 mm}, left=20 mm, top=20 mm, } \begin{document} \noindent\textbf{...


4

I suggest you use a tabular* environment and switch the relative font size to \footnotesize; this will let you get rid of the \resizebox wrapper. To get the cell contents to be centered vertically, I suggest using the m rather than the p column type for the first column. Last but not least, I'd give the table a much more open "look" by getting rid ...


4

One workaround for your main issue is using minipage for placing the image inside the table cell with centering and the full width of the cell. You can then use \vspace to adjust its vertical alignment. You can change the number of -0.8 at \vspace{-0.8\baselineskip} for shifting the image up or down in the cell. You then obtain something like this: Full ...


3

Like this? \documentclass[a4paper,10pt]{article} \usepackage[hmargin=2cm,top=4cm,headheight=6cm,footskip=65pt]{geometry} \usepackage{graphicx} \usepackage{array, makecell, multirow} \newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} % clear header and footer \renewcommand\headrulewidth{0pt} % no ...


3

Two cases with use of the rotating and makecell packages: \documentclass[12pt]{article} \usepackage{rotating} \usepackage{makecell} \renewcommand\theadfont{\normalsize} \begin{document} \begin{table}[ht] \centering \settowidth\rotheadsize{Long Long longer longer heading 2} \begin{tabular}{|c|c|} \hline \rothead{Long Long heading} ...


3

Here's a quick fix by framing the word with \hfill, the second is followed by \strut (zero width character). \hline \hfill Nama\hfill \strut&t-norm&t-conorm\\ \hline \documentclass[a4paper,oneside,11pt]{book} \usepackage[left=4cm,right=3cm,top=4cm,bottom=3cm]{geometry} \usepackage{graphicx} \usepackage{amsmath} \begin{document} \begin{table}[h!] ...


3

Probably not too elegant since I used nested tabulars to position math elements, texts and lines. \documentclass[12 pt, a4paper]{book} \usepackage{multicol} \usepackage{geometry} \geometry{ a4paper, total={170 mm,257 mm}, left=20 mm, top=20 mm, } \usepackage{amsmath,bm} \usepackage{amsfonts} \usepackage{...


3

Ìt is very simple to obtain with pst-feyn and pst-node: \documentclass{article} \usepackage{pst-node, pst-feyn}%, \usepackage{auto-pst-pdf} \begin{document} \[ % \pnode[0,0.6ex]{A}\hspace{3.5em}\pnode[0,0.6ex]{B}\mkern 7mu = \frac{1}{i\omega_n-\epsilon_k},\qquad \pnode[0,0.6ex]{C}\hspace{3.5em}\pnode[0,0.6ex]{D}\mkern 7mu = \frac{1}{i\omega_n-\lambda} \...


2

Probably the following gets closer to the desired output. (Lines indicate margins): \documentclass{scrreprt} \usepackage{caption} \usepackage{graphicx} \usepackage{showframe} \usepackage{lipsum} \usepackage[export]{adjustbox} %for the valign=t option \begin{document} \noindent \begin{minipage}[t]{0.38\textwidth} \lipsum[2] \end{minipage} \hfill \begin{...


2

In {NiceTabular} of nicematrix, you have a built-in command \rotate to do that. However, you have to rebuild c columns with multicolumn since you want to use your C type columns elsewhere. \documentclass{article} \usepackage{nicematrix} \newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \NiceMatrixOptions{cell-space-top-...


2

My proposal.... \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{graphicx} \begin{document} \begin{table}[h] \centering \begin{tabular}{|c|c|} \hline \rotatebox{90}{Long Long heading~} & \rotatebox{90}{Long Long longer longer heading 2~} \\ \hline \multicolumn{1}{|c|}{\begin{tabular}[c]{@{}c@{}}Text\\ 1\end{tabular}} & \begin{tabular}[...


2

I propose this variant code, also based on tabularx, but using a matrix environment and \Longstack for the part under the dashed line: \documentclass{article} \usepackage{geometry} \usepackage{amsmath,bm} \usepackage{tabularx} \usepackage{arydshln, booktabs,} \usepackage[usestackEOL]{stackengine} \geometry{a4paper, total={170 mm,257 mm}, left=20 mm, top=20 ...


1

In order to avoid the overlap of the \cmidrule with the \multirow texts, move the \cmidrule commands right after the \cmidrule that spans both "chemical" columns, instead of after the \cmidrule that spans all 4 "Characteristics" columns. I have also included a second example that avoids the use of rotated table headers in a landscape ...


1

Another variant, using \multirowcell and taking into account that the number argument of multirow is not the number of rows, but the number of lines, which is not necessarily the same. In addition, your cells are unusual, since they include invisible rules to ensure a fixed height. So I put the multirow in the second row, with a negative, decimal number ...


1

Here are two solutions, including one for numbered equations: \documentclass{article} \usepackage{amsmath} \begin{document} Here is a list containing two unimaginative equations: \begin{enumerate} \item \leavevmode\vspace*{-\dimexpr\abovedisplayskip + \baselineskip}\begin{align} x^2 - 2x - 8 &= x^2 - 4x + 2x - 8\\ &= (...


1

Here's another solution option that generates a single, vertically centered equation number: a combination of equation and split (or aligned) environments. I would also like to suggest that you align the numbers in the two matrices on their respective decimal points in order to make them easier to eyeball and (hopefully) study carefully. This may be achieved ...


1

\documentclass{article} \usepackage{amsmath} % math \usepackage{amssymb} % math \usepackage{amsthm} \usepackage{graphicx} % to use \includegraphics{} \usepackage{tikz} \usepackage{tikz-feynman} \begin{document} %propagator line \begin{equation} \begin{tikzpicture}[baseline=(current bounding box.base)] \begin{feynman} \vertex (a); \...


1

paracol is a good choice. \documentclass{scrreprt} \usepackage{caption} \usepackage{mwe} \usepackage{paracol} \begin{document} \begin{paracol}{2} \lipsum[2] \switchcolumn \includegraphics[height=10cm]{example-image-9x16} \captionof{figure}{Caption\\Long Caption} \switchcolumn* \lipsum[3] \switchcolumn \includegraphics[height=5cm]{example-...


1

A lot of things are going on here. To remove all white space between the boxes, this would be the appropriate settings: \documentclass[t]{beamer} \usepackage{tikz} \makeatletter \define@key{beamerframe}{t}[true]{% top \beamer@frametopskip=0pt\relax% \beamer@framebottomskip=0pt plus 1fill\relax% \beamer@frametopskipautobreak=\beamer@frametopskip\...


1

Here is an alternavite using two side-by-side top aligned minipages and the seriesand resume keys for the outer enumerate environment: \documentclass{article} \usepackage{enumitem} \begin{document} \begin{minipage}[t]{0.5\textwidth} \begin{enumerate}[label=\Alph*., series=outer] \item First \begin{enumerate}[label={\arabic*.}] \item \emph{Trial ...


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