Many people adore the Garamond font and its many variations. With that,
LaTeX has also introduced its own version, with a complimentary math-mode font,
inside the mathdesign
package.
The most common way to use it is as follows:
#!/usr/bin/env perl | |
# timezone | |
$ENV{'TZ'} = 'Asia/Singapore'; | |
# compilation | |
$pdflatex = 'pdflatex -shell-escape'; # enable shell-escape for `minted' package | |
$pdf_mode = 1; # only generate the pdf | |
$max_repeat = 8; # maximum number of runs |
#include <bits/stdc++.h> | |
using namespace std; | |
typedef long int li; | |
typedef long long int ll; | |
typedef long double ld; | |
typedef unsigned long long int ull; | |
#define pa pair | |
#define vc vector | |
#define dq deque | |
#define qu queue |
#include <bits/stdc++.h> | |
using namespace std; | |
#define int long long | |
int32_t main() { | |
ios_base::sync_with_stdio(0); | |
cin.tie(0); | |
int H, W, K; | |
cin >> H >> W >> K; |
#include <bits/stdc++.h> | |
using namespace std; | |
bool vowel(char a) { | |
return a == 'a' || a == 'e' || a == 'i' || a == 'o' || a == 'u' || a == 'y'; | |
} | |
int main() { | |
ios_base::sync_with_stdio(0); |
Many people adore the Garamond font and its many variations. With that,
LaTeX has also introduced its own version, with a complimentary math-mode font,
inside the mathdesign
package.
The most common way to use it is as follows:
\documentclass[11pt]{article} | |
\usepackage{blindtext} | |
\usepackage[parfill]{parskip} | |
% baskervaldx | |
\usepackage[lf]{Baskervaldx} % lining figures | |
\usepackage[bigdelims,vvarbb]{newtxmath} % math italic letters from Nimbus Roman | |
\usepackage[cal=boondoxo]{mathalfa} % mathcal from STIX, unslanted a bit | |
\renewcommand*\oldstylenums[1]{\textosf{#1}} |
BasedOnStyle: Google | |
UseTab: ForContinuationAndIndentation | |
IndentWidth: 2 | |
TabWidth: 2 | |
ColumnLimit: 80 | |
SpacesBeforeTrailingComments: 1 | |
AlignTrailingComments: false | |
AlignEscapedNewlines: DontAlign |