Outils pour utilisateurs

Outils du site


latex

Texmaker

sudo apt-get install texmaker
texmaker Example.tex &

Configuration dictionnaire anglais

http://tex.stackexchange.com/questions/101810/texmaker-cannot-load-dictionary

wget http://downloads.sourceforge.net/wordlist/hunspell-en_US-7.1-0.zip
unzip hunspell-en_US-7.1-0.zip 
sudo mv en_US.* /usr/share/myspell/dicts

dans texmaker, options→configurer texmaker→editeur→Dictionnaire

changer /usr/share/myspell/dicts/fr_FR.dic en /usr/share/myspell/dicts/en_US.dic

Activation des raccourcis clavier

http://askubuntu.com/questions/786280/texmaker-shortcuts-not-working-on-ubuntu-16-04

echo "export UBUNTU_MENUPROXY= " >>~/.bashrc

lancer texmaker depuis le shell:

texmaker toto.tex

si cela ne fonctionne pas, lancer texmaker avec

env UBUNTU_MENUPROXY= texmaker 

Détection des modifications sur les fichiers

Pour le travail à plusieurs, afin que texmaker détecte les modifs sur les fichiers:

options->configurer texmaker->editeur et cocher détecter les modifications externes

Travail en double écran

lancer evince dans une autre fenêtre et la positionner sur le 2nd écran. Une recompilation du tex depuis texmaker met à jour automatiquement l'affichage.

Gestion de la biblio

Pour convertir example.bib en Example.bbl en tenant compte uniquement des références utilisées, il faut utiliser le fichier Example.aux (généré par pdflatex) via bibtex:

pdflatex 2 OU 3 FOIS!!!!
bibtex Example
pdflatex 2 OU 3 FOIS!!!!

Conversion des fichiers svg

svg2pdf.sh
#!/bin/bash
#B. Vandeportaele 2016
#got from https://sourceforge.net/p/inkscape/mailman/message/24646908/
#convert svg file to .pdf and .pdf_tex
#usage: ./svg2pdf filename(without .svg)
inkscape $1.svg -z -D --export-pdf=$1.pdf --export-latex

et import avec:

import.tex
\begin{figure}
    \centering
    \def\svgwidth{\columnwidth}
\fontsize{8}{6}\selectfont
    \input{general_architecture_overview.pdf_tex}
\caption{General architecture block diagram.}
  \label{general architecture}
\end{figure}

DropBox

Avec Dropbox, sauver régulièrement les fichiers, en cas de conflit: https://www.dropbox.com/help/36

Vrac

Inclusion eps en rognant les bords

Trim pour couper ordre des paramètres :gauche bas droite haut

\centering\includegraphics[trim = 8 10 40 0, clip, width=\linewidth]{img/RollingShutterExplanation.eps}
latex.txt · Dernière modification : 2021/02/19 21:20 de 127.0.0.1