Created: 2020-12-04 Fri 13:22
Then you need to have the following two lines in you tex file:
\bibliographystyle{STYLE} \bibliography{BIBFILE}
STYLE
can be abbrv
, alpha
, plain
, etc.
BIBFILE
is the location of your BibTeX, for example, something like this:
/Users/jangsookim/bibtex/ref.bib
At the end of the tex file there is a line as follows.
\bibliography{./ref.bib}
Change the relative path ./ref.bib
to the absolute path.
\ref{}
if you type \cite{
all available bib items appear.\usepackage{natbib}
in your tex file.plainnat
abbrvnat
A BibTeX file has entries like this:
@article{Bressoud1979, title={A generalization of the {R}ogers-{R}amanujan identities for all moduli}, author={Bressoud, David M}, journal={Journal of Combinatorial Theory, Series A}, volume={27}, number={1}, pages={64--68}, year={1979}, }
\cite{Bressoud1979}
in your tex file.{ }
for capital letters as above.ref.bib
file.arXiv papers or preprints can be added like this.
@misc{kim20:jacob_flagged, author = {Jang Soo Kim}, title = {{Jacobi--Trudi formulas for flagged refined dual stable Grothendieck polynomials}}, howpublished = {arXiv:2008.12000v2} }
"
at the bottom of the thumbnail.
Add a bib entry to ref.bib
for the following paper using Google Scholar.
S. Eliahou, Wilf’s conjecture and Macaulay’s theorem, J. Eur. Math. Soc. (JEMS), 20(9):2105–2129, 2018.
Add the following paper to ref.bib
.
P. Langevin, Calculs de Certaines Sommes de Gauss, J. Number Theory 32, 59–64, (1997)
Repeat 1 and 2 with the following arXiv paper.
Florence Maas-Gariépy and Rebecca Patrias, Set-valued domino tableaux and shifted set-valued domino tableaux, arXiv:2011.12493
@Article
to @Misc
and add a new entry howpublished
.TEXFILENAME.bbl
, where
TEXFILENAME
is your tex filename.d
, and it will assign a letter (or two or more) to
each word starting with d
.f
in \frac
or in $f$
as the start of a word.CMD+,
for a shortcut)
Add \\$
at the end, just before ]
in
[,-.{_("'<\[ ]
so that it looks like this:
[,-.{_("'<\[ \\$]
key | command |
---|---|
i | Change to Insert Mode at cursor |
a | Change to Insert Mode after cursor |
ESC | Change to Normal Mode |
: | Change to Command-line Mode |
key | command |
---|---|
h, j, k, l | left, down, up, right |
w | next word |
b | previous word |
CTRL+f | page forward |
CTRL+b | page backward |
n
will repeat the following command n times.4w
is equivalent to wwww
.key | command |
---|---|
y | yank something |
d | delete something |
p | paste after |
P | paste before |
x | delete letter at cursor |
yy
: yank linedd
: delete linedw
: delete wordkey | command |
---|---|
v | Change to Visual Mode |
V | Change to Visual Mode (line-wise) |
y
yanks the content in the selected region.d
deletes the content in the selected region.key | command |
---|---|
f \(\star\) | Move cursor to \(\star\) in current line. |
t \(\star\) | Move cursor before \(\star\) in current line. |
F \(\star\) | Similar to "f" but backward. |
T \(\star\) | Similar to "t" but backward. |
; | Repeat the previous finding command. |
f
, t
, etc.key | command |
---|---|
/ |
Find a word. |
n | Find the next word. |
N | Find the previous word. |
/abc ENTER
will move the cursor after the first occurrence of the word
abc
.n
will find the next occurrence of the word.N
will find the previous occurrence of the word.key | command |
---|---|
u | Undo |
CTRL+r | Redo |
0 | beginning of line |
$ | end of line |
( | beginning of sentence |
) | end of sentence |
gg | beginning of the file |
G | end of the file |
zz | scroll cursor to center |
yf$
: If you are at the beginning of an inline math mode $
, then yf$
can copy the whole math expression.y)
: Copy the sentence (from the location of cursor).dt.
: This will delete up to the period.xp
: This will swap two letters.Selecting a whole section: (cursor at \section{ABC})
V / \\section Enter k
gg V G
ay
, where a
can be any letter.a
.ap
or aP
to insert the content at register a
.:reg ENTER
ma
marks the current position by a
, where a
can be any letter.`a
send you back to the position marked by a
..
repeats the previously performed command.dd
deletes the line at cursor. Pressing .
will delete
another line.qa
followed by q
records all your commands performed between them at
a
.@a
repeats the commands recorded at a
.@@
runs the previously performed macro.In order to write more complicated macros, you need to know more Vim commands, for example,
key | command |
---|---|
c | Change something |
e | end of word |
0 | beginning of line |
$ | end of line |
We want to insert &
before each =
below.
\begin{align*} a = b,\\ a+a = b+b,\\ a+a+a = b+b+b,\\ a+a+a+a = b+b+b+b. \end{align*}
qa
.f = i & ESC k 0
and q
.@a
and then @@
twice.
Replace each pair [ ]
by ( )
using a macro (you may use one macro many
times).
\begin{align*} a[x] = b[x],\\ a[x]+a[y] = b[x]+b[y],\\ a[x]+a[y]+a[z] = b[x]+b[y]+b[z],\\ a[x]+a[y]+a[z]+a[w] = b[x]+b[y]+b[z]+b[w]. \end{align*}
~
on a letter.)i
means "inner" and s
means "surrounding".yiw
: yank inner word
yw
(yank word), but the cursor doesn't have to be at
the beginning of a word.diw
and ciw
work similarly with deleting and changing.ysiw)
: insert ( ) surrounding inner wordysiw$
: insert $ $ surrounding inner wordysiW$
: insert $ $ surrounding inner WORD (WORD means a maximal string
without a space)