SHARE
TWEET

Untitled

a guest Jun 25th, 2019 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass[a4paper]{book}
  2. usepackage[T1]{fontenc}
  3. usepackage[slovak]{babel}
  4. usepackage{textcase}
  5.  
  6. usepackage{titlesec}
  7.  
  8. usepackage{libertinus}
  9.  
  10. titleformat{chapter}[block]
  11.   {titlerule[1pt]addvspace{0pt}Largescshapebfseriescentering}
  12.   {thesectionenspace}
  13.   {0pt}
  14.   {}
  15.   [vspace{2pt}{titlerule[1pt]}]
  16. titlespacing{chapter}%
  17.    {0mm}% How much of titlerule line to remove from left
  18.    {8mm}% Before titlerule
  19.    {0mm}% After titlerule
  20.  
  21. DeclareTextFontCommand{ns}{% normal shape
  22.   fontsecondaryshape{ulc}selectfont
  23. }
  24.  
  25. begin{document}
  26.  
  27. letcleardoublepagerelax % just to make both titles go in the same page
  28.  
  29. chapter*{Veľkonočná nedeľa\ ns{alebo}\ Nedeľa Pánovho zmŕtvychvstania}
  30.  
  31. chapter*{Sobota\ ns{po Piatej pôstnej nedeli}}%
  32.  
  33. end{document}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top