Skip to content

Instantly share code, notes, and snippets.

@jiucenglou
jiucenglou / Curve.txt
Created June 30, 2019 11:12
mathematica overlay plots
201.09541 0.17719
201.26671 0.19133
201.43800 0.20651
201.60930 0.22281
201.78059 0.24029
201.95188 0.25904
202.12318 0.27915
202.29447 0.30068
202.46577 0.32376
202.63706 0.34846
@jiucenglou
jiucenglou / TruncBug.dpr
Created September 8, 2018 04:01
Inconsistent ExtendedToStr, FloatToStrF and Format.
// http://forum.lazarus.freepascal.org/index.php/topic,42487.0.html
{$IFDEF FPC}{$MODE DELPHI}{$ENDIF}
{$IFOPT D+} {$DEFINE DEBUG} {$ENDIF}
{$ASSERTIONS ON}
program TruncBug;
{$IFNDEF FPC}{$APPTYPE CONSOLE}{$ENDIF}
uses
SysUtils;
@jiucenglou
jiucenglou / MWE.tex
Created March 17, 2018 04:54
inconsistent figure caption alignment in beamer
\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
\PassOptionsToPackage{hyphens}{url}
%
\documentclass[10pt,ignorenonframetext,]{beamer}
\setbeamertemplate{caption}[numbered]
\setbeamertemplate{caption label separator}{: }
\setbeamercolor{caption name}{fg=normal text.fg}
\beamertemplatenavigationsymbolsempty
\usepackage{lmodern}
\usepackage{amssymb,amsmath}