diff options
author | Mauro Bieg <mb21@users.noreply.github.com> | 2018-06-07 19:50:14 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-06-07 10:50:14 -0700 |
commit | 905dee6ee3c96560d67e82f6786b8f248b5c83c8 (patch) | |
tree | 88c6c3efaf7d7ae8a53fe45a2bc9c15e6d1044ad /test | |
parent | 9536eb7c7920fa49baec2b90c64fdbb933220df0 (diff) | |
download | pandoc-905dee6ee3c96560d67e82f6786b8f248b5c83c8.tar.gz |
beamer output: fix single digit column percentage (#4691)
fixes #4690
Diffstat (limited to 'test')
-rw-r--r-- | test/command/1710.md | 7 | ||||
-rw-r--r-- | test/command/4016.md | 4 | ||||
-rw-r--r-- | test/command/4690.md | 28 |
3 files changed, 33 insertions, 6 deletions
diff --git a/test/command/1710.md b/test/command/1710.md index d20dfe191..4d9c64b30 100644 --- a/test/command/1710.md +++ b/test/command/1710.md @@ -58,7 +58,7 @@ ok \protect\hypertarget{slide-one}{} \begin{columns}[T] -\begin{column}{0.40\textwidth} +\begin{column}{0.4\textwidth} \begin{itemize} \tightlist \item @@ -68,7 +68,7 @@ ok \end{itemize} \end{column} -\begin{column}{0.40\textwidth} +\begin{column}{0.4\textwidth} \begin{itemize} \tightlist \item @@ -78,11 +78,10 @@ ok \end{itemize} \end{column} -\begin{column}{0.10\textwidth} +\begin{column}{0.1\textwidth} ok \end{column} \end{columns} \end{frame} ``` - diff --git a/test/command/4016.md b/test/command/4016.md index 3918251c6..5e4e35e0d 100644 --- a/test/command/4016.md +++ b/test/command/4016.md @@ -17,7 +17,7 @@ pandoc -t beamer \protect\hypertarget{level-2-blocks}{} \begin{columns}[T] -\begin{column}{0.40\textwidth} +\begin{column}{0.4\textwidth} \begin{block}{Block one} \begin{itemize} @@ -29,7 +29,7 @@ pandoc -t beamer \end{block} \end{column} -\begin{column}{0.60\textwidth} +\begin{column}{0.6\textwidth} \begin{block}{Block two} \begin{itemize} diff --git a/test/command/4690.md b/test/command/4690.md new file mode 100644 index 000000000..deccfba13 --- /dev/null +++ b/test/command/4690.md @@ -0,0 +1,28 @@ +``` +% pandoc -t beamer +# title + +:::: {.columns} +::: {.column width="8%"} +content +::: +::: {.column width="84%"} +content2 +::: +:::: +^D +\begin{frame}{title} +\protect\hypertarget{title}{} + +\begin{columns}[T] +\begin{column}{0.08\textwidth} +content +\end{column} + +\begin{column}{0.84\textwidth} +content2 +\end{column} +\end{columns} + +\end{frame} +``` |