I use variable.tex to definite some Array: Name, color, folder

In main.tex: \input{variable.tex}

In variable.tex: ( not exist begin/end{document} Each Group includes 3 Array: Name, color, folder













When i want to use all arrays of GROUP A, i muss hide with symbol percent % (ctrl T) > 150 rows of other GROUP: Group B, Group C, GROUP D. And it creates many manual error and take time.

So, I need other better solution in variable.tex:



Variable Xxx variable used inside = one of (A, or B, or C, or D)

Please help

Thank in advance

  • 2
    Your question is quite unclear to me. What does "use a group" mean? At this point you are just defining twelve different macros. – campa Apr 9 '19 at 13:05
  • 2
    It would be useful to know how you want to use this. – egreg Apr 9 '19 at 13:17
  • @egreg campa:for each customer, i need to create some different pdf layout design (image folder, color, name). – latexforti Apr 9 '19 at 13:34

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.