Ceci est une ancienne révision du document !
Geany / LaTeX
snippets.conf
des raccourcis bien pratiques pour un gars comme moi qui connaît bien html mais très mal LaTeX
[LaTeX]
doc=\documentclass[french,12pt,a4paper]{book}\n%\usepackage{luatextra}%this package calls fontspec, luatexbase, lualibs, metalogo, luacode and fixltx2e\n%\setmainfont[Ligatures=Rare,Numbers=OldStyle]{Arno Pro} %setup of western font\n%\usepackage{luatexja}\n%\usepackage{luatexja-fontspec}%needed to call \setmainjfont bellow\n%\setmainjfont[BoldFont=KozGoPr6N-Bold]{KozGoPr6N-Regular} %setup of japanese font\n\usepackage[T1,T2A]{fontenc}\n\usepackage[utf8]{inputenc}\n%\usepackage[greek,russian,japanese,francais]{babel}\n\usepackage[greek,russian,francais]{babel}\n\usepackage{xcolor}\n\newcommand\todos[1]{\textcolor{red}{#1}}\n%\usepackage{fontspec}\n%\setmainfont[Ligatures=TeX]{Ubuntu}\n%\setsansfont[Ligatures=TeX]{Ubuntu}\n\usepackage[left=3.00cm, right=3.00cm, top=2.00cm, bottom=2.00cm]{geometry}\n\pagestyle{plain}\n\usepackage{graphicx}\n\begin{document}\n\author{Fred Radeff}\n\selectlanguage{french}\n\title{Radioaktif}\n\maketitle \includegraphics{img/snow.jpg}\n\emph{}\n\nRemerciements à:\n\nL. F., pour les conseils avisés en matière de radioactivité\n\ngnu/emacs pour l'édition du livre\n\nLaTeX pour sa syntaxe\n\npandoc pour la génération des différents formats électroniques et imprimables\n\nÀ propos de l'auteur\n\nFred Radeff est ...\n\nAutres titres\n\n- Gaz 1/2, moinsdecent.net éditions\n\n- Gaz 2/2, moinsdecent éditions\n\n\todos{}\n\chapter{}\n\end{document}
aut=\author{Fred Radeff}
section=\section{%cursor%}
frame=\\begin{frame}\n%ws%\\frametitle{%cursor%}\n%ws%%cursor%\n\\end{frame}
block=\\begin{block}{%cursor%}\n%ws%%cursor%\n\\end{block}
itemize=\\begin{itemize}\n%ws%\\item %cursor%\n\\end{itemize}
enumerate=\\begin{enumerate}\n%ws%\\item %cursor%\n\\end{enumerate}
description=\\begin{description}\n%ws%\\item %cursor%\n\\end{description}
emph=\emph{%cursor%}
i=\textit{%cursor%}
chap=\chapter{%cursor%}
quote=\begin{quote}\n{%cursor%}\n\end{quote}
cit=\og %cursor% \fg{}.
li=\begin{itemize}\n\item{%cursor%}\n\item{}\n\end{itemize}
#foreign languages
lang=\textsl{%cursor%}
img=\includegraphics{%cursor}
others snippets
Structure
chapter=\\chapter{%cursor%}\\label{chap:}
section=\\section{%cursor%}\\label{sec:}
subsection=\\subsection{%cursor%}\\label{subsec:}
subsubsection=\\subsubsection{%cursor%}\\label{subsubsec:}
Environments & Figures
figure=\\begin{figure}\n\t\\centering\n\t\includegraphics[]{%cursor%}\n\t\\caption{}\n\t\label{fig:}\n\\end{figure}
table=\\begin{table}\n\\centering\n\\begin{tabular}[]{%cursor%}\n\\toprule\n\t\n\\midrule\n\t\n\\bottomrule\n\\end{tabular}\n\\caption{}\n\\label{tab:}\n\end{table}
center=\\begin{center}\n\t%cursor%\n\\end{center}
includegraph=\\includegraphics[]{%cursor%}
Lists
itemize=\\begin{itemize}\n%ws%\\item %cursor%\n\\end{itemize}
enumerate=\\begin{enumerate}\n%ws%\\item %cursor%\n\\end{enumerate}
description=\\begin{description}\n%ws%\\item %cursor%\n\\end{description}
Beamer
frame=\\begin{frame}\n%ws%\\frametitle{%cursor%}\n%ws%%cursor%\n\\end{frame}
block=\\begin{block}{%cursor%}\n%ws%%cursor%\n\\end{block}
Math
align=\\begin{align}\n%cursor%\n\\end{align}
equation=\\begin{equation}\n%cursor%\n\\end{equation}
eqnarray=\\begin{eqnarray}\n%cursor%\n\\end{eqnarray}