GithubHelp home page GithubHelp logo

Modern Matching about pg HOT 6 OPEN

Alex-Jordan avatar Alex-Jordan commented on August 20, 2024
Modern Matching

from pg.

Comments (6)

somiaj avatar somiaj commented on August 20, 2024

I just use drop down menus for this, and then manually create a labeled list of choices in the problem for them to choose from. I'll get my problem type for this, and share the randomization I use to randomize both the order of the questions and order of the choices. Could be something that might be wrapped in a macro if you want to automatically generate this. When I get home I'll share a common problem type I use with this and how I randomize it.

from pg.

drgrice1 avatar drgrice1 commented on August 20, 2024

I added a problem to @pstaabp's #811 that does this one way using parserPopUp.pl. You can see it here. It works. However, it is not really that nice for authoring.

from pg.

Alex-Jordan avatar Alex-Jordan commented on August 20, 2024

One reason I would like to have markup for this scenario is that PreTeXt already has a native matching style for exercises, and it would be good to use that. Something that is piecing together several PopUps will probably not work well once rendered in PTX.

from pg.

drgrice1 avatar drgrice1 commented on August 20, 2024

I can't imagine this working with check boxes in any nice way. Drop down menus are the only nice way that I think this can be done. This is how all of the OPL problems have done this but using PGchoicemacros.pl.

from pg.

Alex-Jordan avatar Alex-Jordan commented on August 20, 2024

Dropdown menus would be fine. I just mean that if something with multiple PopUp() calls, it won't come out very nice for PTX output. Basically that means you display the list of "codomain" options once for each "domain" option, and PTX output will be very cluttered. I haven't looked at your example yet.

from pg.

drgrice1 avatar drgrice1 commented on August 20, 2024

I highly doubt that my example will be what you want.

from pg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.