7.31.2 Greatest hits from previous weeks

7.31.2.1 Matrix in Latex
7.31.2.2 Scale image to page width?
7.31.2.3 Write pseudo code in latex
7.31.2.4 Making the bibliography appear in the table of contents
7.31.2.5 Why is \newpage ignored sometimes ?
7.31.2.6 Omitting the date when using \maketitle
7.31.2.7 Force figure placement in text
7.31.2.1 Matrix in Latex

https://tex.stackexchange.com/landing/r/digest?cta=question&id=204621

I am new to Latex, and I have been trying to get the matrix of following form 
[x11 x12 x13 . . . . x1n 
x21 x22 x23 . . . . x2n 
. 
. 
. 
. 
xd1 xd2 xd3 . . . . xdn] 
... 
[matrices]
 
asked by Lakshmi Narayanan https://tex.stackexchange.com/landing/r/digest?cta=user&id=63361 130 votes
answered by skpblack https://tex.stackexchange.com/landing/r/digest?cta=user&id=42912 200 votes
7.31.2.2 Scale image to page width?

https://tex.stackexchange.com/landing/r/digest?cta=question&id=39147

I use 
\inclugraphics[scale=TRYING TO GUESS THE NUMBER FOR PAGE WIDTH]{...} 
but I find this errorsome, is there some ready flag to set the image to page width? I usually use PNG and JPG photos. 
[graphics] [scaling]
 
asked by hhh https://tex.stackexchange.com/landing/r/digest?cta=user&id=2956 244 votes
answered by Werner https://tex.stackexchange.com/landing/r/digest?cta=user&id=5764 231 votes
7.31.2.3 Write pseudo code in latex

https://tex.stackexchange.com/landing/r/digest?cta=question&id=163768

I am trying to write pseudo code in my paper. Here is the snippet and image like what I want.  Can some one please help me to format it. 
\begin{algorithm} 
\caption{Euclida^\200\231s algorithm}\label{euclid} 
\... 
[algorithms]
 
asked by cyclic https://tex.stackexchange.com/landing/r/digest?cta=user&id=47334 119 votes
answered by karlkoeller https://tex.stackexchange.com/landing/r/digest?cta=user&id=27635 165 votes
7.31.2.4 Making the bibliography appear in the table of contents

https://tex.stackexchange.com/landing/r/digest?cta=question&id=8458

I need to make my (BibTeX) references section appear in the table of contents of my LaTeX document (documentclass: article), with section numbering too. 
My approach until now has been making a new ... 
[sectioning] [table-of-contents] [bibliographies]
 
asked by Genba https://tex.stackexchange.com/landing/r/digest?cta=user&id=2311 205 votes
answered by lockstep https://tex.stackexchange.com/landing/r/digest?cta=user&id=510 156 votes
7.31.2.5 Why is \newpage ignored sometimes ?

https://tex.stackexchange.com/landing/r/digest?cta=question&id=2958

I have the following towards the end of an article. The bibliography is short (4 entries). 
What's happening is that on the very last page of document I get the chart and immediately afterwards the ... 
[floats] [page-breaking]
 
asked by wishihadabettername https://tex.stackexchange.com/landing/r/digest?cta=user&id=564 153 votes
answered by Will Robertson https://tex.stackexchange.com/landing/r/digest?cta=user&id=179 223 votes
7.31.2.6 Omitting the date when using \maketitle

https://tex.stackexchange.com/landing/r/digest?cta=question&id=2760

I'm using the \author and \title commands to produce a title with \maketitle. I also know that there is a \date command to specify the date of my work. However, if I omit \date, \maketitle will ... 
[titles] [datetime]
 
asked by lockstep https://tex.stackexchange.com/landing/r/digest?cta=user&id=510 320 votes
answered by frabjous https://tex.stackexchange.com/landing/r/digest?cta=user&id=411 308 votes
7.31.2.7 Force figure placement in text

https://tex.stackexchange.com/landing/r/digest?cta=question&id=8625

I have a problem when a lot of figures are in question. Some figures tend to "fly around", that is, be a paragraph below, although I placed them before that paragraph. I use code: 
\begin{figure}[ht] 
\... 
[floats] [positioning] [captions]
                                                                                  

                                                                                  
 
asked by Marin https://tex.stackexchange.com/landing/r/digest?cta=user&id=2755 558 votes
answered by Juan A. Navarro https://tex.stackexchange.com/landing/r/digest?cta=user&id=169 674 votes