• About
    • Cookie Policy
  • Code Snippets
    • Beamer (presentation)
    • Figures
    • Lists
    • Standard classes
    • Tables
  • Consulting
  • LaTeX Installation
  • Posting Questions
  • TeX/LaTeX Resources

texblog

because LaTeX matters

Offline package documentation with texdoc

22. April 2008 by tom 2 Comments

Every package in Latex comes with its documentation. Hence, most LaTeX-distributions contain the “complete” documentation by default, which is accessible without an internet connection. In order to access a documentation file of any package, go to the command line and type: For example, to open the documentation of the hyperref package, use: The texdoc command opens … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: LaTeX, Package, Tips & tricks Tagged: console, LaTeX, Mac OS X, texdoc, Windows

Floating text around figure/table

14. April 2008 by tom 15 Comments

Everyone knows the problem, in Latex a figure or table takes the whole width of a page. Even though you can have several figures/tables next to each other (see posts on minipage and subfigure), with none of these techniques it is possible to have floating text around a figure or table. Here is how you … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: Figure & table, Introduction, LaTeX, Package Tagged: figure, floatflt, floatingfigure, floatingtable, LaTeX

Include source code in Latex with “Listings”

2. April 2008 by tom 58 Comments

 First include the “listings”-package into your document: \usepackage{listings} Basics Now you have basically two possibilities. Either you type/copy your source code directly into the Latex document: \begin{lstlisting} place your source code here \end{lstlisting} The other possibility is to directly include the source file: \lstinputlisting{filename.java} This is particularly useful if you are still editing your source … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: Introduction, LaTeX, Package Tagged: code, LaTeX, listings

Math-formulas with LaTeX on WordPress

1. April 2008 by tom 4 Comments

WordPress supports the basic LaTeX math mode. How does it work? Simply type $latex …$, where you replace … with the LaTeX math code. Here is an example formula, $latex f(x_1,x_2)=x_1^2+x_2^2$ which translates to: The original post on the official WordPress blog can be found here.

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: LaTeX, math, Tips & tricks Tagged: formula, LaTeX, math

Natbib: Multiple reference citation

17. March 2008 by tom 38 Comments

Natbib is a reimplementation of the \cite command, providing both, author-year and numerical citations.You can get the distribution as well as the documentation from CTAN.Apparently, my previous post on this topic was not providing sufficient information in order to automatically create lists for multiple citations, e.g. [1,2,3, 5] -> [1-3, 5].Here is how it definitely … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: Bibtex & biblatex, Introduction, LaTeX, Package Tagged: bibliography, bibliographystyle, citation, cite, citep, citet, LaTeX
« Previous 1 … 29 30 31 … 36 Next »




Consulting

Need help with your thesis or book project? Let’s discuss.

Join 6,570 other subscribers
doi2bib




Top Posts & Pages

  • List of figures and list of tables (\listoffigures & \listoftables)
  • Multi-column and multi-row cells in LaTeX tables
  • Control the width of table columns (tabular) in LaTeX
  • Big O and related notations in LaTeX
  • Cleveref, a clever way to reference in LaTeX

Tags

addcontentsline array article bibliography Bibtex & biblatex book caption chapter citation cite code color definecolor description documentclass draft enumerate equation fancyhdr figure graphicx hyperref includegraphics item itemize label landscape LaTeX letter listoffigures listoftables math minipage reference renewcommand report section subfigure table tableofcontent tabular text TikZ usepackage xcolor

Copyright © 2025 texblog.

Omega Child WordPress Theme by ThemeHall