Tagged Questions
7
votes
2answers
56 views
Setting an “attribute” for Theorem to be accessed later
I am writing a math paper with a large number of theorems. I'm looking to have a table summarizing my results, and I'd love it if the table could be generated automatically from my paper. I' looking ...
15
votes
3answers
396 views
Shortcuts for code in latex
I am tired of writing \frac{\partial something}{\partial something_else}. Can I automate it by defining some sort of shortcut to it, so that when I write \p(x)(y) it will transform to \frac{\partial ...
13
votes
2answers
206 views
Persuading (la)tex “silently to go beyond the envelope of 'good taste' ” to avoid an overfull hbox
My understanding, based on reading this website, is that (la)tex performs at most three passes when trying to typeset a paragraph: one based on \pretolerance, one based on \tolerance, and one based on ...
5
votes
0answers
323 views
Trying to make an automatic histogram (in pgfplots?)
How can I convert the automatic table generated by the macro, to an automatic histogram?
Is the best way do it using pgfplots?
\documentclass{article}
\RequirePackage{ifthen}
...
7
votes
3answers
256 views
How to define a key=value that has an equivalent boolean value key
Assume you're defining a key=value align for some environment realign that you'll use in the following way:
\usepackage{xkeyval}% http://ctan.org/pkg/xkeyval
\newenvironment{realign}[1][]
...
11
votes
1answer
213 views
Automatic deletion of unused macros
The following scenario occurs quite often to me: I have a couple of input files where I have my own macros, mainly math-related stuff like definitions for \esssup and so on which are not available in ...
0
votes
2answers
416 views
How to create a new command with variable numbers of arguments
I am creating one command to define a functional requirement and many non functional requeriment in a table. I wrote the following code:
\newcounter{Number}
...
5
votes
2answers
288 views
macro for custom indexing with conditionals and text recognition
I was unable to solve this by myself and by searching this wonderful site. The problem is with indexing. I still consider myself as a LaTeX newbie :)
The situation:
- I'm working on an english book ...
2
votes
1answer
496 views
Macro for tabbing with complex line breaks (or similar environment)
I have a complicated transcription with mid-line aligned text. I've been using tabbing to do it automatically, but it obviously doesn't do line breaks.
I want to write a macro (unless something ...
4
votes
2answers
2k views
Where to put a custom macros file?
I have a bunch of common commands I put in document preambles. I don't always use them all, but it makes the preamble too long for my tastes.
I want to put them all in an external file (preferably in ...
2
votes
2answers
105 views
Automatically Adding Potentially Referenced Macros From Auxillary File
In this question someone asked if there was any way to eliminate user defined macros from a TeX document and replace them with the appropriate primitives. The answer seemed to be that while some ...
