\begin{align}
Bias = \frac{1}{n} \textstyle \sum_{i=1}^{n} \varepsilon_{i}
\end{align}
\begin{align}
Bias = \frac{1}{n} \displaystyle \sum_{i=1}^{n} \varepsilon_{i}
\end{align}
about books, music, cooking, inspiring quotes, some beauty of nature…
\begin{align}
Bias = \frac{1}{n} \textstyle \sum_{i=1}^{n} \varepsilon_{i}
\end{align}
\begin{align}
Bias = \frac{1}{n} \displaystyle \sum_{i=1}^{n} \varepsilon_{i}
\end{align}
\documentclass{article} \begin{document} \begin{equation} \frac{\partial Q}{\partial t} = \frac{\partial s}{\partial t} \end{equation} \end{document}
\begin{equation} \frac{\partial h}{\partial t} + \frac{\partial uh}{\partial x} + \frac{\partial vh}{\partial y} = 0 \end{equation}
\begin{equation} \frac{\partial h}{\partial t} + \frac{\partial uh}{\partial x} + \frac{\partial vh}{\partial y} = 0 \end{equation}
\usepackage{amsmath}% http://ctan.org/pkg/amsmath \newcommand{\eqname}[1]{\tag*{#1}}% Tag equation with name \begin{document} \begin{equation} \frac{\partial h}{\partial t} + \frac{\partial uh}{\partial x} + \frac{\partial vh}{\partial y} = 0 \eqname{Continuity Equation} \ \end{equation} \end{document}
\usepackage{amsmath}% http://ctan.org/pkg/amsmath \newcommand{\eqname}[1]{\tag*{#1}}% Tag equation with name \begin{document} \begin{align} \frac{\partial h}{\partial t} + \frac{\partial uh}{\partial x} + \frac{\partial vh}{\partial y} = 0 \\ \eqname{Continuity Equation} \ \end{align} \end{document}
\documentclass{article} \usepackage{amsmath}% http://ctan.org/pkg/amsmath \newcommand{\eqname}[1]{\tag*{#1}}% Tag equation with name \begin{document} \begin{align} f(x) &= a \\ \eqname{Constant} \ g(x) &= ax \\ \eqname{Linear} \ h(x) &= ax^2+bx+c \label{abc} \\ \eqname{Quadratic} \end{align} See~\eqref{abc}. \end{document}
It is always convenient and helpful to have a (clickable) TOC while we are preparing for our publications. It will give us a big picture of our work.
Put the piece of code I provided below immediately before your \section{Introduction} in your .tex file, you will have a clickable TOC in your tex created pdf! Happy Writing:)!
\newpage \thispagestyle{empty} \setcounter{tocdepth}{4} \normalsize \tableofcontents \normalsize \newpage %\pagestyle{fancy} \setcounter{page}{1} \setcounter{section}{0} %\cfoot{\small \sffamily \thepage} \pagenumbering{arabic}
This post provides some useful iPhone tips.
Tap on an app and hold your finger on it until the icons start shaking. When the appicons are shaking, just drag and drop the app icon to a new location. You canrearrange them in whatever order you want (icons have to swap places on the screen; they can’t have empty space between them.)
iPhone assigns a name it thinks is appropriate by default, such as Utilities, Productivity, Lifestyle, or Entertainment, based on the kinds of apps you put in the folder, but you can change the name with these steps:
Press and hold an app on the Home screen.
Tap the wiggling folder whose name you want to edit.
Tap the circled X on the right of the field where the name is written.
The field is erased. A cursor appears at the beginning of the field and the keyboard opens.
Tap out the name you wish to give this folder.
Tap the Done key on the bottom right of the keyboard.
Tap outside the folder to close it.
The buttons are still wiggling.
Tap the Home button to save the renamed folder.
Notes: If your apps folder has a badge on the upper right corner, the number on the badge is a cumulative number of items that need attending to, such as unread messages, app updates, or information updates
See links below for more tips:
iPhone Tips (Everyday Essentials tips for iPhone)
Use the package hyperref
and call the url by \url{https://someplace.org}
\documentclass{report}
\usepackage{hyperref}
\begin{document}
The paragraph\footnote{this text will appear at the footnote area, leave it blank if no text is needed \url{https://someplace.org}}.
\end{document}
% add this command to the preamble of your LaTeX file \usepackage{hyperref}
%use this command in the tex body. \href{http://www.google.com}{Google} The second parameter is the text to display, the first is the url to link to
Sometimes we need to rename default “References” to “Recent publications”, or what ever you would like to change it to.
This depends on the document class. The command may be:
\renewcommand\refname{Recent publications}
OR
\renewcommand\bibname{Recent publications}
(Add the command to your preamble. Sometimes if it does not work, try to add the new definition after \begin{document}. )
Sometimes when we are writing documents (e.g., for some applications), where it may require a list of recent publications – in this case, we need to list the references without citing it in the text body. The solution is:
Use \nocite{keyname}
for a single input in the references without marking it in the document. To mark any key in the .bib
file use \nocite{*}
write \nocite{*}
for all entries in the bib data file or \nocite{key}
for a single one, which is not cited in the text. Place these commands anywhere in your text body. I prefer the place before printing the bib.
For example:
%myrefbib.bib
@misc{abc,
author = "NAME",
date = "YEAR",
howpublished = "ACM Digital"
}
%example.tex
\documentclass{article}
\begin{document}
\nocite{abc}
\bibliographystyle{alpha}
\bibliography{myrefbib}
\end{document}
Updates:
Now ShareLaTeX and Overleaf are teamed up, so we do not need to worry about choosing which. We just need to use the merged online LaTeX Editor here: Online LaTeX Editor Overleaf.
************
ShareLaTeX is an online LaTeX editor that allows real-time collaboration and online compiling of projects to PDF format. Overleaf (formerly called WriteLaTeX) is another popular online LaTeX editor that allows collaborative LaTex editing. See the post Comparison: ShareLaTeX vs Overleaf (formerly WriteLaTeX) for more details about the comparison.
Some main points from the comparison:
ShareLaTex:
Overleaf:
Main differences:
\citep{}
, making easy to find the key you want to use; while ShareLaTeX does nothing.My conclusions:
I have tried both, and I personally prefer ShareLaTeX. ShareLaTeX is better than Overleaf because of the slightly better feature set.
In ShareLaTeX, even in free version, your projects are private. But in Overleaf you need to use Pro version to get this benefit.
ShareLaTeX is better for users with LaTeX experience. Whereas Overleaf is good for users who have few LaTeX experience, because it supports both Rich text and LaTeX.
I have the similar conclusion as what this post describes: ShareLaTeX and latexdiff are two LaTeX gems. See my post for the usage of latexdiff.
(Thanks Guido for recommending ShareLaTeX and Overleaf to me.)
This post provides links to some English dictionaries for your and for my own convenience.