Search found 1941 matches

by cgnieder
Mon Sep 11, 2017 7:38 pm
Forum: Math & Science
Topic: Derivatives in Beamer
Replies: 10
Views: 2299

Derivatives in Beamer

This seems to be the same problem as the here: fontspec/mathspec ruins my parentheses with beamer . The solution outlined there works here as well: % arara: xelatex \documentclass{beamer} \AtBeginDocument{% \DeclareSymbolFont{pureletters}{T1}{lmss}{\mddefault}{it}% } \begin{document} \begin{frame} \...
by cgnieder
Sat Jun 24, 2017 8:53 am
Forum: General
Topic: Difficulties with mdframed Topic is solved
Replies: 4
Views: 996

Difficulties with mdframed Topic is solved

Not an answer, just a remark: I used to use mdframed a lot but nowadays I exclusively use tcolorbox: it is more flexible, gives better results. IMHO it is worth the trouble to switch from one to the other.
by cgnieder
Tue Jun 20, 2017 11:22 am
Forum: General
Topic: Modify file names in a command definition Topic is solved
Replies: 3
Views: 849

Modify file names in a command definition Topic is solved

for example, if I pass in donorItems as a file stem and generate donorItems.tex and donorItems.jpg to use within the command. I believe what you want might be easily possible. However, I didn't really understand your aim. What Do you mean by “generate”? The files themselves should be generated thro...
by cgnieder
Thu Jun 08, 2017 2:37 pm
Forum: Text Formatting
Topic: indent between two paragraphs
Replies: 2
Views: 298

indent between two pargraph

\vspace should work:

  1. \documentclass{article}
  2. \usepackage{lipsum}
  3.  
  4. \begin{document}
  5.  
  6. \lipsum[1]
  7.  
  8. % no vertical space here
  9.  
  10. \lipsum[2]
  11.  
  12. \vspace{24pt}% 24pt of vertical space here
  13.  
  14. \lipsum[3]
  15.  
  16. \end{document}
by cgnieder
Tue May 30, 2017 3:11 pm
Forum: Text Formatting
Topic: How to change space between letters, for extended words (kerning) ? Topic is solved
Replies: 2
Views: 442

How to change space between letters, for extended words (kerning) ? Topic is solved

Package microtype (which is always a good addition to a LaTeX document because of its many micro-typographic improvements even with its standard settings) provides \textls for this. \RequirePackage[l2tabu,orthodox]{nag} \documentclass[10pt,letterpaper,nofootinbib,notitlepage,tightenlines]{revtex4-1}...
by cgnieder
Sun May 28, 2017 6:57 pm
Forum: General
Topic: What the Hell is happening with this small code ? Topic is solved
Replies: 13
Views: 1992

What the Hell is happening with this small code ? Topic is solved

Cham wrote:Well, there is NO \par command in both files !


But then why your first question in the first place? Or this is a new problem? Then please open a new thread with an appropriate Infominimal working example. Without the latter I won't be able to help…
by cgnieder
Sun May 28, 2017 6:51 pm
Forum: General
Topic: What the Hell is happening with this small code ? Topic is solved
Replies: 13
Views: 1992

What the Hell is happening with this small code ? Topic is solved

I'm using exactly the same preamble (document class and all) as another document. Both documents are using footnotes. Yet, one compiles fine, the other one gives a bad footnote ! And in both documents you're using a \par (or a blank line) in the footnote? If yes then I'm out of answers without yet ...
by cgnieder
Sun May 28, 2017 6:44 pm
Forum: General
Topic: What the Hell is happening with this small code ? Topic is solved
Replies: 13
Views: 1992

What the Hell is happening with this small code ? Topic is solved

No, there's something fishy in my document. I just changed the whole preamble (from another document which compiles correctly) Does it use the same document class? Does one or the other document redefine the \footnote command? Maybe some package you're loading in the one document and not the other?...
by cgnieder
Sun May 28, 2017 6:11 pm
Forum: General
Topic: What the Hell is happening with this small code ? Topic is solved
Replies: 13
Views: 1992

What the Hell is happening with this small code ? Topic is solved

I don't understand. What is the culprit here ? Like I said above: the culprit is that revtex4 's \@doendnote is a so-called short macro! I was using this kind of codes before without any troubles. This problem is new today ! Then you made an update which changed something. But actually I don't beli...
by cgnieder
Sun May 28, 2017 6:03 pm
Forum: General
Topic: What the Hell is happening with this small code ? Topic is solved
Replies: 13
Views: 1992

What the Hell is happening with this small code ? Topic is solved

TeX and thus LaTeX knows short macros and long macros. The difference is that the argument of short macros must not contain the token \par or a blank line, resp. % Plain TeX: \def\shortmacro#1{#1} \long\def\longmacro#1{#1} % LaTeX: \newcommand*\shortmacro[1]{#1} \newcommand\longmacro[1]{#1} Whenever...

Go to advanced search