Fix yasnippet snippets for latex-mode

This commit is contained in:
Gerard Vermeulen 2022-08-21 17:58:51 +02:00
parent 8bc7f7a7da
commit 15bec52664
2 changed files with 4 additions and 4 deletions

View File

@ -80,9 +80,9 @@
\newcommand{\omark}{{\color{Orange} \ding{43}}}%
\newcommand{\xmark}{{\color{Red} \ding{56}}}%
\newcommand{\Reynolds}{\mbox{\textit{Re}}}
\newcommand{\Nusselt}{\mbox{\textit{Nu}}}
\newcommand{\Knudsen}{\mbox{\textit{Kn}}}
\newcommand{\Nusselt}{\mbox{\textit{Nu}}}
\newcommand{\Reynolds}{\mbox{\textit{Re}}}
% https://tex.stackexchange.com/questions/29082/latex-beamer-applies-the-cancel-command-only-a-specified-slides
\usepackage[thicklines]{cancel}

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# name: \documentclass[options]{standalone}
# key: standalone
# expand-env: ((yas/indent-line 'fixed))
# expand-env: ((yas-indent-line 'fixed))
# --
\documentclass[${1:12pt},svgnames,tikz]{standalone}
\usepackage{ifthen,ifluatex,ifxetex}
@ -51,9 +51,9 @@
\newcommand{\omark}{{\color{Red} \ding{44}}}%
\newcommand{\xmark}{{\color{Red} \ding{56}}}%
\newcommand{\Knudsen}{\mbox{\textit{Kn}}}
\newcommand{\Nusselt}{\mbox{\textit{Nu}}}
\newcommand{\Reynolds}{\mbox{\textit{Re}}}
\newcommand{\Knudsen}{\mbox{\textit{Kn}}}
% Create fake beamer commands for standalone pictures.
% https://xuc.me/blog/reuse-tikz-figures-in-articles-and-slides/