1
0
mirror of https://gitlab.com/MisterBiggs/latex-bingo.git synced 2025-06-15 22:56:44 +00:00

debate2020 changes

This commit is contained in:
Anson 2020-09-28 21:34:34 -07:00
parent 0df446ece9
commit 51fca81d34
6 changed files with 278 additions and 199 deletions

102
__latexindent_temp.tex Normal file
View File

@ -0,0 +1,102 @@
\myItems{``Believe me";
Make America Great Again;
Build a/the wall;
Liberal media;
``Tremendous";
We don't \emph{win} anymore;
International respect;
China;
Syria;
Israel;
Iran;
Mexico;
Russia;
North Korea;
The Middle Class;
Bernie Sanders;
National Debt;
Trade Deals;
Infrastructure;
Clean Energy;
Coal;
Law and Order;
Terrorism;
NAFTA;
US budget deficit;
Social Security;
The Second Amendment;
Transparency;
NATO;
``Leadership";
``I love \_\_\_\_\_.'';
the Supreme Court;
Immigration reform;
Obamacare;
Muslim ban;
Voter fraud;
Russian ``Hacking";
``Wall Street";
``Main Street";
Russia;
Vladimir Putin;
Medicare;
ISIS;
Congress;
Refugees;
Names a small town;
Trade war;
Misprounounces word;
``Nancy Pelosi";
Mar-a-lago;
Whistleblower;
``Disaster";
``Many people are saying";
``God bless America";
Ukraine;
NASA;
Sexual assault;
Trump asks for Biden to take a drug test after the debate;
China;
trump says "wrong";
Fake news;
Biden Promises Free Healthcare ;
Biden mentions Trumps Taxes;
Biden messes up numbers/math;
Trump takes a sip of water with both hands ;
Biden panders;
Biden forgets where he is;
Trump brings up Bidens sons Russian Prostitution ring ;
Trump calls Biden out on decades of being in office with nothing to show;
Trump uses the phrase « Sleepy Joe »;
Sleepy joe denies that blm and antifa are violent organizations;
joe is silent trying to think about his awnser for 10 sec;
trump does the hand thing;
Trump calls Biden out on decades of being in office with nothing to show;
Trump calls Biden a pedophile;
Biden stares at ceiling;
Trump talks for more than 10 seconds after his time is up;
CORONAVIRUS;
Trump wears blue tie;
YUGGEEEE;
... by the way;
Trump Blames Obama;
Biden Praises Obama;
China Virus;
Make America Great Again;
Keep America Great;
"Beautiful Clean Coal";
Trump Disses Company by name;
Hilary Clinton Mentioned;
Trump blames a female for something;
Trump says he will lower taxes;
Biden says he will raise taxes;
Mail Fraud;
"witch hunt";
Twitter mentioned;
"A lot of people";
Second impeachment mentioned;
LGBT mentioned;
Harris skin color mentioned;
Trump calls Biden "Low Energy";
Hunter Biden brought up
}

View File

@ -81,9 +81,9 @@
\begin{LARGE} \begin{LARGE}
Bingo Bingo
President Trump's State of the Union Address Presidential Debate
04 February 2020 29 September 2020
\end{LARGE} \end{LARGE}
\end{center} \end{center}

View File

@ -13,7 +13,7 @@
\begin{center} \begin{center}
\begin{Large} \begin{Large}
Checklist for SOTU bingo boxes Checklist for debate bingo boxes
\end{Large} \end{Large}
\vspace{0.15in} \vspace{0.15in}

View File

@ -5,7 +5,6 @@ Liberal media;
``Tremendous"; ``Tremendous";
We don't \emph{win} anymore; We don't \emph{win} anymore;
International respect; International respect;
Small Town;
China; China;
Syria; Syria;
Israel; Israel;
@ -13,12 +12,8 @@ Iran;
Mexico; Mexico;
Russia; Russia;
North Korea; North Korea;
Heckler interrupts speech;
The Middle Class; The Middle Class;
Bernie Sanders; Bernie Sanders;
Elizabeth Warren;
Mike Pence;
Alliances;
National Debt; National Debt;
Trade Deals; Trade Deals;
Infrastructure; Infrastructure;
@ -26,15 +21,9 @@ Clean Energy;
Coal; Coal;
Law and Order; Law and Order;
Terrorism; Terrorism;
Bipartisan;
Free market;
Free enterprise;
Freedom;
Taxes;
NAFTA; NAFTA;
US budget deficit; US budget deficit;
Social Security; Social Security;
Veterans;
The Second Amendment; The Second Amendment;
Transparency; Transparency;
NATO; NATO;
@ -44,7 +33,6 @@ the Supreme Court;
Immigration reform; Immigration reform;
Obamacare; Obamacare;
Muslim ban; Muslim ban;
Voter ID laws;
Voter fraud; Voter fraud;
Russian ``Hacking"; Russian ``Hacking";
``Wall Street"; ``Wall Street";
@ -55,99 +43,60 @@ Medicare;
ISIS; ISIS;
Congress; Congress;
Refugees; Refugees;
Impeachment;
Britain;
Names a small town; Names a small town;
Trade war; Trade war;
Touts record Dow Jones;
Strongest military;
Farmers;
``Blue states";
Misprounounces word; Misprounounces word;
Points to guest;
``Nancy Pelosi"; ``Nancy Pelosi";
Mar-a-lago; Mar-a-lago;
Whistleblower; Whistleblower;
``Disaster"; ``Disaster";
``Many people are saying"; ``Many people are saying";
Camera shows other Trumps;
Anyone sleeping;
Entitlement cuts;
``God bless America"; ``God bless America";
Mike Pompeo;
Ukraine; Ukraine;
NASA; NASA;
``Entrepreneurs" Sexual assault;
Trump asks for Biden to take a drug test after the debate;
China;
trump says "wrong";
Fake news;
Biden Promises Free Healthcare ;
Biden mentions Trumps Taxes;
Biden messes up numbers/math;
Trump takes a sip of water with both hands ;
Biden panders;
Biden forgets where he is;
Trump brings up Bidens sons Russian Prostitution ring ;
Trump calls Biden out on decades of being in office with nothing to show;
Trump uses the phrase « Sleepy Joe »;
Sleepy joe denies that blm and antifa are violent organizations;
joe is silent trying to think about his awnser for 10 sec;
trump does the hand thing;
Trump calls Biden out on decades of being in office with nothing to show;
Trump calls Biden a pedophile;
Biden stares at ceiling;
Trump talks for more than 10 seconds after his time is up;
CORONAVIRUS;
Trump wears blue tie;
YUGGEEEE;
... by the way;
Trump Blames Obama;
Biden Praises Obama;
China Virus;
Make America Great Again;
Keep America Great;
"Beautiful Clean Coal";
Trump Disses Company by name;
Hilary Clinton Mentioned;
Trump blames a female for something;
Trump says he will lower taxes;
Biden says he will raise taxes;
Mail Fraud;
"witch hunt";
Twitter mentioned;
"A lot of people";
Second impeachment mentioned;
LGBT mentioned;
Harris skin color mentioned;
Trump calls Biden "Low Energy";
Hunter Biden brought up
} }
% Trump says he was against the Iraq War;
%Twitter/Tweet;
%Trump apology;
%Glass Ceiling;
% America is already great;
% GOP withdrawing support for Trump;
% Sexual assault;
% Wikileaks;
% War on Women;
% Kellyanne Conway;
% Rape/Rapist;
% Citizens United;
% Moderator drops the hammer;
% Women's Rights;
% Amnesty;
% Islamophobia;
% What do you have to lose?;
% I've employed thousands of people;
% I can fix it;
% Political correctness;
% Crooked Hillary;
% Low energy;
% Rigged;
% Benghazi;
% Florida;
% Moderator becomes visibly frustrated;
% Candidate demands an apology;
% Unqualified;
%Clinton mentions children--\emph{any} children;
%Candidate mentions an endorsement;
%My record shows ...;
%On my first day in office;
%In my first hundred days;
% Clinton says using server was a mistake;
% Stronger Together;
% Deplorables;
% John McCain;
% Tim Kaine;
% Pam Bondi;
% President Obama;
% Bill Clinton;
% Ronald Reagan;
% Paid family leave;
% Missile Defense;
%America's place in the world;
% Single-payer Healthcare;
% More of the Same;
% Privatize Social Security;
% Community Policing;
% Stop and Frisk;
% Implicit Bias;
% Institutional Racism;
% Open Borders;
% LGBTQ rights;
% I have a plan;
% Bankruptcy;
% Tax returns;
% TPP;
% Income inequality;
% Top 1\%;
%Health of candidate;
% Trump Foundation;
% Trump University;
% Clinton Foundation;
% Black Lives Matter;
% All Lives Matter;
% Alt-right;
% Climate change;
% Hurricane;
% Emails;
% Temperament;

View File

@ -1,82 +1,107 @@
% Hopefully a nice table % Hopefully a nice table
$\Box$ & ``Believe me" \\[\sep] $\square$ & ``Believe me" \\[\sep]
$\Box$ & Make America Great Again \\[\sep] $\square$ & Make America Great Again \\[\sep]
$\Box$ & Build a/the wall \\[\sep] $\square$ & Build a/the wall \\[\sep]
$\Box$ & Liberal media \\[\sep] $\square$ & Liberal media \\[\sep]
$\Box$ & ``Tremendous" \\[\sep] $\square$ & ``Tremendous" \\[\sep]
$\Box$ & We don't \emph{win} anymore \\[\sep] $\square$ & We don't \emph{win} anymore \\[\sep]
$\Box$ & International respect \\[\sep] $\square$ & International respect \\[\sep]
$\Box$ & Small Town \\[\sep] $\square$ & Small Town \\[\sep]
$\Box$ & China \\[\sep] $\square$ & China \\[\sep]
$\Box$ & Syria \\[\sep] $\square$ & Syria \\[\sep]
$\Box$ & Israel \\[\sep] $\square$ & Israel \\[\sep]
$\Box$ & Iran \\[\sep] $\square$ & Iran \\[\sep]
$\Box$ & Mexico \\[\sep] $\square$ & Mexico \\[\sep]
$\Box$ & Russia \\[\sep] $\square$ & Russia \\[\sep]
$\Box$ & North Korea \\[\sep] $\square$ & North Korea \\[\sep]
$\Box$ & Heckler interrupts speech \\[\sep] $\square$ & The Middle Class \\[\sep]
$\Box$ & The Middle Class \\[\sep] $\square$ & Bernie Sanders \\[\sep]
$\Box$ & Bernie Sanders \\[\sep] $\square$ & National Debt \\[\sep]
$\Box$ & Elizabeth Warren \\[\sep] $\square$ & Trade Deals \\[\sep]
$\Box$ & Mike Pence \\[\sep] $\square$ & Infrastructure \\[\sep]
$\Box$ & Alliances \\[\sep] $\square$ & Clean Energy \\[\sep]
$\Box$ & National Debt \\[\sep] $\square$ & Coal \\[\sep]
$\Box$ & Trade Deals \\[\sep] $\square$ & Law and Order \\[\sep]
$\Box$ & Infrastructure \\[\sep] $\square$ & Terrorism \\[\sep]
$\Box$ & Clean Energy \\[\sep] $\square$ & NAFTA \\[\sep]
$\Box$ & Coal \\[\sep] $\square$ & US budget deficit \\[\sep]
$\Box$ & Law and Order \\[\sep] $\square$ & Social Security \\[\sep]
$\Box$ & Terrorism \\[\sep] $\square$ & Veterans \\[\sep]
$\Box$ & Bipartisan \\[\sep] $\square$ & The Second Amendment \\[\sep]
$\Box$ & Free market \\[\sep] $\square$ & Transparency \\[\sep]
$\Box$ & Free enterprise \\[\sep] $\square$ & NATO \\[\sep]
$\Box$ & Freedom \\[\sep] $\square$ & ``Leadership" \\[\sep]
$\Box$ & Taxes \\[\sep] $\square$ & ``I love \_\_\_\_\_.'' \\[\sep]
$\Box$ & NAFTA \\[\sep] $\square$ & the Supreme Court \\[\sep]
$\Box$ & US budget deficit \\[\sep] $\square$ & Immigration reform \\[\sep]
$\Box$ & Social Security \\[\sep] $\square$ & Obamacare \\[\sep]
$\Box$ & Veterans \\[\sep] $\square$ & Muslim ban \\[\sep]
$\Box$ & The Second Amendment \\[\sep] $\square$ & Voter fraud \\[\sep]
$\Box$ & Transparency \\[\sep] $\square$ & Russian ``Hacking" \\[\sep]
$\Box$ & NATO \\[\sep] $\square$ & ``Wall Street" \\[\sep]
$\Box$ & ``Leadership" \\[\sep] $\square$ & ``Main Street" \\[\sep]
$\Box$ & ``I love \_\_\_\_\_.'' \\[\sep] $\square$ & Russia \\[\sep]
$\Box$ & the Supreme Court \\[\sep] $\square$ & Vladimir Putin \\[\sep]
$\Box$ & Immigration reform \\[\sep] $\square$ & Medicare \\[\sep]
$\Box$ & Obamacare \\[\sep] $\square$ & ISIS \\[\sep]
$\Box$ & Muslim ban \\[\sep] $\square$ & Congress \\[\sep]
$\Box$ & Voter ID laws \\[\sep] $\square$ & Refugees \\[\sep]
$\Box$ & Voter fraud \\[\sep] $\square$ & Names a small town \\[\sep]
$\Box$ & Russian ``Hacking" \\[\sep] $\square$ & Trade war \\[\sep]
$\Box$ & ``Wall Street" \\[\sep] $\square$ & Misprounounces word \\[\sep]
$\Box$ & ``Main Street" \\[\sep] $\square$ & ``Nancy Pelosi" \\[\sep]
$\Box$ & Russia \\[\sep] $\square$ & Mar-a-lago \\[\sep]
$\Box$ & Vladimir Putin \\[\sep] $\square$ & Whistleblower \\[\sep]
$\Box$ & Medicare \\[\sep] $\square$ & ``Disaster" \\[\sep]
$\Box$ & ISIS \\[\sep] $\square$ & ``Many people are saying" \\[\sep]
$\Box$ & Congress \\[\sep] $\square$ & ``God bless America" \\[\sep]
$\Box$ & Refugees \\[\sep] $\square$ & Ukraine \\[\sep]
$\Box$ & Impeachment \\[\sep] $\square$ & NASA \\[\sep]
$\Box$ & Britain \\[\sep] $\square$ & Sexual assault \\[\sep]
$\Box$ & Names a small town \\[\sep] $\square$ & Trump asks for Biden to take a drug test after the debate \\[\sep]
$\Box$ & Trade war \\[\sep] $\square$ & China \\[\sep]
$\Box$ & Touts record Dow Jones \\[\sep] $\square$ & trump says "wrong" \\[\sep]
$\Box$ & Strongest military \\[\sep] $\square$ & Fake news \\[\sep]
$\Box$ & Farmers \\[\sep] $\square$ & Biden Promises Free Healthcare \\[\sep]
$\Box$ & ``Blue states" \\[\sep] $\square$ & Biden mentions Trumps Taxes \\[\sep]
$\Box$ & Misprounounces word \\[\sep] $\square$ & Biden messes up numbers/math \\[\sep]
$\Box$ & Points to guest \\[\sep] $\square$ & Trump takes a sip of water with both hands \\[\sep]
$\Box$ & ``Nancy Pelosi" \\[\sep] $\square$ & Biden panders \\[\sep]
$\Box$ & Mar-a-lago \\[\sep] $\square$ & Biden forgets where he is \\[\sep]
$\Box$ & Whistleblower \\[\sep] $\square$ & Trump brings up Bidens sons Russian Prostitution ring \\[\sep]
$\Box$ & ``Disaster" \\[\sep] $\square$ & Trump calls Biden out on decades of being in office with nothing to show \\[\sep]
$\Box$ & ``Many people are saying" \\[\sep] $\square$ & Trump uses the phrase « Sleepy Joe » \\[\sep]
$\Box$ & Camera shows other Trumps \\[\sep] $\square$ & Sleepy joe denies that blm and antifa are violent organizations \\[\sep]
$\Box$ & Anyone sleeping \\[\sep] $\square$ & Democrats are proven to be idiots once more \\[\sep]
$\Box$ & Entitlement cuts \\[\sep] $\square$ & joe is silent trying to think about his awnser for 10 sec \\[\sep]
$\Box$ & ``God bless America" \\[\sep] $\square$ & trump does the hand thing \\[\sep]
$\Box$ & Mike Pompeo \\[\sep] $\square$ & Trump calls Biden out on decades of being in office with nothing to show \\[\sep]
$\Box$ & Ukraine \\[\sep] $\square$ & Trump calls Biden a pedophile \\[\sep]
$\Box$ & NASA \\[\sep] $\square$ & Trump mentions Ukraine \\[\sep]
$\Box$ & ``Entrepreneurs" \\[\sep] $\square$ & Biden stares at ceiling \\[\sep]
$\square$ & Trump talks for more than 10 seconds after his time is up \\[\sep]
$\square$ & CORONAVIRUS \\[\sep]
$\square$ & Trump wears blue tie \\[\sep]
$\square$ & YUGGEEEE \\[\sep]
$\square$ & ... by the way \\[\sep]
$\square$ & Trump Blames Obama \\[\sep]
$\square$ & Biden Praises Obama \\[\sep]
$\square$ & China Virus \\[\sep]
$\square$ & Make America Great Again \\[\sep]
$\square$ & Keep America Great \\[\sep]
$\square$ & "Beautiful Clean Coal" \\[\sep]
$\square$ & Trump Disses Company by name \\[\sep]
$\square$ & Hilary Clinton Mentioned \\[\sep]
$\square$ & Trump blames a female for something \\[\sep]
$\square$ & Trump says he will lower taxes \\[\sep]
$\square$ & Biden says he will raise taxes \\[\sep]
$\square$ & Mail Fraud \\[\sep]
$\square$ & "witch hunt" \\[\sep]
$\square$ & Twitter mentioned \\[\sep]
$\square$ & "A lot of people" \\[\sep]
$\square$ & Second impeachment mentioned \\[\sep]
$\square$ & LGBT mentioned \\[\sep]
$\square$ & Harris skin color mentioned \\[\sep]
$\square$ & Trump calls Biden "Low Energy" \\[\sep]
$\square$ & Hunter Biden brought up \\[\sep]

View File

@ -1,11 +1,11 @@
#/usr/bin/python # /usr/bin/python
import os import os
import sys import sys
import re import re
# makechecklist.py: a quick parser for a specifically-formatted LaTeX file # makechecklist.py: a quick parser for a specifically-formatted LaTeX file
# that produces a nice checklist in {longtable} for the entire list. # that produces a nice checklist in {longtable} for the entire list.
# The list is, or should be, larger than the number of cells on any one # The list is, or should be, larger than the number of cells on any one
# bingo card, so a canonical list of the cells is useful when evaluating any # bingo card, so a canonical list of the cells is useful when evaluating any
# one card. # one card.
# #
@ -13,48 +13,51 @@ import re
# Functions: # Functions:
def makeEntry(varname): def makeEntry(varname):
"""Take a nicely formatted variable (string) and write it into a LaTeX \ """Take a nicely formatted variable (string) and write it into a LaTeX \
[long]table cell""" [long]table cell"""
tabline = str( "$\\square$ & %s \\\\[\\sep]\n" % varname ) tabline = str("$\\square$ & %s \\\\[\\sep]\n" % varname)
return(tabline) return tabline
def slurpInFile(fn, theList): def slurpInFile(fn, theList):
"""Open an input file, parse it, ignore some fields, and nicely format the\ """Open an input file, parse it, ignore some fields, and nicely format the\
remainder of the file into a long text string of LaTeX tabular fields.""" remainder of the file into a long text string of LaTeX tabular fields."""
f=open(fn, 'r') f = open(fn, "r")
li=f.read() li = f.read()
grr = li.split('\n') grr = li.split("\n")
for i in grr: for i in grr:
if( re.search('^%|^\s*$', i) ): if re.search("^%|^\s*$", i):
continue continue
elif (re.match('\s*}\s*$', i) ): elif re.match("\s*}\s*$", i):
return(theList) return theList
else: else:
mline=i.split(';') mline = i.split(";")
# print (mline) # print (mline)
for j in mline: for j in mline:
if ( re.match ('^\s*$', j) ): if re.match("^\s*$", j):
continue continue
j = re.sub('\\\\myItems{', "", j) j = re.sub("\\\\myItems{", "", j)
theList=theList+makeEntry(j) theList = theList + makeEntry(j)
return 0 return 0
# Main loop: # Main loop:
filename="bingolist.tex" filename = "bingolist.tex"
nicetable="% Hopefully a nice table\n\n" nicetable = "% Hopefully a nice table\n\n"
nicetable = slurpInFile(filename, nicetable) nicetable = slurpInFile(filename, nicetable)
# write out the table to a file: # write out the table to a file:
ofile="checklist1.tex" ofile = "checklist1.tex"
output=open(ofile, 'w') output = open(ofile, "w")
output.write(nicetable) output.write(nicetable)
output.close() output.close()
# let user know: # let user know:
print("wrote output to %s" % ofile) print("wrote output to %s" % ofile)