Are you over 18 and want to see adult content?
More Annotations
![A complete backup of fusion-festival.de](https://www.archivebay.com/archive2/ac609543-a25e-49cd-affc-3f1092688a05.png)
A complete backup of fusion-festival.de
Are you over 18 and want to see adult content?
![A complete backup of discoverychannel.jp](https://www.archivebay.com/archive2/7a7143fb-e186-4a27-b0a1-3220c92c2be7.png)
A complete backup of discoverychannel.jp
Are you over 18 and want to see adult content?
![A complete backup of acls-pals-bls.com](https://www.archivebay.com/archive2/13ee6b80-00f2-4c65-a673-ac8f3055d6ca.png)
A complete backup of acls-pals-bls.com
Are you over 18 and want to see adult content?
![A complete backup of cherrycreeknorth.com](https://www.archivebay.com/archive2/5492f9cc-2fed-4621-a582-d86cdb7ad9c4.png)
A complete backup of cherrycreeknorth.com
Are you over 18 and want to see adult content?
![A complete backup of nahuelhuapi.gov.ar](https://www.archivebay.com/archive2/dd4fd043-0cc6-44de-9cf3-4bf6f75570a7.png)
A complete backup of nahuelhuapi.gov.ar
Are you over 18 and want to see adult content?
![A complete backup of netjetseurope.com](https://www.archivebay.com/archive2/fc6e8e00-dea1-48ce-8bc3-84ea1e3a6312.png)
A complete backup of netjetseurope.com
Are you over 18 and want to see adult content?
![A complete backup of lilyanncabinets.com](https://www.archivebay.com/archive2/95d41926-834d-449f-a34d-12eb9f98a05a.png)
A complete backup of lilyanncabinets.com
Are you over 18 and want to see adult content?
![A complete backup of hostingdiscussion.com](https://www.archivebay.com/archive2/d85c5007-9b43-4398-b0a6-642e5bc69197.png)
A complete backup of hostingdiscussion.com
Are you over 18 and want to see adult content?
Favourite Annotations
![A complete backup of xtremehardware.com](https://www.archivebay.com/archive2/67cc8cbb-c62c-4b96-acf3-8ac69abd17a5.png)
A complete backup of xtremehardware.com
Are you over 18 and want to see adult content?
![A complete backup of everydaycalifornia.com](https://www.archivebay.com/archive2/43b8111f-ec15-44dd-abaa-b02c28a47738.png)
A complete backup of everydaycalifornia.com
Are you over 18 and want to see adult content?
![A complete backup of blackgoatcashmere.com](https://www.archivebay.com/archive2/017fb182-44ff-40d6-8240-d1e049a44c35.png)
A complete backup of blackgoatcashmere.com
Are you over 18 and want to see adult content?
![A complete backup of totalhomeanalysis.com](https://www.archivebay.com/archive2/537cf60b-1326-4896-bd3c-4fb42775dffd.png)
A complete backup of totalhomeanalysis.com
Are you over 18 and want to see adult content?
![A complete backup of neverloseehopee.tumblr.com](https://www.archivebay.com/archive2/718be78b-0b6c-493e-bfa3-818408d60f00.png)
A complete backup of neverloseehopee.tumblr.com
Are you over 18 and want to see adult content?
Text
TRUONG ON LATEX
The main reason why “playing with \parskip is a bad idea” is that this length also affects list environments.Quoting from Mittelbach (1989), With LateX into the Nineties, section 3.1 “Implementation desasters”: The generic list environment is one of the central modules of the LaTeX implementation. SCRATCH | TRUONG ON LATEX Need to read: LaTeX tips Also read these tips, which include a tip for converting PSTrick to EPS.TRUONG ON LATEX
Because LaTeX is beautiful. I wrote this post on my main blog a while ago. I copied it here because I think it’s more appropriate. SyncTeX is a method for synchronization between (La)TeX source and its DVI/PDFfile.
REFERENCE | TRUONG ON LATEX Posts about reference written by Truong Nghiem. Privacy & Cookies: This site uses cookies. By continuing to use this website, you agreeto their use.
ARROWS AND STACK MATH SYMBOLS One common composition in typesetting mathematical formulas in LaTeX is stacking mathematical symbols, sometimes quite long, over an arrow. Standard LaTeX provides several commands for this purpose, however sometimes they do not satisfy our need, especially when we typeset long arrows. In this post, I will review several commands that willhelp you to typeset
CREATE STANDALONE FIGURES WHICH ARE INPUT-ABLE In you main LaTeX file, you must use the standalone package at the very beginning of the preamble, and input the figure file as usual. For example: This is a figure. \caption{A figure.} You can compile this main file as usual. When being input, the preamble of the figure file (i.e. everything between \documentclass and \begin {document}) is NOTE | TRUONG ON LATEX Found this useful post on the internet: http://kwarc.info/blog/2009/07/01/shiny-and-productive-to-do-notes-in-latex/ Copied: I found the ultimate setup for to-do TRACKING | TRUONG ON LATEX Found this useful post on the internet: http://kwarc.info/blog/2009/07/01/shiny-and-productive-to-do-notes-in-latex/ Copied: I found the ultimate setup for to-do XETEX | TRUONG ON LATEX XeTeX is a (La)TeX engine that natively supports expert fonts (so you can freely use any font in your system). It is cross-platform. More information can be found on Google. TYPESETTING ALGORITHMS/PSEUDO-CODE Two LaTeX packages are very popularly used to typeset algorithms/pseudo-code (actually one is a set of related packages). The first is the algorithms package and its related packages. The second is the algorithm2e package. The algorithms package provides two basic environments: algorithm for creating floats that contain algorithms, and algorithmic for typesetting actual algorithms.TRUONG ON LATEX
The main reason why “playing with \parskip is a bad idea” is that this length also affects list environments.Quoting from Mittelbach (1989), With LateX into the Nineties, section 3.1 “Implementation desasters”: The generic list environment is one of the central modules of the LaTeX implementation. SCRATCH | TRUONG ON LATEX Need to read: LaTeX tips Also read these tips, which include a tip for converting PSTrick to EPS.TRUONG ON LATEX
Because LaTeX is beautiful. I wrote this post on my main blog a while ago. I copied it here because I think it’s more appropriate. SyncTeX is a method for synchronization between (La)TeX source and its DVI/PDFfile.
REFERENCE | TRUONG ON LATEX Posts about reference written by Truong Nghiem. Privacy & Cookies: This site uses cookies. By continuing to use this website, you agreeto their use.
ARROWS AND STACK MATH SYMBOLS One common composition in typesetting mathematical formulas in LaTeX is stacking mathematical symbols, sometimes quite long, over an arrow. Standard LaTeX provides several commands for this purpose, however sometimes they do not satisfy our need, especially when we typeset long arrows. In this post, I will review several commands that willhelp you to typeset
CREATE STANDALONE FIGURES WHICH ARE INPUT-ABLE In you main LaTeX file, you must use the standalone package at the very beginning of the preamble, and input the figure file as usual. For example: This is a figure. \caption{A figure.} You can compile this main file as usual. When being input, the preamble of the figure file (i.e. everything between \documentclass and \begin {document}) is NOTE | TRUONG ON LATEX Found this useful post on the internet: http://kwarc.info/blog/2009/07/01/shiny-and-productive-to-do-notes-in-latex/ Copied: I found the ultimate setup for to-do TRACKING | TRUONG ON LATEX Found this useful post on the internet: http://kwarc.info/blog/2009/07/01/shiny-and-productive-to-do-notes-in-latex/ Copied: I found the ultimate setup for to-do XETEX | TRUONG ON LATEX XeTeX is a (La)TeX engine that natively supports expert fonts (so you can freely use any font in your system). It is cross-platform. More information can be found on Google. TYPESETTING ALGORITHMS/PSEUDO-CODE Two LaTeX packages are very popularly used to typeset algorithms/pseudo-code (actually one is a set of related packages). The first is the algorithms package and its related packages. The second is the algorithm2e package. The algorithms package provides two basic environments: algorithm for creating floats that contain algorithms, and algorithmic for typesetting actual algorithms.UNCATEGORIZED
Posts about Uncategorized written by Truong Nghiem. I wrote this post on my main blog a while ago. I copied it here because I think it’s more appropriate. SyncTeX is a method for synchronization between (La)TeX source and its DVI/PDF file.ON \PARSKIP
On \parskip. March 24, 2012 by Truong Nghiem. I must copy this answer from tex.se. It is really useful. I often change \parskip and always find the lists look awful. The main reason why “playing with \parskip is a bad idea” is that this length also affects list environments. Quoting from Mittelbach (1989), With LateX into theNineties
APRIL | 2010 | TRUONG ON LATEX 1 post published by Truong Nghiem during April 2010. One common composition in typesetting mathematical formulas in LaTeX is stacking mathematical symbols, sometimes quite TO-DO NOTES IN LATEX Found this useful post on the internet: Copied: I found the ultimate setup for to-do notes in LaTeX (of which my current thesis draft has a lot). Traditionally, I’ve been using Michael’s ednotes, b TYPESETTING NUMERICAL DATA (WITH UNITS) IN LATEX Typesetting numerical data (with units) in LaTeX correctly can be difficult and time-consuming. Note that I emphasized "correctly." Fortunately, siunitx comes to the rescue. From its description: Typesetting values with units requires care to ensure that the combined mathematical meaning of the value plus unit combination is clear. In particular, the SI units system lays JUNE | 2010 | TRUONG ON LATEX 1 post published by Truong Nghiem during June 2010. I wrote this post on my main blog a while ago. I copied it here because I think it’s more appropriate. SyncTeX is a method for synchronization between (La)TeX source and its DVI/PDF file. AUGUST | 2011 | TRUONG ON LATEX Typesetting numerical data (with units) in LaTeX correctly can be difficult and time-consuming. Note that I emphasized “correctly.” Fortunately, siunitx comes to the rescue. From its description: Typesetting values with units requires care to ensure that the combined mathematical meaning of the value plus unit combination isclear.
MAY | 2010 | TRUONG ON LATEX You may want to change the vertical space amount and the scale of your signature image. The command \fromsig will include your name. In the case you still want to print the letter out and sign it in ink, but you find the default space is too small, this is a tip for enlarging the signature space. \setlength {\oldmedskipamount} {\medskipamount THE COOL PACKAGE IS COOL The cool package is cool. January 23, 2011 by Truong Nghiem. cool is a package that helps mathematical equations in LaTeX more meaningful. Also, it makes writing equations easier, especially those involve a lot of (high-order) derivatives, partial derivatives, etc. EXCELLENT RESOURCE FOR WRITING CV’S WITH LATEX Excellent resource for writing CV’s with LaTeX. January 23, 2011 by Truong Nghiem. The CV Inn is a very excellent resource for writing CV’s with LaTeX. Posted in Special Typeset | Tagged cv, resume | Leave a Comment. Comments RSS.* Home
* About
* LaTeX Resources
* Scratch
*
TRUONG ON LATEX
BECAUSE LATEX IS BEAUTIFUL* FEEDS: Posts
Comments
ON \PARSKIP
March 24, 2012 by Truong Nghiem I must copy this answer from tex.se. It is really useful. I often change \parskip and always find the lists look awful. ------------------------- The main reason why “playing with \parskip is a bad idea” is that this length also affects list environments. Quoting from Mittelbach (1989), _With LateX into the Nineties_, section 3.1
“Implementation desasters”: > The generic list environment is one of the central modules of the > LaTeX implementation. It is used internally by most standard > environments provided by LaTeX; even environments such > as center are handled as a special kind of list>
> * An actual conceptual bug was the decision to add the value > of \parskip to all vertical spacing parameters, even when it is > used in places where no paragraph ends. This means that changing > this parameter influences the layout in unexpected places, which in > turn means that other parameters must be adjusted unnecessarily to > compensate for this undesired side effect. The last sentence describes what the parskip package, the options of the same name of theKOMA-script classes and the \abnormalparskip macro of the memoir class do: Besides setting \parskip to a positive value (and, with the exception of memoir, setting \parindentto zero), they adjust the spacing before and after lists. Why does KOMA-scripthave so many options for parskip? You may choose between a vertical space equal to \baselineskip (full) or 0.5\baselineskip (half). You may also choose the minimum amount of whitespace to be left at the end of the last line of a paragraph (up to0.33\linewidth); such whitespace increases the perceptibility of the start of a new paragraph. Regarding \parindent: As Ulrike has explained, changing this lengthis not a problem.
Advertisements
Report this ad
Advertisements
Report this ad
Posted in Special Typeset| Leave
a Comment »
CREATE STANDALONE FIGURES WHICH ARE INPUT-ABLE November 28, 2011 by Truong Nghiem If you are using PGF/TikZ (or any drawing language for (La)TeX such as PSTricks), you will soon find yourself either: * Re-compile an entire long LaTeX document just to see the effect of a small change you have made in a figure; or * Maintain a simplified master LaTeX file for every figure file (that’s 2 files for each figure) so that you can compile the figurequickly; or
* Keep changing the preamble template for a tool like QtikZ to incorporate your custom definitions and packages for your figures. Any of the above methods is cumbersome, time-consuming and inefficient. A much better way is to use the standalone package. For example, you are creating a figure in TikZ for your long paper. You put the figure code in a TeX file with a full preamble & the usual document environment, as if you are writing a small document with only one figure in it. But you don’t use the usual document class (e.g. article). You use the class standalone instead, as follows:1
2
3
4
5
6
7
8
9
10
% File myfigure.tex
\documentclass{standalone}\usepackage{tikz}
\usepackage{mypackage}\input{mydefs}
\begin{document}
\begin{tikzpicture}
\draw (0,0) rectangle (2,1) node {Cool};\end{tikzpicture}
\end{document}
If you compile this file, you will get the same result as if you used the preview package. You can make small changes and re-compile onlythe figure quickly.
In you main LaTeX file, you must use the standalone package at the very beginning of the preamble, and input the figure file as usual.For example:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
\documentclass{article} \usepackage{standalone}\usepackage{tikz}
\usepackage{mypackage}\input{mydefs}
\title{Test of the \texttt{standalone} package}\begin{document}
\maketitle
This is a figure.
\begin{figure}
\centering
\input{subfile}
\caption{A figure.}
\end{figure}
\end{document}
You can compile this main file as usual. When being input, the preamble of the figure file (i.e. everything between \documentclass and \begin{document}) is skipped. This method is more flexible and more convenient than the above methods. You maintain only one file per figure, and can edit and re-compile graphic code quickly.Posted in Graphics
| Leave a
Comment »
NEW COMMAND AND CONDITIONING September 13, 2011 by Truong Nghiem To create a new custom command in LaTeX, the command \newcommand is well-known. Its full usage is:1
\newcommand{\commandname}{definition}where
* \commandname is the name of the new command, with backslash; this name must have never been defined. * n is the number of arguments of the new command; if ignored, there will be no argument. * d is the default value of the first argument; if not provided, the first argument will be required. * definition is the definition of the new command. If the command name has already been defined, the above command will cause an error. To re-define a command, use \renewcommand instead.CONDITIONING
In the definition of the new command (or in your LaTeX document in general), you may want to generate content differently based on certain conditions. For example, if the first argument of the command is empty, you want to do “this”, otherwise you want to do “that.” You can use standard TeX commands (TeX programming) for this task, but it is easier to use the package xifthen (an extended version of the package ifthen , you can also use the latter if you want). These packages define commands like1
\ifthenelse{condition}{code if true}{code if false} and commands for checking conditions, for example \isempty{} to check if something is empty. As an example, the following command generates content differently based on its optional first argument:1
2
3
4
5
6
7
8
9
\newcommand{\mycommand}{% \ifthenelse{\isempty{#1}}% {\ensuremath{{#2}_{\mathrm{on}}}}% {\ensuremath{{#2}_{\mathrm{on}, {#1}}}}%}
Usafe examples:
* \mycommand{f} produces * \mycommand{f} produces Posted in Uncategorized| Leave a
Comment »
TYPESETTING NUMERICAL DATA (WITH UNITS) IN LATEX August 12, 2011 by Truong Nghiem Typesetting numerical data (with units) in LaTeX CORRECTLY can be difficult and time-consuming. Note that I emphasized “correctly.” Fortunately, siunitx comes to the rescue. From its description: > Typesetting values with units requires care to ensure that the > combined mathematical meaning of the value plus unit combination is > clear. In particular, the SI units system lays down a consistent set > of units with rules on how they are to be used. However, different > countries and publishers have differing conventions on the exact > appearance of numbers (and units). A number of LaTeX packages have > been developed to provide consistent application of the various > rules: SIunits , sistyle> , unitsdef
> and units
> are the leading examples. The numprint > package provides a large number of > number-related functions, while dcolumn> and rccol
> provide tools for typesetting tabular numbers.>
> The siunitx package takes the best from the existing packages, and > adds new features and a consistent interface. A number of new ideas > have been incorporated, to fill gaps in the existing provision. The > package also provides backward-compatibility with SIunits, sistyle, > unitsdef and units. The aim is to have one package to handle all of > the possible unit-related needs of LaTeX users. Some examples stolen from its manual: * \num{1+-2i} produces * \num{.3e45} produces * \si{kg.m.s^{-1}} or \si{\kilogram\metre\per\second} both produce * \si{\kilogram\metre\per\second} produces These are just a few examples. The possibility is much larger and the package is very useful. So keep my words: “Always use siunitx whenpossible.”
Posted in Special Typeset| Leave
a Comment »
STACK SIZE LIMIT ERROR WITH HYPERREF July 26, 2011 by Truong Nghiem Today I got an weird error: > ! TeX capacity exceeded, sorry . The error text is not very helpful (not at all), but the compiler stopped at a section command of the form: > \section{Some text $\bm{d}$} So I searched on Google and found the cause of the error. It was caused by hyperref trying to convert the mathematical expressions and symbols in the section title to a PDF link in the table of contents. Somehow hyperref does not like mathematical text in section titles, especially bold symbols. There are several solutions, but the following two are the easiest: * Specify an alternative title for the section, usually called short title, and hyperref will use that for the link, like this: > \section{Some text $\bm{d}$} * Specify pure text alternatives for the special symbols in thetitle, like this:
> \section{Some text \texorpdfstring{$\bm{d}$}{d}} Note that the same error can happen with not only mathematical symbols but also other special fonts, such as \verb (as some people reported).References:
* tex.stackexchange.com * More complex solutions(too complex).
Posted in Special Typeset| Leave
a Comment »
TYPESETTING ALGORITHMS/PSEUDO-CODE May 11, 2011 by Truong Nghiem Two LaTeX packages are very popularly used to typeset algorithms/pseudo-code (actually one is a set of related packages). The first is the algorithms package and its related packages. The second is the algorithm2e package. The algorithms package provides two basic environments: algorithm for creating floats that contain algorithms, and algorithmic for typesetting actual algorithms. It is very straightforward and easy to use, however it is not flexible and does not provide ways to customize the output easily. The algorithmicx package provides the same algorithmic environment, but with greater flexibility. The algorithm2e package provides environments for typesetting algorithms with ultimate flexibility. By default, the output looks very much like actual code. It is very customizable. However, it is more difficult to use, and its syntax is not very intuitive.My advice:
* If you don’t need to customize the output of your algorithms too much, don’t have very special needs, or just want to typeset your algorithms quickly, go with the algorithms family. * If you need very professionally looking algorithms, or you want to customize the output in a very special way, then you may want to go with algorithm2e (just MAY). P.S: google the package name on CTAN and you will find the package. I didn’t put the links here. Posted in Special Typeset| Leave
a Comment »
TYPESET COMPLEX BLOCK MATRICES WITH BLKARRAY PACKAGE February 3, 2011 by Truong Nghiem The original article is at stackexchange: http://tex.stackexchange.com/q/10122/3048 The blkarray package can be found onCTAN.
Posted in Special Typeset| Tagged
matrix | Leave a
Comment »
Older Posts »
Advertisements
Report this ad
*
ARCHIVES
* March 2012 (1)
* November 2011 (1) * September 2011 (1)* August 2011 (1)
* July 2011 (1)
* May 2011 (1)
* February 2011 (1) * January 2011 (3)* June 2010 (1)
* May 2010 (1)
* April 2010 (1)
* February 2010 (2) * November 2009 (1) * October 2008 (2)*
CATEGORIES
* Graphics
(2)
* Special Typeset
(11)
* Uncategorized
(5)
*
PAGES
* About
* LaTeX Resources
* Scratch
*
BLOGROLL
* Truong on Matlab
* Truong’s blog
* Truong’s Homepage*
META
* Register
* Log in
* Valid XHTML
* XFN
* WordPress
Blog at WordPress.com. Do Not Sell My Personal InformationWPThemes.
TRUONG on LaTeX
Blog at WordPress.com. Do Not Sell My Personal InformationPost to
Cancel
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. To find out more, including how to control cookies, see here: CookiePolicy
* Follow
*
* TRUONG on LaTeX
* Customize
* Follow
* Sign up
* Log in
* Report this content * Manage subscriptions* Collapse this bar
Report this ad
Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0