Search found 10 matches

by dl3fo3
Sun Oct 18, 2009 10:11 pm
Forum: Text Formatting
Topic: \setlength{\parskip}{5\parskip} has no effect
Replies: 2
Views: 3748

\setlength{\parskip}{5\parskip} has no effect

\setlength{\parskip}{5\parskip} seems to have no effect. Is there a way to achieve the intended effect?

Code: Select all

Code, edit and compile here:
\documentclass{article}
\begin{document}
Hello
Hello
\setlength{\parskip}{5\parskip}
%\addtolength{\parskip}{4\parskip}
Hello
Hello
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
by dl3fo3
Sun Oct 18, 2009 6:39 pm
Forum: General
Topic: Why \newsavebox, \usebox, \savebox instead of \newcommand?
Replies: 0
Views: 3756

Why \newsavebox, \usebox, \savebox instead of \newcommand?

Why use \newsavebox, \usebox, \savebox when \newcommand seems to do the job too?

\newsavebox, \usebox, and \savebox :
% Create the holders we will need for our work
\newlength{\mytitleheight}
\newsavebox{\mytitletext}
% Create the reference text for measures
\savebox{\mytitletext}{%
\Large ...
by dl3fo3
Sat Oct 17, 2009 7:58 pm
Forum: Page Layout
Topic: alternative to manually inserting vspace everywhere.
Replies: 1
Views: 3540

alternative to manually inserting vspace everywhere.

I'm creating a document for presentation (beamer) and one of the things required for beauty reason is that there should not be too much empty space at the bottom or at the top of each slide. So I add \vspace manually like this:

\begin{frame}
\begin{definition}
\begin{itemize}
\item blah blah ...
by dl3fo3
Fri Jun 12, 2009 1:56 pm
Forum: BibTeX, biblatex and biber
Topic: where do you import BibTeX items from? Google Scholar?
Replies: 1
Views: 2713

where do you import BibTeX items from? Google Scholar?

Both of Google Scholar and Mathscinet support BibTeX import. BibTeX items imported from Google Scholar have worked fine for me so far.

Items imported from Mathscinet usually have more fields, but I'm not using it because I haven't figured out how to prevent MRNUMBERs from showing up in the output ...
by dl3fo3
Thu Jun 11, 2009 12:40 pm
Forum: BibTeX, biblatex and biber
Topic: Is the percent sign (%) really for comments in BiBTeX
Replies: 0
Views: 6091

Is the percent sign (%) really for comments in BiBTeX

According to BiBTeX comment, one writes comments by using @Comment command or writing a comment outside an entry, it never mentions the percent sign %.

I always thought every line starting with % is a comment in BiBTeX. Is there some gotcha if one continues to use % for comments?
by dl3fo3
Wed May 06, 2009 3:03 pm
Forum: General
Topic: Why percent signs at the end of lines?
Replies: 1
Views: 4321

Why percent signs at the end of lines?

Some LaTeX codes I've seen have percent signs at the end of some lines. What does it do?

Here's an example in the KOMA-Script manual (look at the end of the second line).

Code: Select all

Code, edit and compile here:
\makeatletter
\renewcommand*{\rightmark}{%
\expandafter\@rightmark\botmark\@empty\@empty}
\makeatother
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
by dl3fo3
Sun May 03, 2009 6:11 pm
Forum: Text Formatting
Topic: large text for whole document (and specifying it in preamble
Replies: 2
Views: 3080

large text for whole document (and specifying it in preamble

What commands should I put in the preamble in order to get larger than normal size text?


Background:

\documentclass{article}
\begin{document}
\Large
blah blah blah
\end{document}

Putting \Large right after \begin{document} like above works. All texts in the document is large as I wanted.
But ...
by dl3fo3
Thu Apr 30, 2009 1:24 pm
Forum: Document Classes
Topic: document class for screen display: (small margin, big font)
Replies: 1
Views: 3517

document class for screen display: (small margin, big font)

Is there a reliable document class suited for viewing your drafts on screen display as opposed to printing it on physical papers? I think a document class with small margins or no margins and big fonts would be good for screen reading.


Background:

I'm doing the following cycle when I am writing ...
by dl3fo3
Fri Feb 27, 2009 7:57 am
Forum: TeX Live and MacTeX
Topic: where do i put my personal shared bib file in texlive?
Replies: 2
Views: 7671

where do i put my personal shared bib file in texlive?

I've learned that the structure of ~/texmf should be like other texmf trees.


$ locate '.bib'
...
/usr/share/texmf-texlive/bibtex/bib/minitoc/fminitoc.bib
/usr/share/texmf-texlive/bibtex/bib/minitoc/minitoc.bib
/usr/share/texmf-texlive/bibtex/bib/minitoc/mtc-add.bib
/usr/share/texmf-texlive/bibtex ...
by dl3fo3
Mon Jan 05, 2009 5:15 pm
Forum: TeX Live and MacTeX
Topic: where do i put my personal shared bib file in texlive?
Replies: 2
Views: 7671

where do i put my personal shared bib file in texlive?

I have a tex file called my-include.tex that need to be shared by a lot of my papers.
my-include.tex contains things like:

\newcommand{\abs}[1]{\left\vert #1 \right\vert}
\newcommand{\set}[1]{\left\{ #1 \right\}}

I put my-include.tex on the directory ~/texmf/tex/latex/ so that i can add ...