3

I write some choice questions into beamer frame, after some research, here is my code:

\documentclass[aspectratio=169]{beamer}
\usetheme{Berkeley}
\usepackage{tasks,CJK}
\begin{document}
\begin{CJK*}{utf8}{bsmi}
\begin{frame}
\transwipe
1.Which one you want to choose?
\begin{tasks}[counter-format=tsk[A].,debug=true](4)
\task A
\task B
\task C
\task D
\end{tasks}
\end{frame}
\end{CJK*}
\end{document}

output with pdflatex: enter image description here But I don't want the D choice goto the second line, I want them stay in one line, what should I do?

  • Welcome to TeX.SX! Please post a compilable MWE in your question, not just a code fragment. Adding your fragment to an MWE of my choise leads to a 4 column output. – alwaysask Oct 19 '16 at 11:10
  • @alwaysask Thanks for your advice. I still got two line with your code, what additional information should I attach? – Page David Oct 19 '16 at 11:48
  • Now your MWE needs an \end{document} at the end. Most likely your TeX installation needs an update. You can compile your code using online compilers to test the result against your installation -- for example on papeeria.com. – alwaysask Oct 19 '16 at 12:12
  • @alwaysask but I installed it with the latest ISO file yesterday... – Page David Oct 19 '16 at 12:26
  • Generally, ISO's don't get updated. Please point me to the link you downloaded the ISO and/or give details of your system (OS, TeX installation etc). – alwaysask Oct 19 '16 at 12:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.