For Programmers: Free Programming Magazines  


Home > Archive > Tex > May 2006 > assignment package









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author assignment package
Dimitri Ulyinov

2006-05-27, 4:17 am

I am using the assignment package on MikTeX for a maths assignment, and the questions are kind of long. However in situations like the following:

\begin{problem}
Let $Y=\frac{2}{\theta}X^{2}.$ Then $X=\sqrt{\frac{\theta}{2}Y}$\\
And $\frac{dX}{dY}=\sqrt{\frac{\theta}{2}}\t
imes \frac{1}{2\sqrt{Y}}=\frac{1}{2}\sqrt{\fr
ac{\theta}{2Y}}$

the part "And..." has a different indent to the opening Let statement. This looks vey ugly! Is there anything I can do to get rid of it?

Any assistance would be greatly appreciated,

Dimitri Ulyinov,
Sydney, Australia



--------------= Posted using GrabIt =----------------
------= Binary Usenet downloading made easy =---------
-= Get GrabIt for free from http://www.shemes.com/ =-

Dan Luecking

2006-05-27, 7:06 pm

On Sat, 27 May 2006 06:51:54 GMT, "Dimitri Ulyinov"
<icantbelieveitsnotmargerine@hotmail.com> wrote:

>I am using the assignment package on MikTeX for a maths assignment,
>and the questions are kind of long. However in situations like the
>following:
>
>\begin{problem}


Where did you get the problem environment? If you defined it yourself,
simply redefine it to make every line the same indent.

>Let $Y=\frac{2}{\theta}X^{2}.$ Then $X=\sqrt{\frac{\theta}{2}Y}$\\
>And $\frac{dX}{dY}=\sqrt{\frac{\theta}{2}}\t
imes
> \frac{1}{2\sqrt{Y}}=\frac{1}{2}\sqrt{\fr
ac{\theta}{2Y}}$
>
>the part "And..." has a different indent to the opening Let statement.


More? or less? or none at all? "Different" is not enough information.

> This looks vey ugly! Is there anything I can do to get rid of it?


Please give some information. LaTeX doesn't provide a "problem"
environment. Tell what package you used or how you defined it.


Dan
To reply by email, change LookInSig to luecking

*** Posted via a free Usenet account from http://www.teranews.com ***
Dimitri Ulyinov

2006-05-28, 4:12 am

>>Where did you get the problem environment? If you defined it yourself,[color=darkred]

The problem environment comes from the assignment package available on CTAN.
[color=darkred]

My fault there. Less indent. I think it just treats it like a conventional paragraph, so the first 'paragraph' is indented (couldn't tell you by how much), but all the rest aren't. I guess this isn't so unusual after all.
[color=darkred]

Like I said, it was in the assignment package available on CTAN. If I wanted to get rid of the indenting of the first paragraph, I'd just modify the .cls or something, right?

Thanks for pointing out where you neede more info. I'm new to posting on newsgroups, so I still have a lot to learn about how to be more specific!


--------------= Posted using GrabIt =----------------
------= Binary Usenet downloading made easy =---------
-= Get GrabIt for free from http://www.shemes.com/ =-

Robin Fairbairns

2006-05-28, 4:12 am

Dan Luecking <LookInSig@uark.edu> writes:
>On Sat, 27 May 2006 06:51:54 GMT, "Dimitri Ulyinov"
><icantbelieveitsnotmargerine@hotmail.com> wrote:
>
>
>Where did you get the problem environment? If you defined it yourself,
>simply redefine it to make every line the same indent.
>
>
>More? or less? or none at all? "Different" is not enough information.
>
>
>Please give some information. LaTeX doesn't provide a "problem"
>environment. Tell what package you used or how you defined it.


i guess, from what dimitri says, that he's using
macros/latex/contrib/assignment (i don't suppose you do many class
assignments nowadays...)

which is not to say that a minimal example wouldn't be good, not to
say the rest of the information you ask for.

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
--
Robin Fairbairns, Cambridge
Dan Luecking

2006-05-29, 7:13 pm

On 28 May 2006 09:37:25 GMT, rf10@cl.cam.ac.uk (Robin Fairbairns)
wrote:

> Dan Luecking <LookInSig@uark.edu> writes:
>
>i guess, from what dimitri says, that he's using
>macros/latex/contrib/assignment (i don't suppose you do many class
>assignments nowadays...)


Oops. I read it too fast and thought he needed help on a writing
up a homework assignment. My apologies.

>
>which is not to say that a minimal example wouldn't be good, not to
>say the rest of the information you ask for.
>


Indeed. It seems like it might be relatively easy to diagnose, once
an example is available to work with.


Dan
To reply by email, change LookInSig to luecking

*** Posted via a free Usenet account from http://www.teranews.com ***
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com