Latex
Cheatsheet⚑
Style⚑
Use point as the decimal separator: \decimalpoint
.
Greek letters⚑
- epsilon: \varepsilon $ \varepsilon $
- rho: \rho $ \rho $
- phi: \phi $ \phi $
Not greek, but related:
- Nabla: \nabla $ \nabla $
Math⚑
Vectors⚑
- Unit vectors: \hat{v} $ \hat{v} $
Integrals⚑
- Triple integrals: \iiint xyz dxdydz $ \iiint xyz dxdydz $
Closed integrals⚑
Using packages asmath and esint.
- \oiint $ \oiint $
Quotation⚑
To quote some text you can't directly use "", you should wrap it around `` and '' instead.
Rename tables names in Spanish⚑
By default, the caption of a table will start with “Cuadro: ” when using \usepackage[spanish]{babel}
. if you want to change it to something else, for example “Tabla: ” add the following lines after \begin{document}
:
% Cambiar Cuadros por Tablas y lista de...
\renewcommand{\listtablename}{Índice de tablas}
\renewcommand{\tablename}{Tabla}
Usage⚑
Plugins⚑
Minted⚑
Import code from file⚑
\inputminted{<lang>}{<file>}
Figures⚑
Tips⚑
- To ensure figures appear before certain point, use placeins. For example:
\usepackage[section]{placeins}
% ... some floats here ...
\FloatBarrier