Home > Latex > Some useful tips for Latex

Some useful tips for Latex

To remove the hyphenation from the line break use the following in your document class:

\hyphenpenalty=5000

\tolerance=1000

To add urls in your document use the url package and include this in your document to use it:

\usepackage{url}

And use  the following command to add URLs:

\url { your url}

Referring to a section, figure, subsection or table you can use  the following commands:

~\ref{your referring label}

And to refer a listing label use only \ref instead of ~\ref.

To generate a quotation in latex use this “ for left quote and use this for right quote.

For special character å use \r{a}, for ä use \”{a} and for ö use \”{o}.

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.