# Tag Info

6

This example should lift any doubt about what to measure; note that in the first two cases the hairlines are perfectly superimposed to each other, showing that there's no issue with \Shortstack. On the other hand, the difference you measured is less than 0.4pt, too small to be really noticeable: it depends on the bounding boxes of the characters. ...

11

I think you are just not taking account of sidebearings of the characters so the actual character widths used for centering include some white space. TeX has no information about the glyph shape, it can not tell what parts of a specified character width are black. \documentclass{article} \usepackage{stackengine} \begin{document} ...

3

Why not just this? \documentclass{article} \newcommand{\listOfYears}[3]{% \begin{minipage}{0.08\textwidth} #1 \end{minipage}% \begin{minipage}{0.30\textwidth} #2 \end{minipage} \par \hspace*{.08\textwidth}% \begin{minipage}{0.30\textwidth} \textit{#3} \end{minipage} } \begin{document} \listOfYears{765}{235}{3098} \end{document} ...

2

If you know the longest entry, a solutiom may be as follows: \documentclass{article} \usepackage{amsmath} \begin{document} \newlength{\myjjj} \begin{equation*} \settowidth{\myjjj}{$jjjjjjjjj,$} %longest entry \begin{aligned} & a=\begin{cases} \makebox[\myjjj][l]{$bbbb,$}\ &\text{if}\ c\,;\\ dd,\ &\text{if}\ e\,;\\ fffff,\ ...

0

Jus fort fun, without tabular, without minipage and without ubiquitous \vspace{1ex}: \documentclass[12pt,paper=a4,answers, addpoints]{exam} \usepackage{tabto,graphicx} \TabPositions{0pt, 0.23\linewidth, 0.5\linewidth} \begin{document} {\obeylines{\centering \includegraphics[width=5em]{mesina.png} \em\bfseries University of XXX Dipartiment of XXX ...

5

I suggest you replace \par \bigskip\bigskip \begin{minipage}[t]{.5\textwidth}% {\bfseries Corso di Studio}: First course \\ Second course\\ Third Course \par \vspace{1ex} with \par \bigskip\bigskip \noindent % <--- new \begin{minipage}[t]{.5\textwidth}% {\bfseries Corso di Studio}: \parbox[t]{4cm}{First course \\ Second course\\ ...

6

tabular for the course The three courses can be put in a tabular: \textbf{Corso di Studio:} \begin{tabular}[t]{@{}l@{}} First course\\ Second course\\ Third course\\ \end{tabular} tabularx with two columns X column type is a p column type, which uses the available space. \documentclass{article} \usepackage{tabularx} \begin{document} ...

4

The fermion, Majorana and charged boson styles actually all use an internal (and undocumented) with arrow style. I didn't make the with arrow style public because I didn't initially envisage it being needed though I think I will be making it public in the next version of TikZ-Feynman. The with arrow and with reversed arrow styles place an arrow or reversed ...

2

In general, this is a little bit tricky, as there so many things influencing the size, but for this case, where the ticklabels on the y-axis are the only thing causing problems, you could try adding 'extraAxisOptions','yticklabel style={text width= width("$-0.6$")},align=right}' the matlab2tikz calls, where $-0.6$ is the widest ticklabel. As a ...

3


Top 50 recent answers are included