latexdiff -h
latexdiff main.tex revision.tex > diff.tex
latexdiff --flatten main.tex revision.tex > diff.tex
latexdiff --flatten -t CTRADITIONAL main.tex revision.tex > diff.tex
Sub CountHeadingSpanText() | |
Application.ScreenUpdating = False | |
Dim RngHd As Range, h As Long, strOut As String | |
' h = CLng(InputBox("Input the Heading level (e.g. 1) for the heading spans to count", "Heading Span Word Counter", 1)) | |
' If (h < 1) Or (h > 9) Then Exit Sub | |
h = 1 | |
With ActiveDocument.Range | |
With .Find | |
.ClearFormatting | |
.Replacement.ClearFormatting |
\documentclass{article} | |
\usepackage{tikz} | |
\usetikzlibrary{shapes.geometric,arrows.meta} | |
\usetikzlibrary{positioning} | |
\usetikzlibrary{calc} | |
\begin{document} | |
\tikzstyle{diam} = [diamond, aspect=2, draw, fill=red!40, text width=6em,text centered ] |
\documentclass[addpoints]{exam} | |
\usepackage{hyperref} | |
\usepackage{graphicx} | |
\pagestyle{headandfoot} | |
\runningheadrule | |
\firstpageheader{\includegraphics[width=2cm]{LaTeX_logo.png}} | |
{First Exam} | |
{June 19, 2022} |
\documentclass[12pt]{article} | |
\usepackage{booktabs} | |
\usepackage{siunitx} | |
\sisetup{locale = DE, per-mode = symbol, range-phrase=--, range-units=single, product-units=single} | |
\begin{document} | |
\section*{siunitx package} |
\documentclass{article} | |
\usepackage{forest} | |
\begin{document} | |
\pgfmathsetseed{14285} | |
\begin{center} | |
\begin{forest} |
\documentclass[a4paper,11pt]{article} | |
\usepackage{latexsym} | |
\usepackage[empty]{fullpage} | |
\usepackage{titlesec} | |
\usepackage{marvosym} | |
\usepackage[usenames,dvipsnames]{color} | |
\usepackage{verbatim} | |
\usepackage{enumitem} | |
\usepackage[pdftex]{hyperref} |
# plot a simple psychrometric chart | |
import psychrolib | |
import matplotlib.pyplot as plt | |
import numpy as np | |
psychrolib.SetUnitSystem(psychrolib.SI) | |
pressure = 101325 | |
t_array = np.arange(5, 45, 0.1) |
\begin{verbatim} | |
from pythermalcomfort.models import pmv_ppd | |
from pythermalcomfort.psychrometrics import v_relative | |
from pythermalcomfort.utilities import met_typical_tasks | |
from pythermalcomfort.utilities import clo_individual_garments | |
# input variables | |
tdb = 27 # dry-bulb air temperature, [$^{\circ}$C] | |
tr = 25 # mean radiant temperature, [$^{\circ}$C] | |
v = 0.1 # average air velocity, [m/s] |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% \embedvideo{<poster or text>}{<video file (MP4+H264)>} | |
% \embedvideo*{...}{...} % auto-play | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\usepackage[bigfiles]{pdfbase} | |
\ExplSyntaxOn | |
\NewDocumentCommand\embedvideo{smm}{ | |
\group_begin: | |
\leavevmode |