Words Associated with
Questions about Macros in Tex
Angela Lozano	

Hackaton SATToSE 2014
Questions related to a
tag
• Repository analyzed:
tex.stackexchange.com	

• Tag analyzed: <macros>	

• Related to 2325 que...
All words
type
renew
tuple
sequence
brackets
versions
form
conditionalurl
variable
vertical
whitespace
showing
just
puttin...
Top 100 words
macro
command
how
newcommand
latex argumentmacros
using
commands
use
environment
can
new
text
define
argumen...
Top words + Stemming +
Stop Words + White spaces
macro
commandhow
use
defin
argument
creat
environ
latex
can
new
what
text...
Only ‘how’ questions
howmacro
command
can
use
defin
creat
make
argument
macro?
text
latex
command?
new
listnumber
custom
e...
Only ‘what’ questions
what
differ
macro
use
way
commandwrong
exact
macro?
def
defin mean
mean?
name
tex
let
newcommand
can...
Only ‘why’ questions
why
command
use
commands
doesnt
macro
work
latex
usingdefined
inside
macros
cant
caption
new
space
ar...
Conclusions & Future
work
• It is possible to identify key issues regarding
a topic	

• Analyze stack overflow to grasp the...
Upcoming SlideShare
Loading in...5
×

Words Associated with Questions about Macros in Tex

212

Published on

Hackaton SATToSE 2014.
Analysis of stack exchange data

Published in: Software
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
212
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Words Associated with Questions about Macros in Tex"

  1. 1. Words Associated with Questions about Macros in Tex Angela Lozano Hackaton SATToSE 2014
  2. 2. Questions related to a tag • Repository analyzed: tex.stackexchange.com • Tag analyzed: <macros> • Related to 2325 questions • Data analyzed: • Titles of entries marked as questions
  3. 3. All words type renew tuple sequence brackets versions form conditionalurl variable vertical whitespace showing just putting capacity compile possible pgfplotstable size expandable amsmath structure keyvalue label points expand coordinate backward width unexpanded online setup per modify alignment pattern substitution family match inside kernel space better items quote node storing changing format errors support directory rlap calculate gaddtomacro par choosing bad declarerobustcommand want xparse difficulty declared deal number parshape act letter arithmetic operator where ensuremath parsing replacing generate latex expanding wrong bar literal todonotes spacing script contains kind environment enumeration protected strsubstitute different functions meaning ifsubstr applied includegraphics single something take appears coding itemize used strange feature flexible append resultsdisable predefined specify names new statement logo string separated defining previously parenthesis things later parse wrapping else specific title left exists characters rows start behave adding signs semantic macronewcommand differences execute edef item etoolbox saving automating point vector conditionallyredefine values xkeyval boxhelp dynamically active error pgfkeys underscore basic block source splitting layout always related ifmmode hiding diagram fragile anything right float hyphenation setting fully handler existing testing work case order value message rest custom position expanded name height cell user certain shorthand quickly usage large ways build leading counter scope expression standalone apply refthe check split passed repeat enumerate gobble punctuation recursively shortcut footnotes latex3 robust ifnum image reduce lstlisting lists letltxmacro partial highlighting solution issue current equation evaluate typesetting tabular switch questions calling best similar outputs limits howcommands list will italic determine bold any tag page argument choose sequences like understanding draw allow include noexpand making lyx curly entry tcolorbox sections beginning delimiter drawing escape closed sentence long detect cite choices missing fontsize loop character numbering verb book maths substitute differently attempt newly tikzpicture let delimiters creating for entries placement mode condition boolean lua uppercase color extract processing returns definition quotes line accents matrix confused preserve plain decimal header titles which search use own colored around top marks pages whats pdflatex kile superscript select ignore variables underline optional documentation outer subscripts local takes practice created undefined keys find margin show outside scanning doesnt declaration etc group modifying pgfplots multicolumn display good useful renewcommand recognize conditionals caps creates shortcuts expandafter definitions column control simple comma process input automatic put hyperref combine copy what run square works another prefix getting derivative newenvironment capital convert contents minipage data working difference given complex words array call tex equivalent properly combination newline sign figure misplaced add know diagrams memory nested selected dynamic zero key chapters pgf endofline result moderncv relax locally are create vspace matching declaremathoperator way chapter quotation insert variant cant about levels part beamer last macro resize listings table called produce programming code see within noop commaseparated remove declaring writing template foreach nesting either version whose count nodes footnote please environments hrule based tree without xelatex ascii preamble parameters examples memoir index newlength binary return exceeded recursive proper placing moving function acronyms texlatex whether fraction frame alternative rule referencing exactly field system required token row comparing get possibly several generating bibliography removing external xstring together effect internal can biblatex asterisk time trying occurrence formatting dont print paragraph problems symbols csname pgfmath isnt stuff wrapper operators inserted abbreviations access extra pdf prevent macros symbol font read store friends typeset style inputs change pass repeating tikz inserting file cross nothing dimension according picture toggle hbox subsection breaks align three customize tables trouble behaviour make expansion text images math reference separate trailing save replace expected written replacement empty unskip automatically roman terms printed word siunitx begin every doing question brace capture series handling dotsignoring description language patch next first define boxes headings issues default force inline global render concatenate behavior lowercase correct amount instead common register exist why lines texttt length backslash paragraphs braces reuse letters parts when produces element newcommands packages parentheses ever subscript emph signature illegal href utf8 documents hspace times small contain full suggestions soul regarding sensitive many tokens options patchcmd document filename columns makeatletter package does class bracket write lstinline ifnextchar stripping starred def redefining hook expands compilation standard reason verbatim objectseverything references csv containing phantom counters end appear already blank double set special providecommand need limit newcommand problem following tikzpgf caption fix wont syntax percent arguments path invoked purpose context arbitrary splitindex theorem listing manual unit endcsname place including section test naming specified defined option done main elements appending counting not avoid mark fontchanging positioning one algorithmic looking ending useschars found content material strings usepackage namedef xdef obtain savebox body fails mean multiplication via formatted redefinition output declare babel heading spaces inner parameter multiple design functionality passing suppress implement catcodes two tilde calculation retrieve texstudio using vskip break sure depending numbers files displayed
  4. 4. Top 100 words macro command how newcommand latex argumentmacros using commands use environment can new text define arguments create what list inside defining custom tex why package make tikz name defined optional file space number variable code character problem math without within def definition one document way possible redefine error parameter value section multiple work creating expansion line string add another table like parameters two automatically mode output remove renewcommand difference end characters class first numbers passing labelverbatim names page sequence style variables word control doesnt spacing write different get input tabular writing empty need spaces test environments expand insert symbols
  5. 5. Top words + Stemming + Stop Words + White spaces macro commandhow use defin argument creat environ latex can new what text space newcommand list custom name insid make number variabl whi option newcommand paramet charact tex using differ redefin tikz file packag expand math pass problem code line work definit macro? without one within valu way string write automat possibl section command? multipl document errortabl add condit remov symbol def anoth insert output two chang format getletter word end like sequenc set first argument? replac call content control expans need test separ counter function latex? page verbatim class mode print tabular contain input label put style
  6. 6. Only ‘how’ questions howmacro command can use defin creat make argument macro? text latex command? new listnumber custom environ space name oneredefin argument? variabl without add insid mathparamet valu charact code file pass remov expand tex whether write arguments? check latex? option tikz display environment? get like line string tabl token newcommand automat avoid content defined? definit disabl document loop newcommand packag store test two def chang color condit detect differ function insert mode prevent show specif symbol tabular verbatim work anoth base character? class? control current document? implement letter list?modifi putread save sever specifi time word How to define a macro?
  7. 7. Only ‘what’ questions what differ macro use way commandwrong exact macro? def defin mean mean? name tex let newcommand can commands? format latex right What macro to use? What is the difference?
  8. 8. Only ‘why’ questions why command use commands doesnt macro work latex usingdefined inside macros cant caption new space argument code define make need newcommand parameter redefining tex value Why my macro doesn’t work?
  9. 9. Conclusions & Future work • It is possible to identify key issues regarding a topic • Analyze stack overflow to grasp the nature of questions whose answers mention bad/ code smells

×