568 reputation
28
bio website
location
age 26
visits member for 2 years, 3 months
seen Mar 4 at 1:33
stats profile views 20

Mar
29
awarded  Nice Question
Mar
4
awarded  Nice Question
Mar
4
comment How to right align content of pbox?
I would like to but I'm afraid I cannot :( Licencing issues. I tried to isolate the cause and post some example but it is taking too much time - code that creates content of \pbox is rather complex. Anyway, solution from @JLDiaz answer works well.
Mar
3
comment How to right align content of pbox?
Works in this simple example but does not when content of \pbox is more complex.
Mar
3
accepted How to right align content of pbox?
Mar
3
asked How to right align content of pbox?
Mar
3
revised \pbox vertical alignment
I believe that the question is about vertical not horizontal alighment
Mar
3
suggested suggested edit on \pbox vertical alignment
Feb
8
awarded  Yearling
Jan
23
comment How to detect that some macro expands to empty string or spaces only?
That \makeatletter and \makeatother are necessary there? What is their function?
Jan
23
comment How to detect that some macro expands to empty string or spaces only?
@egreg Unfortunately Donald Arsenau's \given macro only works with arguments, it does not work correctly if argument of \given is another macro. Your other code in answerhttp://tex.stackexchange.com/a/94931/3442 uses the other syntax (not \if...\else...\fi)
Jan
22
revised How to detect that some macro expands to empty string or spaces only?
added 332 characters in body
Jan
22
asked How to detect that some macro expands to empty string or spaces only?
Jan
22
comment Is “conditionals” name of package?
@Joseph Wright I did not know that it is obscure suppport package at the first place... I do not want to use it if that is the case. I will probably just accept the only answer and ask another, better formulated question.
Jan
22
comment Is “conditionals” name of package?
@Martin Scharrer It is that correct \if\blank{...} is the syntax used and I also expect it to expand to either 01 or 11. And the reason I like it is really the one you mentioned: I prefer to work with \if.. \else \fi rather then \@if..{..}{..}. I have programming background so that fits me better. My problem is that that blank command seems not to work with macros. So while \if\blank{#1} works correctly, \if\blank{\myEmpty} does not.
Jan
22
asked Is “conditionals” name of package?
Jan
18
comment \IfSubStr does not work when used as parameter of another macro
...using optional switches. Also they can influence the some layouts by setting some other switches - one of them is W switch that influences layout created and stored by \addLabelAbove macro.
Jan
18
comment \IfSubStr does not work when used as parameter of another macro
@Qrrbrbirlbel I'd like to but it is kind of complicated... \addLabelAbove should create and save a hbox. Its #2 is name of the box to be saved, #3 argument takes main content of that hbox, while #4 argument is some additional content (label) that is placed one line above the main content. The W switch cause resulting hbox to contain nested vbox - which means it will occupy all the page width. Macro \block creates and saves many hboxes containg same content but with different layout. \addLabelAbove creates and saves one of those layouts. User can control which layouts are included...
Jan
17
comment \IfSubStr does not work when used as parameter of another macro
@egreg The expected behaviour of \addLabelAbove is this: If optional argument is not set then the "else branch" is executed. If optional argument is set and it is string W then the "then branch" is executed. If optional argument is set and it contains more then one letter or it does not contain W then the "else branch" is executed.
Jan
17
comment \IfSubStr does not work when used as parameter of another macro
@egreg I thought it might be wrong (because of all the trouble it is causeing me). I'm not supposed to alter this code - it is in another package but I can redefine \addLabelAbove command. What should the correct definition look like?