Reputation
607
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
3 14
Newest
 Yearling
Impact
~5k people reached

  • 0 posts edited
  • 0 helpful flags
  • 59 votes cast
Jan
16
asked Fallback text in header if overlapping occurs
Jan
14
awarded  Nice Question
Jan
13
comment Read authors from file
Parbox had some problems with alignment, the varwidth package and \author{\begin{varwidth}{\linewidth}\centering\authors@final@list\end{varwidth}‌​} worked perfectly though.
Jan
13
comment Read authors from file
This is awesome, thanks! :) By the way, an easier solution than overwriting maketitle would be \author{\parbox{\linewidth}{\centering\authors@final@list}}%, right? Bonus is, this works with scrartcl too. The adjusted version (which also supports fallback value as a 2nd argument) is here: github.com/dbrgn/texutils/blob/master/authorsfromfile.tex
Jan
13
awarded  Self-Learner
Jan
13
accepted Read authors from file
Jan
13
comment Read authors from file
Thanks for your effort, I'll accept your answer :) Two details I noted: It doesn't cut off the part inside the parentheses (but that wasn't strictly required) and if the author list is too long, it gets cut off. I worked around that by using \\ as a separator, but a generic approach that would work with commas too would be nicer. Also, I think it would probably be cleaner to simply "return" the text to be used inside \author, so that the user could still process it, don't you think?
Jan
13
awarded  Teacher
Jan
13
answered Read authors from file
Jan
13
awarded  Editor
Jan
13
comment Read authors from file
This looks nice, but the requirement of LaTeX3 is a disadvantage, as many people still use Texlive2009 (which afaik doesn't ship LaTeX packages).
Jan
13
revised Read authors from file
added 109 characters in body
Jan
13
comment Read authors from file
Thanks for the answer, this looks interesting. I guess this wouldn't work if the contributors have middle names (like John Michael Doe (jmdoe), right? Would there be a fix for that? (Sorry for not clarifying that from the beginning...)
Jan
13
comment Read authors from file
@EthanBolker Thanks, that's a very good point that I totally forgot about :) Still, if there is a native TeX solution that would be nice.
Jan
13
asked Read authors from file
Jan
12
accepted Distribute LaTeX Package with Document
Jan
12
comment Distribute LaTeX Package with Document
@Herbert oh, it worked by putting the *.sty files (there were two of them) directly in my project root. But as far as I know, a package can also contain other files besides *.sty, is that right? Is there a way to keep package files together in a directory, instead of adding all of them to the current directory? In any case, if you put this information in a proper answer, I'll accept it :)
Jan
12
comment Distribute LaTeX Package with Document
@Herbert that sounds like the perfect solution, but it doesn't seem to work. I added a "texmf" folder to the project folder that looks like this: hastebin.com/xeciramafe.txt Any clue about why it isn't working? (It works if I place that folder in my homedir)
Jan
12
asked Distribute LaTeX Package with Document
Dec
30
awarded  Commentator