Search found 6 matches

by MasterWizz
Thu Jan 23, 2025 5:16 pm
Forum: General
Topic: Random arrangments of items
Replies: 5
Views: 13809

Re: Random arrangments of items

Hi thats great! It works :)
I added im the preamble:


\usepackage{datetime}

\newcount\seed
\seed=\numexpr\pdfuniformdeviate10000 + \the\year + \the\month * 10 + \the\day * 100 + \time * 1000+
\numexpr\pdfuniformdeviate60\relax\relax % Zufall zur weiteren Streuung
\pgfmathsetseed{\seed ...
by MasterWizz
Thu Jan 23, 2025 10:35 am
Forum: General
Topic: Random arrangments of items
Replies: 5
Views: 13809

Re: Random arrangments of items

Thanks for your reply! There occure some problems.

(1) I am not able to add optional arguments to enumerate like "label=(\alph*)"
(2) It does not work with the tasks package, which is really important to me
(3) After i got the pdf 1 time it just shuffles again, when i change something in the tex ...
by MasterWizz
Thu Jan 23, 2025 1:00 am
Forum: General
Topic: Random arrangments of items
Replies: 5
Views: 13809

Random arrangments of items

Hi there,

I would like to create multiple-choice questions where the answer options are in a random order but the labels of the items should stay i the right order (A, B, C, D). I am using the tasks environment but sometimes also enumerate. Do you have an idea how to do it?


\documentclass ...
by MasterWizz
Thu Jan 28, 2021 1:38 pm
Forum: Text Formatting
Topic: Horizontal centering a flushleft text
Replies: 4
Views: 5146

Horizontal centering a flushleft text

YES! This is exactly what I was looking for! Its ugly like hell but I have to use it for a projekt....
Thank you!! :)

Edit:

Code: Select all

\begin{varwidth}{\textwidth}
\narrowragged
\lipsum[3]
\end{varwidth}
Works with any text.
by MasterWizz
Wed Jan 27, 2021 7:07 pm
Forum: Text Formatting
Topic: Horizontal centering a flushleft text
Replies: 4
Views: 5146

Horizontal centering a flushleft text

Hey Ijon thanks for your reply! I understand what you mean and it really looks better. But is there also a solution to get the same distance left and right to the border? The enviroment \begin{center}...\end{center} gives me the perfect result except the \RaggedRight alignment. I know that this is a ...
by MasterWizz
Wed Jan 27, 2021 1:21 am
Forum: Text Formatting
Topic: Horizontal centering a flushleft text
Replies: 4
Views: 5146

Horizontal centering a flushleft text

Hey, how can i horizontal center a flushleft text?


\documentclass[9pt]{report}
\usepackage[margin=14.3pt,paperwidth=194pt,paperheight=194pt]{geometry}
\usepackage{lipsum}

\begin{document}
\flushleft\lipsum[3]
\end{document}


The spacing on the left side is bigger than the spacing on the right ...