@manooooh When I was young there were Pac-Man and Tetris, now I play only Candy Crush just when I'm queuing or on the bus or talking at the phone with my long-winded cousin
Hey, I'm trying to think about how to find a certain command in tikz, but I'm not sure how to search for it. I have a graph where the intersection of the axes is not at 0, so I want that zig-zag line near the origin on the one axis.
@barbarabeeton Please, I wonder, when you at AMS or TB have an article that consists only one page, do you write the page numbers as let's say TUGboat 15(3):102--102 or just TUGboat 15(3):102?
Do I have any latex tools at my disposal for moving the equation number around?
I know why it appears at the bottom, the first line is too long
But suppose I would move the eqn number to the vertically centered (desired) place, I'm pretty sure the final result would be reasonably aesthetically pleasing nonetheless
TeX.sx occasionally inspires people to be ingeniously creative and write cool packages. Let's have a list of all the CTAN packages that originated in a question on TeX.sx.
I suggest a single CW answer for starters, listing the packages alphabetically, following this pattern:
babyloniannum by R...
@yo' -- hi there. hope you're enjoying (have enjoyed?) your days in brazil. re page numbering, that's easy -- for anything that will be seen, only the single instance is shown. (for tugboat, there's a more specific situation where it would be given twice -- for the cumulative table of contents, nelson beebe wrote a script that converts it automatically to bibtex format. and both starting and ending page number are input there, but again, the output is only the single number.)
@user55789 -- if you're using amsmath, look up \raisetag in the documentation (texdoc amsldoc).
@BrainStone You probably want to go with a key-value package and then define a default value (in addition to initial). Simply make the key set a boolean will allow you to use an if-construction for the command.
@samcarter being overly precise: You should move the cone a bit to the right (for the marmot, left for the viewer) so it really looks like it's holding it.
@BrainStone using keyval isn't that hard (but it supports no default values), xkeyval isn't that much harder. pgfkeys is really mighty, but I think has a too complicated syntax for quick and easy usage. The same is true for l3keys which you should use if your code is using expl3.
Excluding Margins from Pages
I'm looking for a way to exclude the sidenotes margin from certain pages in my document (notably the frontmatter and the part header page). For instance, in Example 1, I am trying to have there be no sidenotes margin and instead just have the table of contents extend...
Err I found \mycommand[key1=value1, key3=value3]{some text}. But how'd I write it if I want \cmd[bool]{...}, so that calling it like \cmd has bool false and \cmd[bool] has it true?
@BrainStone You need to provide a so-called default value for the key. And concerning the value at the beginning: That's the initial value which you might provide when creating your boolean (it's a question of how you do it, with etoolbox or newif or …).
Nice post here: "Conway's Game of Life, LaTeX macros, and even (some claim) DNA are all Turing complete, but no one programs with Conway or studies computational complexity using LaTeX macros." What LaTeX is famous for…
@barbarabeeton thanks for the input. We are with @PauloCereda at a bus trip today (but it's not the famous shaky bus, that's gonna happen next Monday which is also my day of departure)
@DavidCarlisle Oh, forgot the default value :) My bad, I'm lying about your excellent package.
@BrainStone @DavidCarlisle just reminded me, that keyval actually supports default values (in a similar way how \newcommand allows one): \define@key{family}{key}[default]{code}