| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente |
| info:latex:geany [2017/11/14 17:44] – radeff | info:latex:geany [2019/11/28 08:59] (Version actuelle) – [snippets.conf (FredR)] radeff |
|---|
| ====== Geany / LaTeX ====== | ====== Geany / LaTeX ====== |
| {{tag>LaTeX}} | {{tag>editor LaTeX geany}} |
| |
| Moi, j'adore [[info:geany|geany]], un éditeur simple, ultra-rapide et très, mais alors très simple! | Moi, j'adore [[info:geany|geany]], un éditeur simple, ultra-rapide et très, mais alors __très__ simple! |
| |
| Et il est tip-top pour LaTeX | Et il est tip-top pour LaTeX |
| sudo apt-get install geany geany-plugin-latex | sudo apt-get install geany geany-plugin-latex |
| |
| | Les autres plugins geany sont pas inutiles, ne pas oublier de les activer: |
| | |
| | {{info:latex:geanylatexplugins.jpg?600|}} |
| ====== Doc / links ====== | ====== Doc / links ====== |
| |
| | * http://debian-facile.org/doc:programmation:geany#latex-dans-geany |
| | * https://github.com/geany/geany-plugins/blob/master/geanylatex/doc/geanylatex.tex |
| ====== snippets.conf (FredR) ====== | ====== snippets.conf (FredR) ====== |
| des raccourcis bien pratiques pour un gars comme moi qui connaît bien html mais très mal LaTeX | des raccourcis bien pratiques pour un gars comme moi qui connaît bien html mais très mal LaTeX |
| <code> | <code> |
| [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} | frame=\\begin{frame}\n%ws%\\frametitle{%cursor%}\n%ws%%cursor%\n\\end{frame} |
| block=\\begin{block}{%cursor%}\n%ws%%cursor%\n\\end{block} | block=\\begin{block}{%cursor%}\n%ws%%cursor%\n\\end{block} |