110 reputation
6
bio website
location
age
visits member for 1 year, 10 months
seen Oct 30 '12 at 11:27

Sep
5
accepted Using WrapFigure near an environment. (Some text inside environment is not wrapped by the wrapfig)
Sep
5
comment Using WrapFigure near an environment. (Some text inside environment is not wrapped by the wrapfig)
Thanks - I had played around with spacing before, so I think it's the \par right at the bottom that's key. I don't understand how this works, but at least it does! I'll have a look for spacing options other than \\.
Sep
5
asked Using WrapFigure near an environment. (Some text inside environment is not wrapped by the wrapfig)
Jun
3
comment “Q” and “A” in margin - out of alignment
Thanks - that's really enlightening.
Jun
3
comment “Q” and “A” in margin - out of alignment
Noted. I will be sticking with the Environment/Itemize solution as I have modified it to align correctly, but I think with that tweaking this one would be just as good. I suppose the only other way would be to have centering, but that hasn't worked so far! Thanks.
Jun
3
comment “Q” and “A” in margin - out of alignment
A neat solution - I like how it's all rolled into one. I'm afraid that I still have the minimal issue of the alignment, which as @FrankMittelbach has suggested is due to the font itself. I think I will be sticking with the "environment" solution as I have managed to tweak it for spacing, but I think this would do equally well. Thanks!
Jun
3
awarded  Commentator
Jun
3
comment “Q” and “A” in margin - out of alignment
That's really interesting. I'm using Helvetica for my sans-serif, but I expect the same is true. I will look into the \kern option.
Jun
3
comment “Q” and “A” in margin - out of alignment
Thanks for the suggestions. I did not know \bf was deprecated - I will avoid it from now on! The alignment is still not perfect, and the more I look at this problem, the more I think it might actually be and issue with the font/letters themselves. Certainly the other answer with the manual adjustments I have made is closest to what I want - I seem to have full x-y control with it. With your solution I cannot work out how to move the letters up and down, although of course the \hspace alters left and right. Thanks!
Jun
3
awarded  Supporter
Jun
3
awarded  Scholar
Jun
3
comment “Q” and “A” in margin - out of alignment
@cmhughes - Marked as solved. It looks great. Was hoping there might be a prettier way, but I'm very happy with this. Thanks!
Jun
3
accepted “Q” and “A” in margin - out of alignment
Jun
3
comment “Q” and “A” in margin - out of alignment
Settings of [leftmargin=5.5mm,labelsep=5mm] for Question. And [leftmargin=5.5mm,labelsep=5.5mm] for Answer seem to work best.
Jun
3
comment “Q” and “A” in margin - out of alignment
Thanks @HarishKumar - that worked well. I think by adjusting those two settings I may be able to fix the misalignment altogether, if I adjust Q and A separately! I feel there should be a more elegant solution, but with trial and error this might do the job.
Jun
3
awarded  Nice Question
Jun
3
comment “Q” and “A” in margin - out of alignment
If I had just one request, other than alignment, it would be that I could increase the distance between the Q and the question - with your solution they are just a little too close at default. I'm going to have to get some shut-eye since it's getting on 1:30AM but I will check in the morning if you have any suggestions. I will be very grateful! Thanks.
Jun
3
comment “Q” and “A” in margin - out of alignment
I think it certainly looks better balanced with your method. The misalignment is still there (as far as my eyes and a zoomed-in PDF can tell) but it is a better solution I feel. Strangely it seems best to put the \Huge inside the environment itself rather than the environment declaration as you suggest. Not sure why there is a difference, but as you suggest increases the line spacing.
Jun
3
comment “Q” and “A” in margin - out of alignment
Copied your exact MWE & I think it's certainly a more elegant idea than mine, though does not work well when I use \Huge for the question - Q drops down relative to the actual question. Unfortunately the problem remains (and looks similar to my MWE when zoomed in). I believe that my choice of typeface has exaggerated what is already there, but the Q is definitely further to the left than the A (both in XeLaTeX & PDFLaTeX). I expect many would say I'm making a big deal out of nothing, but I'm using LaTeX because I want to get these tiny details right! Thanks - I will experiment with it.
Jun
2
comment “Q” and “A” in margin - out of alignment
That looks a very good idea. I will report back shortly.