Skip to content

Instantly share code, notes, and snippets.

@Miopas
Last active February 5, 2020 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Miopas/8246051dc252efcaebf98ac44fc76985 to your computer and use it in GitHub Desktop.
Save Miopas/8246051dc252efcaebf98ac44fc76985 to your computer and use it in GitHub Desktop.
LaTex tips.
# fix the order of citations
\bibliographystyle{unsrtnat}
\usepackage[numbers,sort&compress]{natbib}
# figures layout
# credit: https://tex.stackexchange.com/questions/129077/figure-in-beamer
\begin{tabular}{p{.3\textwidth} p{.7\textwidth}}
\adjincludegraphics[width=.8\linewidth,valign=t]{example-image}
&
\raggedright\arraybackslash\textbf{``The problem of distinguishing prime numbers from composites, and of resolving composite numbers into their prime factors, is one of the most important and useful in all of arithmetic."}
\end{tabular}
@Miopas
Copy link
Author

Miopas commented Feb 5, 2020

update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment