I have c source file and when i input that using listing package it works fine but if i have an other lst set for inputting text file it doesnot print the content
I am creating many longtables in my document, where one table represents the results of a specific topic. Normally the header of the longtable consists of the name of the topic, N and some cmidrules. If the table has to break at some point, the new header changes the name of the topic to topic (c...
Hi. I expected \keys_set:nn to trim spaces around the key names and the values before storing them in \l_keys_key_tl and \l_keys_value_tl. Is there any reason they are not trimmed?
@JosephWright No, but it's not a bug per se. I mean, if you detokenize the the key name, then the space is going to be added anyways. It's correct as it is now, I think.
@JosephWright If you use \keys_set:nn { .. } { \a\b\c = whatever } then \l_keys_key_tl is going to have \a•\b•\c• where • are spaces. There's no reason to remove the last one.
@JosephWright At first I thought it was a bug, but it's a side effect of \detokenize. So, if it's clear in the documentation that the key is \detokenized, then there's no need for anything, I guess.
@JosephWright In that case the removal of spaces should come after the detokenization right?
@JosephWright In any case I like the idea, I would like to have the freedom in TikZ to say [line width=1.1pt, line cap=round] and at the same time if someone prefers no spaces [linewidth=1.1pt,linecap=round] since it's not probable that two keys line width and linewidth are to be defined.
@DavidCarlisle -- are you sure you will have manageable fingers in your next life? (oh, there is archie the cockroach as a possible role model. but remember, archie couldn't type in uppercase, so ...)
@JosephWright -- the following is used in ams document classes: `\@ifundefined{cite }{% \expandafter\let\csname cite \endcsname\cite \edef\cite{\@nx\protect\@xp\@nx\csname cite \endcsname}% }{}` what is the effect on something like this of "ignoring spaces"?
@DavidCarlisle -- because there are at least several such definitions in the "live" versions of ams document classes in ctan and tex live. i'd like to be able to predict what problems might arise from this practice, so i can enter a note on the "things that have to be done" list.
@barbarabeeton Joseph was suggesting dropping spaces while constructing key names in [foo=bar] syntax so making [page height = 6in] same as [pageheight=6in] so it is hopefully well clear of internal csname wrangling as you show. (If we broke the spaces there we'd break every latex robust command,)
@1010011010 -- this is meant as an "internal" equivalent, so that the original remains usable within the document class even if some user redefines the command. @DavidCarlisle has pointed out the difference.
@1010011010 all latex commands declared by \DeclareRobustCommand and related commands are defined that way
@1010011010 the sneaky part is that if \cite were declared by \def\cite{\protect\internal@cite} or some such then in a \typeout or \write, \protect would be \string and it appears as \internal@cite the trick (introduced by Alan when we did latex2e) is to make the internal command name end with a space so in the \write it appears as \cite and it looks a lot nicer and the extra space is ignored by normal tex scanning rules.
When you write \noexpand\protect\expandafter\noexpand\csname foob \endcsname I see \weirdexpansioncontrol\weirdexpansioncontrol\weirdexpansioncontrol\weirdexpansioncontrol\weirdmacromaker blablabla \endweirdmacromaker :D
another person praising the code as high-quality and every user having problems is sent to me (well, not me personally).
@JosephWright The question is using a template (maybe from the tempate site) which is mirrored from a github guy still using 2.09 commands. Even whacking stuff in \enddocument.
@JosephWright had a quick look just now, basically it's only adding so it could probably drop calc and fp and just work in pennies (or cents or whatever) in integer arithmetic and divide by 100 at the end.... (@Johannes_B)
@Johannes_B I want to keep align for each equation, because in the case of some of the equations may be appear in the next page. I mean using align for each equation is more convenient
@clemens: youtube.com/watch?v=zTxsDV5WR3w Wait for Stephen the squirrel presents his adorable family: Hollie, Acorn, Stephen Jr., Gunter and Suuuuuuuusan. :)
Ricardo Langner submitted the
cleanthesis
package.
Version number: 0.3.1
License type: lppl1.3
Summary description: A clean LaTeX style for thesis documents
Announcement text:
----------------------------------------------------------------------
The cleanthesis package is a clean, simple, and elegant LaTeX style for
thesis documents.
----------------------------------------------------------------------
This package is located at
mirror.ctan.org/macros/latex/contrib/cleanthesis
@Johannes_B Hm. A package which uses KOMA-specific commands (\setkomafont{part}{\thesispartfont}) without checking if they are defined, and then loads titlesec (to setup beside others part) and fancyhdr ... I have some doubts that you will like it ;-) But as far as I can see no \bf or \it.
@DavidCarlisle -- well, they've got dek's title wrong. as it happens, i've met another of this year's honorees, and if i look at their cumulative list, i've met about a dozen more, lots of years ago when i was on the office staff for various summer seminars. an interesting bunch. (enrico bombieri taught me how to play scopa, and i got pretty good at it, but it's been a long time and i've forgotten the rules. maybe @egreg can update me sometime.)
Mac (and possibly Linux) users: is the warning in `/etc/sudoers # This file MUST be edited with the 'visudo' command as root. # Failure to use 'visudo' may result in syntax or file permission errors # that prevent sudo from running.` to be taken seriously or can just do 'sudo emacs /etc/sudoers` like a normal person would?
@StefanKottwitz @golatex, Is there any way to rename attachments using an interface? For now, i download a file test.png, rename it to usernameKeyword.png and upload that (new version). Still have to check every pic and resize/crop, though.
@StefanKottwitz What might be useful in the future aswell: Collision control. I just (well, before everything froze to death) made an edit to the tikzposter Q and seen in your reply, that you did the same.
@JosephWright @UlrikeFischer @DavidCarlisle @GonzaloMedina As it turns out, the invoice question today was really based on the one from the template site ({ The best source of free quality LaTeX templates }) Argh.
@Tina Sunil has the original and the code is a mess. Believe me, i can tell. The one on LaTeX-templates got an update recently, but to be honest ... I might be the last person on earth to ask about template advice. If you wanna use it, use the new one. Don't look at the coding in the example file, it is horrible and will be fixed within a few days. Ignore my name inside the thing, it is spelled incorrect and will be removed as well. — Johannes_B1 min ago