5
A possibility with \substack:
\documentclass{article}
\usepackage{mathtools}
\DeclarePairedDelimiter{\norm}{\lVert}{\rVert}
\begin{document}
\begin{equation*} \lambda_{2}~\frac{1}{\alpha}\displaystyle\sum_{\substack{ j \in \\ \mathclap{[\mathcal{R}\setminus\{i\}]\dot{\cup}\mathcal{O}}}}\dfrac{\norm[\big]{q_{i}-q^{T}_{i}}^{\frac{1}{\alpha}}}{\norm{q_{i}-...
4
You have no \hfill between minipages.
There's a much simpler solution:
\documentclass{article}
\usepackage{showframe} % to show page boundaries
\begin{document}
\noindent
{\Huge Large text}\hfill
\begin{tabular}[b]{@{}r@{}} small text 1 \\ small text 2 \end{tabular}
\end{document}
4
Insert a dummy superscript.
\documentclass[a4paper,12pt]{book}
\begin{document}
\begin{equation}
\label{dipole}
\langle AJ_{K^{}_{a}K^{}_{c}}\vert \mu \vert A{J'}_{K'_{a}K'_{c}}\rangle \neq 0
\end{equation}
\end{document}
3
You could just write the constraints in two lines. This will also make it easier for the reader to see the difference between these two sums.
\documentclass{article}
\usepackage{mathtools}
\DeclarePairedDelimiter{\norm}{\lVert}{\rVert}
\begin{document}
\begin{equation*}
\lambda_{2}~\frac{1}{\alpha}
\sum_{\mathclap{\begin{smallmatrix}
j\ne i\\
j\in\...
3
\documentclass{standalone}
\begin{document}
\noindent
\begin{minipage}[t]{0.49\textwidth}\vspace{0pt}
{\fontsize{2\baselineskip}{0pt}\selectfont large Text\par}
\vspace{2pt}% interlineskip
small text 3
\end{minipage}
\hfill
\begin{minipage}[t]{0.49\textwidth}\vspace{0pt}\raggedleft
small text 1\\
small text 2\\
small text 3
\end{minipage}
\end{document}
3
I suggest that you define two new sets -- say, \mathcal{R}_1 and \mathcal{R}_2 -- to run the summation indices over.
Incidentally, since the contents of an equation* environment are typeset in display style by default, the two \displaystyle directives and \dfrac (instead of just \frac) do nothing except add code clutter. Omit them.
\documentclass{article}
\...
2
Welcome to TeX.SE!
Please consider posting a complete MWE next time. I added some missing parts to my answer, but missed the grey background color in the heading line. Consider this as your homework ;-)
LaTeX basically knows two types of columns. One type, where LaTeX calculates the width of the column itself. The letters l, c and rrepresent this type ...
2
An XY question? Instead of messing with minipages, why not a simple table?
\documentclass{article}
\usepackage{multirow}
\begin{document}
\sffamily
\begin{tabular}{ll}
\multirow{2}{*}{\huge Large text} & small text \\
& small text \\
\end{tabular}
\end{document}
2
Here is something to play with, I've added some lines so one can see the alignment. The sizes used are a bit of a fluke. The only thing we know for certain for the right part is the distance between the two baselines as we set it as the second arg of the font size of that box, the rest will often be some hand adjustment.
% all font sizes
\RequirePackage{fix-...
2
How about
...\mathclap{\rule{0mm}{4mm}j...
2
There are two issues.
First and foremost, there is a bug in pgf that inserts spurious spaces. A temporary fix of the bug has been provided here. In future versions of pgf, this bug will be fixed.
Second, [t] in \begin{tabular}[t]{...} does not top-align the cells in the table. I added a column type T that does that using collcell and adjustbox.
Code:
\...
2
You can define a command like
\newcommand\signature[1]{%
\par\vspace{8ex}\noindent
\begin{tabular}[t]{@{}l@{}}
\makebox[15em]{\dotfill}\\
#1
\end{tabular}
\hfill
\begin{tabular}[t]{@{}c@{}}
\makebox[15em]{\dotfill}\\
Date
\end{tabular}
}
and use it like that:
\documentclass{article}
\newcommand\signature[1]{%
\par\vspace*{8ex}...
answered Nov 26 at 13:36
gernot says Reinstate Monica
28.9k22 gold badges3434 silver badges7373 bronze badges
1
There are two issues here. First, don't use escapeinside for highlighting parts of the listing, but set up a proper delimited environment instead:
moredelim=[is][\color{orange}]{(}{)},
This defines a new environment delimited by ( and ) with invisible delimiters. As opposed to escapeinside all typesetting is done inside the listing's special parsing ...
1
This is because all the macros get expanded in the internal routines of the package. The package has a key label macro for wrapping macros around the labels. However, as the dynkin-diagrams is TikZ based, there is a very simple fix using the every label key:
/tikz/every label/.append style={text height={height("b"}}
I survey several options in this ...
1
For the first part of your query, use an align* environment and several array environments. For the second part, use an array environment.
I would further like to suggest that you compile your document under LuaLaTeX, load the unicode-math package, and load suitable text and math fonts, e.g., Stix Two Text and Stix Two Math.
% !TEX TS-program = lualatex
\...
1
You need to adjust the label-width and item-indent settings to be larger:
\documentclass{article}
\usepackage{amsmath,tasks}
\begin{document}
\begin{tasks}[
label={(\alph*)},
label-align=left,
label-offset={0mm},
label-width=20pt,
item-indent=20pt,
label-format={\bfseries},
column-sep=-30mm,
after-item-skip=-1mm,
...
1
Something like this?
(red lines indicate page layout)
your table is to wide for standard page layout, consequently I suggest to take two measures:
increase \textwidth (by use of the geometry package)
reduce font size to \small
for table environment use tabularx
define new column type C derived from X column type
define new command for shorter writing of ...
1
The mechanism in stackengine's ...Vectorstack series of macros uses a technique that preserves the baselineskip between rows, so that the vertical alignment between
unique vector stacks is preserved. The baselineskip for these so-called "long" stacks is set by \setstackgap{L}{<length>}.
\documentclass{article}
\usepackage{amsmath,stackengine}
\...
answered Nov 15 at 10:55
Steven B. Segletes
176k99 gold badges225225 silver badges457457 bronze badges
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
vertical-alignment × 2861tables × 678
horizontal-alignment × 367
tikz-pgf × 242
spacing × 204
graphics × 172
align × 144
beamer × 131
math-mode × 126
minipage × 121
equations × 113
floats × 109
tabularx × 96
subfloats × 82
lists × 80
amsmath × 67
multirow × 64
boxes × 63
positioning × 53
longtable × 52
multicol × 52
enumerate × 50
itemize × 49
arrays × 49
matrices × 46