mkalidoss | 4 Jul 2006 03:33
Picon

New environment

Dear TUGIndia,
I am aware of Exam.cls file for question papers.
However, I am interested in developing a class file,
customized to typeset question paper of our institution.

This question paper contains Part A, which consists
of multiple choice questions and shall contain 
questions from 1 to 10. Other parts of the paper
contain questions with numbers, like 11a. 11b etc. and
also numbers like 16, 17, etc.

 The desired form of input (for Part A) is

\question [1.] How many cows are needed to graze the field?
\choice One
\choice Two
\choice Three
\choice Four
\question [2.]  blah blah blah blah blah
.....................

I also want to include a switch \2column=true/false
for this section alone.

I tried the following code, which is obviously inadequate.

\newcommand{\aquestions}[1]%
  {\ifx\empty#1\empty\else\gdef\ <at> aquestions{#1}\fi}
\newcommand{\aq}[1]%
  {\ifx\empty#1\empty\else\gdef\ <at> aq{#1}\fi}
(Continue reading)

Duvvuri Venu Gopal | 4 Jul 2006 04:53
Favicon

Re: New environment

  
Don't reinvent the wheel. Already two exam.cls files are there. The exam.cls  in Examdesign is suitable for
your requirements. If you want to create a cls file for your institution just call this class file with
RequirePackage and do modifications whatever you want. OR open the exam.cls file do modifications and
save it at your local site with another name.

Venugopal

On Tue, 04 Jul 2006 mkalidoss wrote :
>Dear TUGIndia,
>I am aware of Exam.cls file for question papers.
>However, I am interested in developing a class file,
>customized to typeset question paper of our institution.
>
>This question paper contains Part A, which consists
>of multiple choice questions and shall contain
>questions from 1 to 10. Other parts of the paper
>contain questions with numbers, like 11a. 11b etc. and
>also numbers like 16, 17, etc.
>
>  The desired form of input (for Part A) is
>
>\question [1.] How many cows are needed to graze the field?
>\choice One
>\choice Two
>\choice Three
>\choice Four
>\question [2.]  blah blah blah blah blah
>.....................
>
(Continue reading)

yuwaraj m ghugal | 4 Jul 2006 10:17
Favicon

(no subject)

  
Dear Sir,

  I want to import grphics file e.g, sigmax.grf into the tex file. How it is to be included into the tex. It is not
a eps file. Kindly
suggest the set of comands. I am using Latex2e. 

Yours sincerely
Dr Y M Ghugal

ghugal@...

_______________________________________________
Home:        http://www.tug.org.in/
TeX FAQ:     http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia

V. Sasi Kumar | 4 Jul 2006 10:33

Re: (no subject)

On Tue, 2006-07-04 at 08:17 +0000, yuwaraj m ghugal wrote:

>   I want to import grphics file e.g, sigmax.grf into the tex file. How it is to be included into the tex. It is
not a eps file. Kindly
> suggest the set of comands. I am using Latex2e. 

1) Convert it into eps and use latex; OR

2) Convert it into jpg, png or tiff and use pdflatex

What program did you use to create the file? It may have an option to
save the file in one of the above formats.

Best
--

-- 
V. Sasi Kumar <vsasi@...>
Visit http://chithariyachinthakal.blogspot.com

_______________________________________________
Home:        http://www.tug.org.in/
TeX FAQ:     http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia

CV Radhakrishnan | 11 Jul 2006 16:23
Gravatar

[Fwd: PSTricks tutorial]

TeX sources, formatted output in PDF format and all supporting packages
of Chapter 10 (Connections) of PSTricks tutorial have been released and
available at:

 http://sarovar.org/projects/pstricks

--

-- 
Radhakrishnan

_______________________________________________
Home:        http://www.tug.org.in/
TeX FAQ:     http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia

Ragu | 22 Jul 2006 06:44

Running head as like Dictionaries

Dear All,

Is there is any .sty or macros available to get a running head as like
Dictionaries.

ie. Displaying top most A-head at the Left page (Verso) and bottom most
A-head to Right page (Recto). Assuming that many A-heads are in all pages.

Thanks!

Regards
Ragu

_______________________________________________
Home:        http://www.tug.org.in/
TeX FAQ:     http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia

S. venkataraman | 24 Jul 2006 07:00
Picon

Re: Running head as like Dictionaries


-----Original Message-----
From: tugindia-bounces@...
[mailto:tugindia-bounces@...] On
Behalf Of Ragu
Sent: Saturday, July 22, 2006 10:14 AM
To: tugindia@...
Subject: [Tugindia] Running head as like Dictionaries

Dear All,

Is there is any .sty or macros available to get a running head as like
Dictionaries.

ie. Displaying top most A-head at the Left page (Verso) and bottom most
A-head to Right page (Recto). Assuming that many A-heads are in all
pages.

Thanks!

Regards
Ragu
Hi!
Fancyhdr documentation already explains how to 
do this. See page 11.
With best regards,
S. Venkataraman
_______________________________________________
Home:        http://www.tug.org.in/
TeX FAQ:     http://www.tex.ac.uk/faq
(Continue reading)

Dr C. K. Raju | 26 Jul 2006 07:05
Picon
Favicon

Line break between section number and section title

Hi,

Does anyone know how to put in a line or paragraph break between the section 
number and the section title?

CKR

_______________________________________________
Home:        http://www.tug.org.in/
TeX FAQ:     http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia

Ragu | 26 Jul 2006 08:41

Re: Line break between section number and section title

Dear Dr. Raju,

Please check the changes to your book.cls

\def\ <at> sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c <at> secnumdepth
     \let\ <at> svsec\ <at> empty\else
     \refstepcounter{#1}\edef\ <at> svsec{\csname the#1\endcsname\hskip 1em}\fi
     \ <at> tempskipa #5\relax
      \ifdim \ <at> tempskipa>\z <at> 
        \begingroup #6\relax
          \ <at> hangfrom{\hskip #3\relax\ <at> svsec}{\interlinepenalty
\ <at> M\par\noindent#8\par}% Changes to your book.cls
        \endgroup
       \csname #1mark\endcsname{#8}\addcontentsline
         {toc}{#1}{\ifnum #2>\c <at> secnumdepth \else
                      \protect\numberline{\csname the#1\endcsname}\fi
                    #7}\else
        \def\ <at> svsechd{#6\hskip #3\relax
                   \ <at> svsec #8\csname #1mark\endcsname
                        {#7}\addcontentsline
                           {toc}{#1}{\ifnum #2>\c <at> secnumdepth \else
                             \protect\numberline{\csname the#1\endcsname}\fi
                       #7}}\fi
     \ <at> xsect{#5}}

Regards
Ragu

-----Original Message-----
From: tugindia-bounces@... [mailto:tugindia-bounces@...]On
(Continue reading)

Dr C. K. Raju | 26 Jul 2006 12:09
Picon
Favicon

Re: Line break between section number and section title

Hi Ragu,

Thanks a lot!  I must admit to having nil knowledge of TeX or LaTeX 
programming, so please bear with me. I am using LaTeX and the meomoir.cls, 
where the indicated piece of code looks as follows:

\def\M <at> sect#1#2#3#4#5#6[#7][#8]#9{%
  \ifheadnameref\M <at> gettitle{#8}\else\M <at> gettitle{#7}\fi
  \ifnum #2>\c <at> secnumdepth
    \let\ <at> svsec\ <at> empty
  \else
    \refstepcounter{#1}%
    \protected <at> edef\ <at> svsec{\ <at> seccntformat{#1}\relax}%
  \fi
  \ <at> tempskipa #5\relax
  \ifdim \ <at> tempskipa>\z <at> 
    \begingroup
      #6{%
      \ <at> hangfrom{\hskip #3\relax\ <at> svsec}%
        %\interlinepenalty \ <at> M #9\ <at>  <at> par}%original line
        \interlinepenalty \ <at> M \par #9\ <at>  <at> par}%changed line
    \endgroup
    \csname #1mark\endcsname{#8}%
    \addcontentsline{toc}{#1}{%
      \ifnum #2>\c <at> secnumdepth \else
        \protect\numberline{\csname the#1\endcsname}%
      \fi
      #7}%
  \else
    \def\ <at> svsechd{%
(Continue reading)


Gmane