\acro{a-Si}[a-Si:H]{hydrogenated amorphous silicon}
If I put \acl{a-Si} at the beginning of a sentence, I get hydrogenated
amorphous silicon.
Is there any way to make latex capitalize something dynamically (ie. if
it is at the start of a sentence?)
--
David J. Grant
http://www.davidgrant.ca:81
I think natbib.sty might be the right place to start looking. natbib
defines \Cite (note the capital C) commands for the start of a
sentence, where "da Vinci stated that..." should become "Da Vinci
stated that...".
So see if you can copy the natbib method of capitalising the first
letter.
Not a full solution, only a hint,sorry.
Hope this helps,
Michiel
this is probably a sensible way forward.
>Not a full solution, only a hint,sorry.
here's another hint: don't try and automate it. if you look into
google groups, you'll find a long (and ultimately inconclusive)
discussion about "detecting the start of the sentence". my
recollection is that _every_ proposed method was shown to be fallible.
given that _you_ know where the starts of your sentences are, i would
suggest that you pursue the natbib style for solving the problem.
--
Robin (http://www.tex.ac.uk/faq) Fairbairns, Cambridge
In English yes, but in other languages it may not work because the
first character of a sentence is not always capitalised. For example
in Afrikaans (and I think Dutch) you find:
English: A big cat.
Afrikaans : 'n Groot kat.
Yes I know acronyms usualy do not contain A, AN, etc., but still a
total foolproof system would require input for both cases.
Danie Els : dnjels at sun dot ac dot za
Pieter Rautenbach
dnj...@netscape.net (Danie Els) wrote in message news:<86bdf4ac.04102...@posting.google.com>...
i asserted that it was probably not rational to seek a foolproof
system, and that the manual approach (use \cite or \Cite according to
context as _you_ know it) was likely the way to go.
no, i didn't know about this feature of afrikaans/dutch, but i don't
_think_ it invalidates my assertion.