Search found 6 matches

by kpedro88
Tue Sep 16, 2014 5:31 pm
Forum: Math & Science
Topic: Vertical alignment of genfrac-derived command within parens
Replies: 2
Views: 6550

Vertical alignment of genfrac-derived command within parens

That's fantastic. Everything aligns perfectly. I'm actually going to replace \binom with the equivalent version of that command just for the alignment. Thanks so much!
by kpedro88
Mon Sep 15, 2014 10:22 pm
Forum: Math & Science
Topic: Vertical alignment of genfrac-derived command within parens
Replies: 2
Views: 6550

Vertical alignment of genfrac-derived command within parens

I was looking for ways to extend the \binom command to include more than 2 arguments. The formatting of \pmatrix was not satisfying for me, so I came up with a custom command based on \genfrac from amsmath:

\newcommand\triplet[3]{\left(\genfrac{}{}{0pt}{0}{#1}{\genfrac{}{}{0pt}{0}{#2}{#3}}\right ...
by kpedro88
Fri Aug 29, 2014 12:10 am
Forum: General
Topic: Inconsistent hfill when using input
Replies: 6
Views: 6395

Re: Inconsistent hfill when using input

Ah, that does it. Thanks!
by kpedro88
Thu Aug 28, 2014 6:57 pm
Forum: General
Topic: Inconsistent hfill when using input
Replies: 6
Views: 6395

Inconsistent hfill when using input

The error involves the use of \input , so a complete minimal working example consisting of one file is obviously impossible.

I have combined two of the files, so the desired and the buggy behavior are shown together. The new example is attached (including both the source and compiled PDF so the ...
by kpedro88
Thu Aug 28, 2014 3:13 pm
Forum: General
Topic: Inconsistent hfill when using input
Replies: 6
Views: 6395

Re: Inconsistent hfill when using input

The working example contains 5 files, while the attachment upload limit is 4. The five files are as follows:
doc1.tex
doc1.pdf
doc2.tex
sec1.tex
doc2.pdf

You can now find these on my webspace:
http://kjplanet.com/input-bug/
by kpedro88
Wed Aug 27, 2014 7:55 pm
Forum: General
Topic: Inconsistent hfill when using input
Replies: 6
Views: 6395

Inconsistent hfill when using input

I have encountered some strange behavior from \hfill when using \input for a section of my document.

A minimal working example is attached. doc1 shows the desired behavior without the use of \input . doc2 shows the observed behavior when including sec1 using \input : the \hfill on the last line is ...